:root {
    --bg-dark: #07090e;
    --bg-card: #11151f;
    --bg-card-hover: #181d2b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-primary: #0070f3;
    --accent-primary-hover: #0051a8;
    --accent-gradient: linear-gradient(135deg, #0070f3, #00c6ff);
    --border-color: rgba(255, 255, 255, 0.08);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 112, 243, 0.4);
}

.btn-primary:hover {
    background: var(--accent-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 112, 243, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.1));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 2rem 100px;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 112, 243, 0.1);
    color: #3399ff;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 112, 243, 0.2);
}

.hero-content p {
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.stat strong {
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-image {
    position: relative;
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0,112,243,0.2) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
}

.floating {
    animation: float 6s ease-in-out infinite;
    border-radius: 24px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

.floating-slow {
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Features */
.features {
    padding: 100px 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(0, 112, 243, 0.3);
}

.icon-box {
    width: 56px;
    height: 56px;
    background: rgba(0, 112, 243, 0.1);
    color: #3399ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    font-size: 1rem;
}

/* Showcase */
.showcase {
    padding: 100px 2rem;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.check-list svg {
    width: 24px;
    height: 24px;
    color: #00c6ff;
}

.showcase-images {
    position: relative;
}

.img-main {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

.img-sub {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 50%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 1px solid var(--border-color);
}

/* Gallery */
.gallery {
    padding: 100px 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-grid img {
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    z-index: 10;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* App Promo */
.app-promo {
    padding: 100px 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.app-promo-inner {
    background: linear-gradient(135deg, var(--bg-card) 0%, #0a101d 100%);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.app-text h2 {
    margin-bottom: 1.5rem;
}

.app-text p {
    margin-bottom: 2.5rem;
}

.store-buttons {
    display: flex;
    gap: 1rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: black;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.2s;
}

.store-btn svg {
    width: 24px;
    height: 24px;
}

.store-btn:hover {
    transform: translateY(-2px);
}

.app-image img {
    max-height: 500px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
}

/* Contact Section */
.contact {
    padding: 100px 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.contact-info {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255,255,255,0.08);
}

.form-success {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
}

.hidden {
    display: none;
}

/* Legal Pages */
.legal-container {
    padding: 160px 2rem 100px;
    max-width: 800px;
    margin: 0 auto;
    min-height: calc(100vh - 300px);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.legal-content p, .legal-content ul {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--text-main);
}

.legal-content a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.legal-content hr {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 2.5rem 0;
}

/* Footer */
footer {
    background: #040609;
    padding: 80px 2rem 40px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand img {
    height: 32px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.1));
}

.footer-brand p {
    font-size: 0.875rem;
    max-width: 300px;
}

.footer-coteki {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-coteki span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.coteki-logo {
    height: 24px !important;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.7) !important;
    transition: filter 0.3s ease;
    margin-bottom: 0 !important;
}

.coteki-logo:hover {
    filter: brightness(0) invert(1) opacity(1) !important;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero, .showcase, .app-promo-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero {
        padding-top: 120px;
    }

    .hero-buttons, .hero-stats, .store-buttons {
        justify-content: center;
    }

    .check-list {
        align-items: center;
    }

    .img-sub {
        position: relative;
        bottom: 0;
        right: 0;
        width: 80%;
        margin: -10% auto 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar.mobile-open {
        background: rgba(7, 9, 14, 0.98);
    }
    
    .navbar.mobile-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(7, 9, 14, 0.98);
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        align-items: center;
    }
    
    .navbar.mobile-open .nav-actions {
        display: flex;
        position: absolute;
        top: calc(100% + 220px);
        left: 0;
        right: 0;
        justify-content: center;
        padding: 1rem;
        z-index: 10;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
    
    .app-promo-inner {
        padding: 2rem;
    }
    
    .contact-container {
        padding: 2rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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