/* ═══════════════════════════════════════════════════════
   aboutcoffee landing page — style.css
   ═══════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────── */
:root {
    --coffee-darkest: #0d0600;
    --coffee-dark: #1a0d00;
    --coffee: #6f4e37;
    --coffee-medium: #8b5e3c;
    --caramel: #d4a05a;
    --caramel-light: #e8c080;
    --cream: #fdf8f0;
    --cream-mid: #f5eddf;
    --cream-dark: #ede0cc;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #6b6560;
    --text-light: rgba(255, 255, 255, 0.85);
    --text-dim: rgba(255, 255, 255, 0.5);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --radius-full: 9999px;

    --shadow-card: 0 4px 24px rgba(26, 13, 0, 0.08), 0 1px 4px rgba(26, 13, 0, 0.04);
    --shadow-lg: 0 20px 60px rgba(26, 13, 0, 0.15), 0 4px 16px rgba(26, 13, 0, 0.08);
    --shadow-phone: 0 60px 120px rgba(0, 0, 0, 0.6), 0 20px 40px rgba(0, 0, 0, 0.35);

    --nav-height: 64px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ── i18n Language Visibility ───────────────────────── */
html.lang-en [data-lang="el"],
html.lang-el [data-lang="en"] {
    display: none;
}

/* ── Container ──────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(13, 6, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: opacity var(--transition);
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo svg {
    color: var(--caramel);
    flex-shrink: 0;
}

/* Language toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: background var(--transition), border-color var(--transition);
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-opt {
    transition: color var(--transition), opacity var(--transition);
    opacity: 0.5;
}

.lang-opt.active {
    opacity: 1;
    color: var(--caramel-light);
}

.lang-sep {
    opacity: 0.3;
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--coffee-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.hero-glow--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #5a2e10 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.hero-glow--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3d1a05 0%, transparent 70%);
    bottom: 0;
    right: 100px;
}

.hero-beans {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    opacity: 0.6;
}

.hero-layout {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 48px;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
}

/* Text side */
.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 160, 90, 0.15);
    border: 1px solid rgba(212, 160, 90, 0.25);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    color: var(--caramel-light);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin-bottom: 28px;
}

.hero-badge svg {
    width: 6px;
    height: 6px;
    fill: var(--caramel);
}

.hero-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 480px;
}

/* Store buttons */
.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    color: var(--white);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    min-width: 155px;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.store-btn svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.store-btn-text small {
    font-size: 0.7rem;
    opacity: 0.6;
    font-weight: 400;
    line-height: 1;
}

.store-btn-text strong {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Phone mockup */
.hero-visual {
    flex-shrink: 0;
    position: relative;
    display: none;
}

@media (min-width: 900px) {
    .hero-visual {
        display: block;
    }
}

.phone-frame {
    width: 252px;
    height: 516px;
    border-radius: 42px;
    border: 6px solid rgba(255, 255, 255, 0.1);
    background: #110a05;
    box-shadow: var(--shadow-phone);
    position: relative;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #110a05;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

.phone-screen {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 36px 0 0;
    overflow: hidden;
}

.mock-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px 12px;
}

.mock-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--caramel-light);
}

.mock-avatar-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coffee), var(--caramel));
}

.mock-card {
    margin: 0 10px 10px;
    border-radius: 18px;
    overflow: hidden;
    background: #1e1108;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-photo {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.mock-photo-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3d1a05, #6f3a15, #c87941, #8b4d20);
}

.mock-photo-gradient--alt {
    background: linear-gradient(135deg, #1a2d1a, #2d4f2d, #4a7a3d, #6b9e55);
}

.mock-card-overlay {
    position: absolute;
    inset: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
}

.mock-stars {
    color: var(--caramel-light);
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.mock-stars--sm {
    font-size: 0.6rem;
}

.mock-drink-name {
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.2;
}

.mock-drink-name--sm {
    font-size: 0.72rem;
}

.mock-store {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
    margin-top: 2px;
}

.mock-card-overlay--mini {
    padding: 8px;
}

.mock-card-footer {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mock-user {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
}

.mock-user-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c87941, #e8a060);
}

.mock-time {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.62rem;
}

.mock-share-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--caramel);
    color: var(--coffee-dark);
    border-radius: var(--radius-full);
    padding: 5px 10px;
    font-size: 0.68rem;
    font-weight: 700;
}

