:root {
    --bg-main: #fcfbf8;
    --bg-subtle: #f4efe6;
    --text-main: #111111;
    --text-muted: #555555;
    --primary: #1a1a1a;
    --primary-hover: #333333;
    --accent: #c98e4f;
    --accent-light: #f5eedf;
    --white: #ffffff;
    --border: #e8e3d8;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-8 { margin-top: 2rem; }
.bg-subtle { background-color: var(--bg-subtle); }
.highlight { color: var(--accent); }

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.badge-center { margin-left: auto; margin-right: auto; }

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-xl { padding: 1.25rem 2.5rem; font-size: 1.125rem; }

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background-color: var(--white);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: #111;
    color: #fff;
}

.btn-dark:hover {
    background-color: #000;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: rgba(252, 251, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-main);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    transform: translateY(-10px);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 10rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.avatars {
    display: flex;
}

.avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-main);
    margin-left: -10px;
}

.avatars img:first-child {
    margin-left: 0;
}

.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

/* Glassmorphism elements */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    position: absolute;
    z-index: 3;
}

.save-anywhere {
    right: -20px;
    top: 50px;
    width: 200px;
}

.save-anywhere h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.save-anywhere ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.save-anywhere li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.glass-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-light);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent);
    position: absolute;
    top: 10%;
    left: 0;
    z-index: 1;
    transform: rotate(-10deg);
    box-shadow: var(--shadow-md);
}

/* Features Ribbon */
.features-ribbon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 2rem;
}

.ribbon-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.ribbon-item i {
    font-size: 1.25rem;
    color: var(--primary);
}

/* General Section */
.section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-section.reverse .split-content {
    order: 2;
}

.split-section.reverse .split-visual {
    order: 1;
}

/* Organize Section visuals */
.mockup-container {
    position: relative;
    padding: 2rem;
}

.mockup-img {
    border-radius: var(--radius-lg);
    width: 100%;
}

.col-share-card {
    bottom: -20px;
    right: -20px;
    width: 300px;
}

.share-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.small-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.share-link-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-main);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    border: 1px solid var(--border);
}

/* How It Works Section */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 4rem;
    gap: 2rem;
}

.step-card {
    flex: 1;
    text-align: center;
}

.step-visual {
    height: 300px;
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
    position: relative;
}

.mockup-mini {
    width: 100%;
    height: 100%;
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.img-fit-top { object-fit: cover; object-position: top; }
.img-fit-center { object-fit: cover; object-position: center; }

.mini-app-header {
    padding: 1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.mini-input {
    margin: 2rem 1rem 1rem;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.mini-btn {
    margin: 0 1rem;
    padding: 0.75rem;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-arrow {
    display: flex;
    align-items: center;
    height: 300px;
    font-size: 2rem;
    color: var(--border);
}

/* Cross Platform Section */
.platform-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.platform i {
    font-size: 2rem;
    color: var(--primary);
}

.multi-device-mockup {
    position: relative;
    height: 400px;
}

.device-laptop {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 300px;
    background: #e0e0e0;
    border-radius: 12px 12px 0 0;
    padding: 10px;
}

.device-laptop .screen {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    padding: 1rem;
}

.wireframe-nav {
    height: 20px;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.wireframe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.wireframe-grid::before, .wireframe-grid::after, .wireframe-grid > div {
    content: '';
    height: 100px;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
}

.device-phone {
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 180px;
    height: 380px;
    background: #000;
    border-radius: 24px;
    padding: 8px;
}

.device-phone img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    padding-top: 4rem;
    padding-bottom: 8rem;
}

.cta-container {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-subtle) 100%);
    padding: 5rem 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.cta-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    font-weight: 500;
}

.cta-benefits span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-benefits i {
    color: var(--accent);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    filter: grayscale(100%);
}

.footer-links {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
    font-size: 1.25rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.float-delayed-1 {
    animation: float 6s ease-in-out 2s infinite;
}

.float-delayed-2 {
    animation: float 6s ease-in-out 4s infinite;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .split-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .split-section.reverse .split-content {
        order: 1;
    }
    
    .split-section.reverse .split-visual {
        order: 2;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .social-proof {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .section-text {
        margin-left: auto;
        margin-right: auto;
    }

    .platform-icons {
        justify-content: center;
    }

    .steps-grid {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
        height: auto;
        padding: 2rem 0;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .features-ribbon {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-benefits {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
