@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@400;500;600&display=swap');

:root {
    --primary-color: #8A0F29; /* Bordeaux */
    --primary-hover: #6a0b1f;
    --text-color: #1a1a1a;
    --text-light: #555;
    --bg-color: #F7F5F0;     /* Whitish/Bordeaux-compliment */
    --white: #ffffff;
    --border-color: #E8E4DC;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header & Nav */
header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.nav-utils {
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 32px;
    padding-left: 24px;
    border-left: 1px solid var(--border-color);
}

.lang-switch span {
    color: var(--border-color);
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    transition: color 0.2s;
    padding: 4px;
}

.lang-btn.active {
    color: var(--primary-color);
}

.lang-btn:hover {
    color: var(--primary-color);
}

.nav-app-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-left: 24px;
    transition: opacity 0.2s;
}

.nav-app-link:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 80px);
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-color);
    margin-bottom: 24px;
}

.hero p {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(40px, 8vh, 80px) 0;
}

.section > .container {
    width: 100%;
}

.section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(25px, 3.6vw, 36px);
    margin-bottom: 40px;
    color: var(--text-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--white);
    padding: 16px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.feature-card i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-color);
}

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

/* Demo Section */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot {
    text-align: center;
}

.screenshot p {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
}

.screenshot-placeholder {
    background: #E8E4DC;
    border-radius: 12px;
    border: 1px dashed #B8B0A0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 500;
}

.demo-content {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    max-width: 600px;
    margin: 0 auto;
}

.video-container {
    width: 100%;
    aspect-ratio: 21 / 9;
    background: #E8E4DC;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-container span {
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
    text-align: center;
}

/* Team Section */
.advisor {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 32px;
    max-width: 500px;
    margin: 0 auto 32px auto;
}

.advisor h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 18px;
}

.advisor p {
    color: var(--text-color);
    font-size: 15px;
}

.advisor p em {
    display: inline-block;
    white-space: nowrap;
    font-size: clamp(12px, 3.5vw, 15px);
    margin-top: 6px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: center;
}

.team-member {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #E8E4DC;
    color: var(--text-light);
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.team-member h3 {
    margin-bottom: 4px;
    font-size: 18px;
    color: var(--text-color);
}

.team-member p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
}

.social-links a {
    color: var(--text-light);
    font-size: 20px;
    margin: 0 8px;
    transition: color 0.2s;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

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

    .nav-right {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 8px 16px rgba(0,0,0,0.05);
        gap: 24px;
        transform: translateY(-15px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 99;
    }

    .nav-right.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-utils {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .lang-switch {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 16px;
        width: 100%;
        justify-content: center;
    }

    .nav-app-link {
        margin-left: 0;
        font-size: 16px;
    }

    .hero {
        padding: 40px 0;
    }
}