.mock-card--mini .mock-photo {
    height: 70px;
}

.phone-glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: radial-gradient(ellipse, rgba(212, 160, 90, 0.3) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

/* Scroll hint */
.hero-scroll-hint {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding-bottom: 24px;
    color: rgba(255, 255, 255, 0.3);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* ═══════════════════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════════════════ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--coffee-dark);
    margin-bottom: 16px;
}

.section-title--light {
    color: var(--white);
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

.section-sub--light {
    color: var(--text-light);
}

/* ═══════════════════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════════════════ */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--cream-dark);
    transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon--amber {
    background: rgba(212, 160, 90, 0.15);
    color: #b87a20;
}

.feature-icon--rose {
    background: rgba(220, 100, 100, 0.1);
    color: #c0404a;
}

.feature-icon--teal {
    background: rgba(60, 160, 140, 0.12);
    color: #2a8070;
}

.feature-icon--indigo {
    background: rgba(100, 100, 220, 0.1);
    color: #4a50b8;
}

.feature-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--coffee-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   COMMUNITY
   ═══════════════════════════════════════════════════════ */
.community {
    padding: 100px 0;
    background: var(--coffee-dark);
    position: relative;
    overflow: hidden;
}

.community::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 100, 40, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.community-layout {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.community-text {
    flex: 1;
    min-width: 260px;
}

.community-text .section-title {
    margin-bottom: 20px;
}

.community-text .section-sub {
    margin: 0 0 36px;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.06);
}

.profile-badge--barista {
    border-color: rgba(212, 160, 90, 0.4);
    color: var(--caramel-light);
    background: rgba(212, 160, 90, 0.08);
}

.profile-badge--expert {
    border-color: rgba(100, 180, 220, 0.4);
    color: #a8d8f0;
    background: rgba(100, 180, 220, 0.08);
}

.profile-badge--creator {
    border-color: rgba(180, 100, 220, 0.4);
    color: #d8a8f0;
    background: rgba(180, 100, 220, 0.08);
}

.community-visual {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.community-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    text-align: center;
    min-width: 110px;
}

.community-stat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--caramel-light);
    line-height: 1;
    margin-bottom: 8px;
}

.community-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════
   BUSINESS
   ═══════════════════════════════════════════════════════ */
.business {
    padding: 100px 0;
    background: var(--cream);
}

.business-inner {
    max-width: 640px;
    text-align: center;
}

.business-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--coffee), var(--coffee-medium));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    color: var(--caramel-light);
    box-shadow: 0 8px 32px rgba(111, 78, 55, 0.3);
}

.business-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--coffee-dark);
    margin-bottom: 20px;
}

.business-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.business-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--coffee-dark);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.business-cta:hover {
    background: var(--coffee);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(26, 13, 0, 0.25);
}

.business-cta svg {
    transition: transform var(--transition);
}

.business-cta:hover svg {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
    background: var(--coffee-darkest);
    color: var(--text-dim);
    padding: 56px 0 40px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    color: var(--white) !important;
}

.footer-logo span {
    font-size: 1.05rem;
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.35);
    margin-left: 38px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
}

.lang-toggle--footer {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    padding: 5px 12px;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 60px;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .community-layout {
        flex-direction: column;
        gap: 48px;
    }

    .community-text .section-title,
    .community-text .section-sub {
        text-align: center;
    }

    .community-text {
        text-align: center;
    }

    .profile-badges {
        justify-content: center;
    }

    .community-visual {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .features {
        padding: 72px 0;
    }

    .community {
        padding: 72px 0;
    }

    .business {
        padding: 72px 0;
    }

    .footer {
        padding: 48px 0 32px;
    }

    .hero-heading {
        letter-spacing: -0.02em;
    }

    .hero-ctas {
        gap: 12px;
    }

    .store-btn {
        min-width: 0;
        flex: 1;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .features-grid {
        gap: 16px;
    }

    .feature-card {
        padding: 28px 22px;
    }

    .community-stat {
        padding: 22px 24px;
    }
}

/* ── Focus styles for accessibility ─────────────────── */
:focus-visible {
    outline: 2px solid var(--caramel);
    outline-offset: 3px;
    border-radius: 4px;
}