/* Updated: Complete UI/UX overhaul for a modern, culturally-infused "vibrant-tech" aesthetic. - 2025-01-28 */
        
:root {
    /* Official Theme Colors from theme.ts */
    --primary-color: #8b14fd; /* PALETTE.primary.violet */
    --primary-dark: #7512e0; /* PALETTE.primary.violetDark */
    --primary-light: #e9d5ff; /* PALETTE.primary.violetLight */
    --secondary-color: #6366f1; /* PALETTE.secondary.indigo */
    --success-color: #10b981; /* PALETTE.semantic.success */
    --error-color: #ef4444; /* PALETTE.semantic.error */
    --warning-color: #f59e0b; /* PALETTE.semantic.amberDark */

    /* Neutral palette */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --background: #ffffff;
    --surface: #f7f7f9;
    --border: #e5e7eb;
    
    --text-inverted: #ffffff;
    --dark-surface: #111827;
}

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

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}
.logo span { color: var(--primary-color); }
.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.3s ease;
    padding-bottom: 4px;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a:hover {
    color: var(--text-primary);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}
.lang-switcher button {
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.lang-switcher button:hover {
    background-color: var(--border);
}
.lang-switcher #current-lang-flag {
    font-size: 1.25rem;
}
.lang-switcher ul {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--background);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    list-style: none;
    overflow: hidden;
    padding: 0.5rem 0;
    display: none;
    min-width: 150px;
    z-index: 1001;
}
.lang-switcher ul.show {
    display: block;
}
.lang-switcher ul li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
}
.lang-switcher ul li a:hover {
    background-color: var(--surface);
}
.lang-switcher ul li .lang-flag {
    font-size: 1.25rem;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    background-color: var(--surface);
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 20px 20px;
}
.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--primary-color);
}
.rotating-word {
    display: inline-block;
    color: var(--primary-color) !important;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    font-weight: 800;
    min-width: fit-content;
    text-align: center;
    white-space: nowrap;
}

.rotating-word span {
    transition: opacity 0.3s ease;
    color: var(--primary-color) !important;
}

.rotating-word span.active {
    opacity: 1;
}

.rotating-word span:not(.active) {
    opacity: 0;
    display: none;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 1.5rem;
}
.hero p.slogan {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid var(--primary-color);
}
.btn.btn-dark {
    background-color: var(--dark-surface);
    border-color: var(--dark-surface);
}
.btn.btn-dark:hover {
    background-color: #000;
    border-color: #000;
}
.btn.btn-light {
    background-color: var(--background);
    color: var(--text-primary);
    border-color: var(--border);
}
.btn.btn-light:hover {
    border-color: var(--text-primary);
    background-color: var(--background);
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 20, 253, 0.25);
    background-color: var(--primary-dark);
}

/* Pain Points Section */
.pain-section { padding: 100px 0; }
.pain-section .section-header { text-align: center; margin-bottom: 4rem; }
.pain-section .section-header h2 { font-size: 2.5rem; letter-spacing: -0.01em; }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}
.card.old-way h3 { color: var(--error-color); }
.card.swap-way h3 { color: var(--success-color); }
.card ul { list-style: none; }
.card li { margin-bottom: 0.75rem; font-weight: 500; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 0.75rem; }
.card li i { color: inherit; margin-top: 5px; font-size: 0.8rem; }

