/* ===========================================
   FREYA LANDING PAGE
   Color: #85AE82 (sage green)
   =========================================== */

/* ===========================================
   CSS CUSTOM PROPERTIES
   =========================================== */
:root {
    /* Colors */
    --color-bg: #85AE82;
    --color-bg-light: #EEF4ED;
    --color-text: #FFFFFF;
    --color-text-dark: #1A1A1A;
    --color-text-muted: rgba(255, 255, 255, 0.85);
    --color-text-muted-dark: #555555;
    --color-cta-bg: #FFFFFF;
    --color-cta-text: #5A8A57;
    --color-divider: rgba(255, 255, 255, 0.2);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --nav-height: 72px;
    --container-max: 1200px;
    --container-padding: 64px;
}

/* ===========================================
   RESET & BASE
   =========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
}

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

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

::selection {
    background: rgba(255, 255, 255, 0.25);
    color: var(--color-text);
}

/* ===========================================
   NAVIGATION
   =========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: transparent;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    gap: 48px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text);
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-cta {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-cta-text);
    background: var(--color-cta-bg);
    padding: 12px 24px;
    border-radius: 100px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    min-height: 100vh;
    padding-top: var(--nav-height);
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

/* ===========================================
   HERO CONTENT (Left Column)
   =========================================== */
.hero-content {
    padding-right: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(56px, 6vw, 88px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--color-text);
    position: relative;
}

.title-leaf {
    display: inline-block;
    width: 45px;
    height: 32px;
    color: var(--color-text);
    opacity: 0.9;
    margin-left: 8px;
    vertical-align: middle;
    position: relative;
    top: -8px;
}

.hero-subtitle {
    margin-top: 24px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.55;
    color: var(--color-text-muted);
    max-width: 420px;
}

/* ===========================================
   STATS ROW
   =========================================== */
.hero-stats {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-divider);
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-body);
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 2px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-muted);
}

/* Rating with laurel wreaths */
.rating-laurel {
    display: inline-flex;
    align-items: center;
}

.rating-laurel svg {
    width: 16px;
    height: 22px;
    color: var(--color-text);
    opacity: 0.85;
}

.rating-laurel.left {
    margin-right: 4px;
}

.rating-laurel.right {
    margin-left: 4px;
}

/* ===========================================
   APP STORE BUTTON
   =========================================== */
.app-store-button {
    display: inline-block;
    margin-top: 32px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-button img {
    height: 52px;
    width: auto;
}

.app-store-button:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* ===========================================
   HERO IMAGE (Right Column)
   =========================================== */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot {
    max-width: 480px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.2));
}

/* ===========================================
   FEATURES SECTION
   =========================================== */
.features {
    background: var(--color-bg-light);
    padding: 120px 0;
}

.features-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.features-header {
    text-align: center;
    margin-bottom: 100px;
}

.features-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 16px;
}

.features-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text-muted-dark);
    max-width: 500px;
    margin: 0 auto;
}

/* Individual Feature Row */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature-image {
    display: flex;
    justify-content: center;
}

.feature-image img {
    max-width: 380px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-headline {
    font-family: var(--font-body);
    font-size: 32px;
    font-weight: 600;
    color: var(--color-text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.feature-description {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    color: var(--color-text-muted-dark);
    line-height: 1.65;
    max-width: 400px;
}

/* Alternating layout */
.feature-left .feature-image {
    order: 1;
}

.feature-left .feature-content {
    order: 2;
}

.feature-right .feature-content {
    order: 1;
    text-align: right;
    align-items: flex-end;
}

.feature-right .feature-image {
    order: 2;
}

/* ===========================================
   FINAL CTA SECTION
   =========================================== */
.final-cta {
    background: var(--color-bg);
    padding: 120px 0;
    text-align: center;
}

.final-cta-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.final-cta-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 400;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 16px;
}

.final-cta-subtitle {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.final-cta .app-store-button {
    margin-top: 0;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    background: var(--color-bg);
    padding: 40px 0;
    border-top: 1px solid var(--color-divider);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

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

.footer-copyright {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */
@media (max-width: 1200px) {
    :root {
        --container-padding: 48px;
    }

    .hero-stats {
        gap: 36px;
    }

    .stat-number {
        font-size: 36px;
    }

    .screenshot {
        max-width: 420px;
    }

    .feature {
        gap: 60px;
    }

    .feature-image img {
        max-width: 340px;
    }

    .feature-headline {
        font-size: 28px;
    }
}

@media (max-width: 1024px) {
    :root {
        --container-padding: 32px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .hero-content {
        padding-right: 0;
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .app-store-button {
        display: flex;
        justify-content: center;
    }

    .nav-links {
        position: static;
        transform: none;
    }

    .screenshot {
        max-width: 380px;
    }

    /* Features responsive */
    .features {
        padding: 80px 0;
    }

    .features-header {
        margin-bottom: 60px;
    }

    .feature {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
        text-align: center;
    }

    .feature-left .feature-image,
    .feature-right .feature-image {
        order: 1;
    }

    .feature-left .feature-content,
    .feature-right .feature-content {
        order: 2;
        text-align: center;
        align-items: center;
    }

    .feature-description {
        max-width: 500px;
    }

    .feature-image img {
        max-width: 320px;
    }

    /* Footer responsive */
    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
        --container-padding: 24px;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        padding: 10px 20px;
        font-size: 13px;
    }

    .logo {
        font-size: 22px;
    }

    .hero-title {
        font-size: 52px;
    }

    .title-leaf {
        width: 36px;
        height: 26px;
        top: -4px;
    }

    .hero-subtitle {
        font-size: 17px;
        margin-top: 20px;
    }

    .hero-stats {
        gap: 32px;
        margin-top: 36px;
        padding-top: 28px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 13px;
    }

    .rating-laurel svg {
        width: 14px;
        height: 18px;
    }

    .screenshot {
        max-width: 320px;
    }

    .app-store-button img {
        height: 46px;
    }

    /* Features responsive */
    .features {
        padding: 60px 0;
    }

    .features-title {
        font-size: 36px;
    }

    .features-subtitle {
        font-size: 16px;
    }

    .feature {
        margin-bottom: 60px;
    }

    .feature-headline {
        font-size: 24px;
    }

    .feature-description {
        font-size: 15px;
    }

    .feature-image img {
        max-width: 280px;
    }

    /* Final CTA */
    .final-cta {
        padding: 80px 0;
    }

    .final-cta-title {
        font-size: 32px;
    }

    .final-cta-subtitle {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding-top: 24px;
    }

    .hero-title {
        font-size: 44px;
    }

    .title-leaf {
        width: 30px;
        height: 22px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .screenshot {
        max-width: 280px;
    }

    .feature-image img {
        max-width: 260px;
    }

    .feature-headline {
        font-size: 22px;
    }
}

/* ===========================================
   ANIMATIONS
   =========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeIn 0.7s ease-out forwards;
}

.hero-image {
    animation: fadeIn 0.7s ease-out 0.15s forwards;
    opacity: 0;
}

/* ===========================================
   SOCIAL PROOF SECTION
   =========================================== */
.social-proof {
    background: var(--color-bg-light);
    padding: 80px 0;
    overflow: hidden;
}

/* Press Logos */
.press-section {
    text-align: center;
    margin-bottom: 80px;
}

.press-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 32px;
}

.logos-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logos-wrapper::before,
.logos-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.logos-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-light), transparent);
}

.logos-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-light), transparent);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}

