:root {
    --cream: #f4f1ea;
    --cream-dark: #e8e4da;
    --charcoal: #1a1915;
    --charcoal-light: #2d2926;
    --gray: #6b6862;
    --gray-light: #9a9690;
    --accent-blue: #0066ff;
    --accent-green: #00c48c;
    --white: #ffffff;
    --shadow: rgba(26, 25, 21, 0.08);
    --shadow-heavy: rgba(26, 25, 21, 0.15);

    --font-serif: 'Crimson Pro', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(244, 241, 234, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 25, 21, 0.06);
    animation: navSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background: var(--charcoal);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px var(--shadow-heavy);
}

/* Hero Section */
.hero {
    padding: 10rem 2rem 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 600px;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 196, 140, 0.06) 0%, transparent 50%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    from {
        opacity: 0.5;
        transform: scale(1);
    }
    to {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: var(--white);
    color: var(--charcoal);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px var(--shadow);
    animation: badgeBounce 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

@keyframes badgeBounce {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
    70% {
        transform: translateY(5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.hero-title .line {
    display: block;
    animation: lineSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.5s; }
.hero-title .line:nth-child(2) { animation-delay: 0.65s; }
.hero-title .line:nth-child(3) { animation-delay: 0.8s; }

@keyframes lineSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 540px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s backwards;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--shadow-heavy);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: var(--white);
}

.hero-social-proof {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.1s backwards;
}

.social-proof-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.proof-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}

.proof-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Phone Device */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: phoneFloat 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

@keyframes phoneFloat {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.phone-device {
    width: 340px;
    height: 700px;
    background: var(--charcoal);
    border-radius: 55px;
    padding: 12px;
    box-shadow:
        0 40px 80px rgba(26, 25, 21, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    animation: phoneBreathe 4s ease-in-out infinite;
}

@keyframes phoneBreathe {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 30px;
    background: var(--charcoal);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 45px;
    overflow: hidden;
    position: relative;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 45px;
}

/* Floating Cards */
.phone-floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    box-shadow: 0 8px 24px rgba(26, 25, 21, 0.12);
    display: flex;
    gap: 0.8rem;
    align-items: center;
    opacity: 0;
    animation: cardFloat 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 1s;
}

.card-2 {
    top: 50%;
    right: -12%;
    animation-delay: 1.2s;
}

.card-3 {
    bottom: 15%;
    left: -15%;
    animation-delay: 1.4s;
}

@keyframes cardFloat {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.floating-icon {
    font-size: 1.5rem;
}

.floating-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--charcoal);
    white-space: nowrap;
}

.floating-desc {
    font-size: 0.8rem;
    color: var(--gray);
    white-space: nowrap;
}

/* Who Is It For Section */
.who-for {
    padding: 8rem 2rem;
    background: var(--cream);
}

.who-for-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.who-for-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.who-for-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(26, 25, 21, 0.12);
}

.who-for-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    line-height: 1.3;
}

.who-for-desc {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Features Section */
.features {
    padding: 8rem 2rem;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-badge {
    display: inline-block;
    background: var(--cream);
    color: var(--charcoal);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.7;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--cream);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(26, 25, 21, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--charcoal);
}

.feature-desc {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* App Showcase Section */
.app-showcase {
    padding: 8rem 2rem;
    background: var(--white);
}

.app-showcase-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.app-feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.app-feature-item.reverse {
    direction: rtl;
}

.app-feature-item.reverse > * {
    direction: ltr;
}

.app-feature-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-device-small {
    width: 280px;
    height: 580px;
    background: var(--charcoal);
    border-radius: 45px;
    padding: 10px;
    box-shadow:
        0 30px 60px rgba(26, 25, 21, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    transition: transform 0.3s ease;
}

.app-feature-item:hover .phone-device-small {
    transform: scale(1.05);
}

.phone-notch-small {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: var(--charcoal);
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen-small {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 37px;
    overflow: hidden;
    position: relative;
}

.phone-screenshot-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 37px;
}

.app-feature-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.app-feature-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--charcoal);
}

.app-feature-desc {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.8;
}

.app-feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.app-feature-list li {
    font-size: 1.05rem;
    color: var(--charcoal);
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.app-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Who We Help Section */
.who-help {
    padding: 8rem 2rem;
    background: var(--cream);
}

.who-help-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.who-help-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.who-help-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(26, 25, 21, 0.12);
}

.who-help-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.who-help-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--charcoal);
}

.who-help-desc {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    padding: 8rem 2rem;
    background: var(--cream);
}

.steps {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1;
    letter-spacing: -0.03em;
    opacity: 0.2;
    min-width: 100px;
}

.step-content {
    flex: 1;
    padding-top: 0.5rem;
}

.step-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--charcoal);
}

.step-desc {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    padding: 8rem 2rem;
    background: var(--white);
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--cream);
    padding: 2.5rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(26, 25, 21, 0.12);
}

.testimonial-stars {
    color: #FFA500;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--charcoal);
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--charcoal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.author-name {
    font-weight: 700;
    color: var(--charcoal);
}

.author-business {
    font-size: 0.9rem;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    padding: 8rem 2rem;
    background: var(--charcoal);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 3rem;
}

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

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

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

.btn-large.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 48px rgba(255, 255, 255, 0.2);
}

.cta-note {
    font-size: 0.9rem;
    color: var(--gray-light);
}

/* Footer */
.footer {
    background: var(--charcoal-light);
    color: var(--gray-light);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.footer-tagline {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

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

    .phone-floating-card {
        display: none;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .who-for-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .who-help-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .app-feature-item,
    .app-feature-item.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        direction: ltr;
    }

    .app-feature-phone {
        order: 1;
    }

    .app-feature-text {
        order: 2;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .hero {
        padding: 8rem 1.5rem 4rem;
    }

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

    .section-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

    .phone-device {
        transform: scale(0.85);
    }

    .phone-device-small {
        transform: scale(0.85);
    }

    .app-showcase-content {
        gap: 5rem;
    }

    .app-feature-title {
        font-size: 2rem;
    }

    .features-grid,
    .testimonials-grid,
    .who-for-grid,
    .who-help-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        font-size: 3rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-social-proof {
        flex-direction: column;
        gap: 1.5rem;
    }
}