/* Pillars */
.pillar-section { overflow: hidden; }
.pillar-section.dark { background-color: var(--dark-surface); color: var(--text-inverted); }
.pillar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.pillar-text-container {
    padding: 6rem 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.pillar-content.reversed .pillar-text-container {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.pillar-content.reversed .pillar-visual {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.pillar-text {
    max-width: 500px;
    width: 100%;
}

.pillar-tag {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.pillar-title { font-size: 3rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; }
.pillar-description { font-size: 1.1rem; margin-bottom: 2rem; color: var(--text-secondary); }
.feature-list { list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; font-size: 1.1rem; }
.feature-list strong { font-weight: 700; display: block; margin-bottom: 0.25rem; }
.feature-list i {
    color: var(--primary-color);
    margin-top: 6px;
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pillar-visual {
    height: 650px;
    min-height: 100%;
}
.pillar-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#for-you .pillar-visual img {
    object-position: right;
}

.pillar-section.dark .pillar-title,
.pillar-section.dark .pillar-description,
.pillar-section.dark .feature-list div { color: #e2e8f0; }
.pillar-section.dark .feature-list strong { color: var(--text-inverted); }
.pillar-section.dark .feature-list i { background-color: rgba(255,255,255,0.1); color: var(--warning-color); }
.pillar-section.dark .pillar-tag { background-color: var(--primary-color); color: var(--text-inverted); }

/* Vision Section */
.vision-section { padding: 100px 0; }
.vision-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.vision-section .section-header h2 {
    font-size: 2.5rem;
}
.vision-section .section-header p {
    max-width: 600px;
    margin: 1rem auto 0;
}

.step { display: flex; gap: 2rem; align-items: flex-start; margin-bottom: 3rem; }
.step:last-child { margin-bottom: 0; }
.step-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    border: 2px solid var(--primary-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.step-content p {
    color: var(--text-secondary);
}
.coming-soon-wrapper {
    margin-top: 0.75rem;
}
.coming-soon {
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--warning-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    display: inline-block;
    margin-left: 0;
}

/* Trust Section */
.trust-section { padding: 100px 0; background-color: var(--surface); }
.trust-section .section-header { text-align: center; margin-bottom: 5rem; }
.trust-section .section-header h2 { font-size: 2.5rem; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; text-align: center; }
.trust-item i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }
.trust-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; font-weight: 700; }
.trust-item p { color: var(--text-secondary); }

/* CTA Section */
.cta-section { padding: 100px 0; text-align: center; background-color: var(--dark-surface); }
.cta-section h2 { font-size: 2.5rem; font-weight: 700; max-width: 600px; margin: 0 auto 1.5rem; line-height: 1.2; color: white; }
.cta-section p { font-size: 1.2rem; color: #cbd5e1; max-width: 600px; margin: 0 auto 2.5rem; }

/* Footer */
.footer { background: #000; color: #a0aec0; padding: 5rem 0 3rem; }
.footer .logo {
    color: var(--text-inverted);
}
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-about p { line-height: 1.7; margin-bottom: 1rem; text-align: left; }
.footer-about p.slogan {
    font-weight: 600;
    color: var(--primary-light);
    margin-top: 1.5rem;
}
.footer-section h4 { font-size: 1rem; font-weight: 600; color: white; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-section a { color: #a0aec0; text-decoration: none; display: block; margin-bottom: 0.75rem; transition: color 0.3s ease; }
.footer-section a:hover { color: white; }
.footer-bottom { border-top: 1px solid #2d3748; margin-top: 3rem; padding-top: 2rem; text-align: center; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .pillar-content, .pillar-content.reversed { 
        grid-template-columns: 1fr; 
    }
    .pillar-visual {
        height: 400px;
        order: -1;
    }
    .pillar-content.reversed .pillar-visual {
        order: -1;
    }
    .pillar-text-container {
        padding: 4rem 2rem;
    }
}
@media (max-width: 768px) {
    .pain-grid, .footer-content { grid-template-columns: 1fr; }
    .footer-about, .footer-bottom { grid-column: 1 / -1; }
    .hero h1 { font-size: 2.8rem; }
    .pillar-title { font-size: 2.2rem; }
}

/* Legal Pages (Privacy, Terms) */
.legal-section {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.legal-header {
    margin-bottom: 3rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    gap: 0.75rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.legal-header .last-updated {
    color: var(--text-secondary);
    font-style: italic;
}

.legal-content {
    max-width: 800px;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legal-list {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: justify;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .legal-section {
        padding: 120px 0 60px;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.1rem;
    }
} 