/* Variables */
:root {
    --bg-primary: #111214;
    --bg-secondary: #2A2B2E;
    --accent: #3FD2C7;
    --accent-secondary: #5C6C7A;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --radius: 20px;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(63, 210, 199, 0.2);
    padding: 1rem 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

/* Header */
.header-main {
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    opacity: 0.5;
    z-index: -1;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border-radius: 8px;
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-primary);
    border-radius: 4px;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--accent);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

/* Mobile Menu */
.nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
    padding: 0.75rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(63, 210, 199, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    padding: 0.75rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(63, 210, 199, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-image {
    animation: fadeInRight 1s ease 0.3s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.flow-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(90deg, transparent 24%, rgba(63, 210, 199, 0.05) 25%, rgba(63, 210, 199, 0.05) 26%, transparent 27%, transparent 74%, rgba(63, 210, 199, 0.05) 75%, rgba(63, 210, 199, 0.05) 76%, transparent 77%),
        linear-gradient(0deg, transparent 24%, rgba(63, 210, 199, 0.05) 25%, rgba(63, 210, 199, 0.05) 26%, transparent 27%, transparent 74%, rgba(63, 210, 199, 0.05) 75%, rgba(63, 210, 199, 0.05) 76%, transparent 77%);
    background-size: 80px 80px;
    z-index: -1;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Sections */
.section-dark {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.section-light {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.section-disclaimer {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
}

/* Cards */
.card-dark {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(63, 210, 199, 0.2);
}

.card-disclaimer {
    background: rgba(42, 43, 46, 0.8);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 2.5rem;
}

/* Icons */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(63, 210, 199, 0.2);
    margin-bottom: 1.5rem;
    position: relative;
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid var(--accent);
    border-radius: 50%;
}

/* Slider */
.slider-container {
    position: relative;
}

.slider-track {
    gap: 1.5rem;
    padding: 0 1rem;
}

.slider-item {
    width: 100%;
    min-width: 300px;
}

@media (min-width: 768px) {
    .slider-item {
        width: calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .slider-item {
        width: calc(33.333% - 1rem);
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--text-primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: -24px;
}

.slider-btn-next {
    right: -24px;
}

@media (max-width: 768px) {
    .slider-btn {
        width: 36px;
        height: 36px;
    }
    
    .slider-btn-prev {
        left: 0;
    }
    
    .slider-btn-next {
        right: 0;
    }
}

/* Form */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(63, 210, 199, 0.1);
}

.form-input::placeholder {
    color: var(--text-secondary);
}

/* Footer */
.footer-main {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-icon-small {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border-radius: 6px;
    position: relative;
}

.logo-icon-small::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid var(--text-primary);
    border-radius: 3px;
}

/* Utility Classes */
.text-secondary {
    color: var(--text-secondary);
}

/* Responsive Typography */
@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
