/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #ffffff;
    color: #111111;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography - Thin & Hyper-Modern */
h1, h2, h3, h4 {
    font-weight: 400;
    letter-spacing: -0.02em;
}

p {
    font-weight: 300;
}

/* Buttons & Links (No rounded corners) */
a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: 'Outfit', sans-serif;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 400;
    border-radius: 0;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
}

.btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: #ffffff;
}

/* Header & Hero - Dark Mode Only */
.dark-hero-container {
    position: relative;
    background-color: #050505;
    color: #ffffff;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-bottom: 1px solid #1a1a1a;
}

#torus-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.main-header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    cursor: pointer;
    text-transform: uppercase;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.nav-links-left a {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.nav-links-left a:hover {
    color: #ffffff;
}

.header-right .nav-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.header-right .nav-btn:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.header-right .nav-btn.accent {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.header-right .nav-btn.accent:hover {
    background-color: transparent;
    color: #ffffff;
}

/* Dropdown Language Selector */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropdown-trigger:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.lang-dropdown .flag-icon {
    width: 28px;
    height: 14px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.dropdown-trigger .arrow {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 2px;
    transition: transform 0.2s ease;
    display: inline-block;
}

.lang-dropdown.open .dropdown-trigger .arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background-color: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    min-width: 110px;
}

.lang-dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
}

.dropdown-content button {
    width: 100%;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
    transition: all 0.2s ease;
}

.dropdown-content button:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.dropdown-content button.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 2;
    flex: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 0 60px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    max-width: 680px;
}

.badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    background-color: rgba(255, 255, 255, 0.02);
}

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

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Light Sections (Features) */
.light-section {
    background-color: #ffffff;
    color: #111111;
    padding: 100px 60px;
    border-bottom: 1px solid #e5e5e5;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: #666666;
    margin-bottom: 60px;
    max-width: 600px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: #e5e5e5;
    border: 1px solid #e5e5e5;
}

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

.feature-card {
    background-color: #ffffff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    transition: background-color 0.2s ease;
}

.feature-card:hover {
    background-color: #fafafa;
}

.feature-num {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #999999;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: #666666;
    flex: 1;
}

.card-link {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    margin-top: 20px;
    transition: transform 0.2s ease;
    display: inline-block;
}

.card-link:hover {
    transform: translateX(4px);
}

/* How it Works Section */
.how-section {
    background-color: #fafafa;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .steps-grid {
        flex-direction: column;
        gap: 40px;
    }
    .step-divider {
        display: none;
    }
}

.step-card {
    flex: 1;
    padding: 0 30px;
}

.step-card:first-child {
    padding-left: 0;
}

.step-card:last-child {
    padding-right: 0;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #111111;
    font-size: 15px;
    font-weight: 400;
    color: #111111;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: #666666;
}

.step-divider {
    width: 1px;
    background-color: #e5e5e5;
    align-self: stretch;
    flex-shrink: 0;
}

/* Footer */
.main-footer {
    background-color: #ffffff;
    color: #111111;
    padding: 80px 60px 40px;
    border-top: 1px solid #e5e5e5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: #666666;
}

.footer-container h4 {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: #999999;
}

.footer-container a {
    display: block;
    font-size: 14px;
    font-weight: 300;
    color: #555555;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-container a:hover {
    color: #000000;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999999;
}

/* Cookie Consent Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    color: #111111;
    border-top: 1px solid #e5e5e5;
    z-index: 1000;
    padding: 30px 60px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.cookie-popup.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.cookie-header h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 8px;
}

.cookie-body p {
    font-size: 14px;
    color: #666666;
}

.cookie-footer {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    align-items: center;
}

.cookie-main-buttons {
    display: flex;
    gap: 16px;
}

.btn-cookie {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0;
    transition: all 0.2s ease;
}

.btn-cookie-primary {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.btn-cookie-primary:hover {
    background-color: #333333;
}

.btn-cookie-secondary {
    background-color: transparent;
    color: #666666;
    border: 1px solid #e5e5e5;
}

.btn-cookie-secondary:hover {
    color: #000000;
    border-color: #000000;
}

/* Cookie Preferences Panel */
.cookie-preferences {
    margin-top: 20px;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pref-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.pref-info {
    max-width: 80%;
}

.pref-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #111111;
}

.pref-desc {
    display: block;
    font-size: 12px;
    color: #888888;
    margin-top: 2px;
}

.pref-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #000000;
    cursor: pointer;
    border-radius: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 60px 40px;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cookie-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cookie-footer {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cookie-popup {
        padding: 20px;
    }
    
    .cookie-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .cookie-main-buttons {
        flex-direction: column;
        gap: 8px;
    }
}