/* Text-based press logos */
.press-logo {
    font-size: 28px;
    font-weight: 400;
    color: var(--color-text-dark);
    opacity: 0.5;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.press-logo:hover {
    opacity: 0.7;
}

/* Individual logo styling to match brand typography */
.press-logo-vogue {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.press-logo-cosmo {
    font-family: var(--font-body);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.press-logo-wh {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.press-logo-elle {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.press-logo-allure {
    font-family: var(--font-body);
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: lowercase;
}

.press-logo-glamour {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.press-logo-cnn {
    font-family: 'Arial Black', var(--font-body);
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.press-logo-healthline {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: lowercase;
}

.press-logo-fox {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.press-logo-huffpost {
    font-family: var(--font-body);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.press-logo-lamag {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.02em;
}

.press-logo-forbes {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.press-logo-nymag {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%));
    }
}

/* Reviews Section */
.reviews-section {
    text-align: center;
}

.reviews-header {
    margin-bottom: 48px;
}

.reviews-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 400;
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 12px;
}

.reviews-subtitle {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    color: var(--color-text-muted-dark);
}

.reviews-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.reviews-wrapper::before,
.reviews-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.reviews-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-light), transparent);
}

.reviews-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-light), transparent);
}

.reviews-track {
    display: flex;
    gap: 24px;
    animation: scroll-reviews 40s linear infinite;
    width: max-content;
    padding: 20px 0;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-reviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%));
    }
}

/* Review Card */
.review-card {
    flex-shrink: 0;
    width: 340px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.review-stars {
    font-size: 18px;
    color: #FFB800;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-quote {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.review-age {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-muted-dark);
}

/* Social Proof Responsive */
@media (max-width: 1024px) {
    .social-proof {
        padding: 60px 0;
    }

    .press-section {
        margin-bottom: 60px;
    }

    .logos-track {
        gap: 60px;
    }

    .reviews-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .social-proof {
        padding: 48px 0;
    }

    .press-section {
        margin-bottom: 48px;
    }

    .logos-track {
        gap: 48px;
    }

    .press-logo {
        font-size: 20px;
    }

    .press-logo-vogue,
    .press-logo-elle {
        font-size: 24px;
    }

    .press-logo-cosmo,
    .press-logo-allure {
        font-size: 20px;
    }

    .press-logo-wh,
    .press-logo-glamour,
    .press-logo-fox,
    .press-logo-nymag {
        font-size: 18px;
    }

    .press-logo-cnn {
        font-size: 24px;
    }

    .press-logo-healthline,
    .press-logo-huffpost,
    .press-logo-lamag,
    .press-logo-forbes {
        font-size: 20px;
    }

    .review-card {
        width: 300px;
        padding: 24px;
    }

    .reviews-title {
        font-size: 28px;
    }

    .reviews-subtitle {
        font-size: 15px;
    }

    .logos-wrapper::before,
    .logos-wrapper::after,
    .reviews-wrapper::before,
    .reviews-wrapper::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .review-card {
        width: 280px;
        padding: 20px;
    }

    .review-quote {
        font-size: 14px;
    }

    .review-avatar {
        width: 40px;
        height: 40px;
    }
}
