:root {
    --bg-dark: #ffffff;
    --bg-card: #f8f9fa;
    --bg-card-hover: #f1f3f5;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --accent-red: #ff3b30;
    --accent-blue: #0a84ff;
    --accent-gradient: linear-gradient(135deg, var(--accent-red), var(--accent-blue));
    --border-color: rgba(0, 0, 0, 0.08);
    --header-bg: #d46e60;
    --glass-bg: rgba(10, 10, 10, 0.7);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Tahoma', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.section { padding: 120px 0; }
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
}

/* Typography */
h1, h2, h3, h4 { font-weight: 700; }
p { color: var(--text-secondary); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Store Badges */
.store-link {
    display: inline-block;
    transition: var(--transition);
}

.store-link:hover {
    transform: translateY(-4px);
    filter: brightness(1.1);
}

.store-badge {
    height: 44px;
    width: auto;
    display: block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
    transition: var(--transition);
}

.glass-effect {
    background: var(--header-bg);
    border-bottom: none;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

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

.brand-text {
    font-family: 'Tahoma', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    text-transform: lowercase;
}

.nav-logo {
    height: 100px;
    width: auto;
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.lang-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-full);
    padding: 4px;
    border: 1px solid var(--border-color);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--text-primary);
    color: var(--bg-dark);
}

/* 1. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 160px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-gradient);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.floating-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.mockup-img {
    width: 100%;
    max-width: 320px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    border: 8px solid #f1f3f5;
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    filter: blur(60px);
    opacity: 0.3;
    z-index: 1;
}

/* Animation Utilities */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-delay { transition-delay: 0.2s; }
.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }

/* 2. How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--header-bg);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* 3. Core Differentiator */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.split-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.split-card.highlight {
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
    border-color: var(--header-bg);
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.glow-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    filter: blur(120px);
    opacity: 0.15;
    border-radius: 50%;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-wrapper.accent {
    background: rgba(10, 132, 255, 0.2);
    color: var(--accent-blue);
}

.split-title {
    font-size: 2rem;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.feature-list li i {
    color: var(--text-primary);
    width: 20px;
}

/* 4. Social Proof */
.social-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.social-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.social-card:hover {
    background: var(--bg-card-hover);
    transform: translateX(10px);
}

.card-header h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.badge {
    font-size: 0.85rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
}

.badge.accent {
    background: rgba(255, 59, 48, 0.2);
    color: var(--accent-red);
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-left: -12px;
    background: #e0e0e0;
    background-size: cover;
    background-position: center;
}

.avatar:nth-child(1) { background-image: url('https://i.pravatar.cc/100?img=1'); }
.avatar:nth-child(2) { background-image: url('https://i.pravatar.cc/100?img=2'); }
.avatar:nth-child(3) { background-image: url('https://i.pravatar.cc/100?img=3'); }
.avatar:nth-child(4) { background-image: url('https://i.pravatar.cc/100?img=4'); }

.avatar.more {
    background: var(--text-primary);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* 5. App Preview */
.carousel {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.carousel-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.preview-mockup {
    width: 280px;
    border-radius: 36px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    opacity: 0.6;
    transform: scale(0.9);
    transition: var(--transition);
    border: 6px solid #f1f3f5;
}

.preview-mockup.highlight-mockup {
    opacity: 1;
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

/* 6. Value Proposition */
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

.value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* 7. Final CTA */
.final-cta {
    background: linear-gradient(to top, rgba(10, 132, 255, 0.1), transparent);
}

.final-ctas {
    justify-content: center;
    margin-top: 40px;
}

/* 8. Footer */
.footer {
    background: var(--header-bg);
    padding: 60px 0;
    color: white;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .brand-text {
    font-size: 1.5rem;
    color: white;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-lang {
    display: flex;
    gap: 8px;
}

.footer-lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 0.9rem;
}

.footer-lang-btn.active {
    color: white;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 40px; }
    .hero-ctas { justify-content: center; }
    .hero-title { font-size: 3rem; }
    
    .steps-grid, .split-layout, .value-grid { grid-template-columns: 1fr; }
    
    .carousel-track { flex-direction: column; gap: 60px; }
    .preview-mockup { transform: scale(1) !important; opacity: 1; }
    .split-card.highlight { transform: scale(1); }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .section { padding: 80px 0; }
    .footer-content { flex-direction: column; gap: 24px; text-align: center; }
    .hero-ctas { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .nav-logo { height: 60px; }
    .brand-text { font-size: 1.8rem; }
    .navbar { padding: 10px 0; }
    .hero { padding-top: 120px; min-height: auto; }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 60px 40px 40px;
    position: relative;
    overflow-y: auto;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--bg-card-hover);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
}

.modal-close:hover {
    background: var(--header-bg);
    color: white;
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--header-bg);
    display: inline-block;
    padding-bottom: 8px;
}

.terms-body h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.terms-body p, .terms-body ul {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.terms-body ul {
    padding-left: 20px;
}

.terms-body li {
    margin-bottom: 8px;
}

/* Scrollbar for modal */
.modal-container::-webkit-scrollbar {
    width: 8px;
}

.modal-container::-webkit-scrollbar-track {
    background: transparent;
}

.modal-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .modal-container {
        padding: 50px 24px 30px;
    }
    .modal-title {
        font-size: 1.5rem;
    }
}

/* Document Page Styling */
.doc-page-container {
    max-width: 1100px;
    margin: 160px auto 80px;
    padding: 0 24px;
}

.doc-header {
    margin-bottom: 48px;
    text-align: center;
}

.doc-header h1 {
    font-size: 3rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.doc-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.doc-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
}

.doc-sidebar {
    position: sticky;
    top: 120px;
}

.doc-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

.doc-nav-item {
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.doc-nav-item:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.doc-nav-item.active {
    color: var(--text-primary);
    background: var(--bg-card-hover);
    border-left-color: var(--header-bg);
}

.doc-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.doc-section {
    scroll-margin-top: 140px;
}

.doc-section h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    border-bottom: 2px solid var(--header-bg);
    display: inline-block;
    padding-bottom: 6px;
}

.doc-separator {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 48px 0;
}

@media (max-width: 900px) {
    .doc-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .doc-sidebar {
        position: static;
    }
    .doc-nav {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    .doc-nav-item {
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    .doc-nav-item.active {
        border-bottom-color: var(--header-bg);
    }
}

@media (max-width: 768px) {
    .doc-page-container {
        margin-top: 110px;
    }
    .doc-header h1 {
        font-size: 2.2rem;
    }
    .doc-content {
        padding: 32px 20px;
    }
}

