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

:root {
    /* Wiona Design Tokens */
    --primary: #E91A55;
    /* Official Winary/Wiona Red */
    --primary-dark: #BE3552;
    --primary-light: #EEAFB9;
    --bg-data: #FFFFFF;
    --text-primary: #000000;
    --text-secondary: #475569;
    --text-tertiary: #94A3B8;
    --accent: #D1D5DB;
    --radius-l: 24px;
    --radius-m: 16px;

    /* Fonts */
    --font-heading: "New York Medium", "New York", -apple-system-serif, "Source Serif 4", serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-data);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    background: transparent;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 28px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links .btn-secondary {
    color: var(--primary);
    font-weight: 600;
}

.lang-selector {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}

.lang-selector:hover {
    border-color: var(--primary-light);
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(233, 26, 85, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.hero-blur-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(233, 26, 85, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(80px);
    z-index: 0;
}

.hero h1 em {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: italic;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(233, 26, 85, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(233, 26, 85, 0.4);
    opacity: 1;
}

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

.blob-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233, 26, 85, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.iphone-mockup {
    width: 280px;
    height: 606px;
    background: #fff;
    border-radius: 48px;
    border: 8px solid #f2f2f2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.screen-content {
    background: linear-gradient(180deg, #FDF3F5 0%, #FFFFFF 100%);
    height: 100%;
    width: 100%;
}

/* Features */
.features {
    padding: 100px 0;
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 32px;
    border-radius: var(--radius-l);
    background: var(--bg-data);
    text-align: left;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    margin-bottom: 24px;
    display: flex;
    width: 64px;
    height: 64px;
    background: rgba(233, 26, 85, 0.08);
    /* Soft primary tint */
    border-radius: 20px;
    /* Squircle feel */
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover .icon-box {
    transform: scale(1.05);
    background: rgba(233, 26, 85, 0.12);
}

.icon-box svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.75px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
}


/* Story Section */
.story {
    padding: 120px 0;
    background: transparent;
    text-align: center;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story h2 {
    font-size: 48px;
    margin-bottom: 32px;
}

.story p {
    font-size: 22px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-style: italic;
}

/* Differentiator Section */
.differentiator {
    padding: 100px 0;
    background: transparent;
}

.diff-grid {
    display: flex;
    align-items: center;
    gap: 80px;
}

.diff-text {
    flex: 1;
}

.diff-image {
    flex: 1;
}

.diff-image img {
    width: 100%;
    border-radius: var(--radius-m);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.diff-text h2 {
    font-size: 42px;
    margin-bottom: 24px;
}

.diff-text p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Wine DNA Section */
.dna-how-it-works {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.dna-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.dna-item {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: white;
    border-radius: var(--radius-m);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.dna-item:hover {
    transform: translateY(-5px);
}

.dna-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--primary);
}

.dna-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.dna-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.dna-footer {
    text-align: center;
    margin-top: 60px;
}

.dna-footer p {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    font-style: italic;
    font-family: var(--font-heading);
}

/* App Showcase */
.showcase {
    padding: 100px 0;
    background: transparent;
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.screen-placeholder {
    aspect-ratio: 9 / 19;
    background: #f3f4f6;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-weight: 600;
    border: 1px solid #e5e7eb;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: transparent;
    border-top: 1px solid #f1f1f1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col h5 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-col p {
    color: var(--text-tertiary);
}

.footer-bottom {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 13px;
    padding-top: 40px;
    border-top: 1px solid #f5f5f5;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        margin: 0 auto 40px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .diff-grid {
        flex-direction: column;
        gap: 40px;
    }

    .story h2 {
        font-size: 32px;
    }

    .story p {
        font-size: 18px;
    }

    .differentiator {
        text-align: center;
    }

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

/* App Icon Preview */
.screen-content {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #FDF3F5 0%, #FFFFFF 100%);
}

.app-preview-icon {
    width: 60%;
    max-width: 150px;
    height: auto;
    border-radius: 22%;
    /* iOS App Icon shape approximation */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* App Screen Screenshots */
.app-screen {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.screen-item {
    text-align: center;
}

.screen-caption {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.app-screen:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Liquid Background */
.liquid-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-data);
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    animation: move 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    opacity: 0.12;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #FBBF24; /* Accent Gold */
    top: 20%;
    right: -50px;
    opacity: 0.08;
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-3 {
    width: 600px;
    height: 600px;
    background: var(--primary-dark);
    bottom: -100px;
    left: 20%;
    opacity: 0.05;
    animation-delay: -10s;
    animation-duration: 30s;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    to {
        transform: translate(150px, 100px) scale(1.2) rotate(30deg);
    }
}