/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    /* Colors */
    --c-bg: #f8f9fc;
    --c-surface: #ffffff;
    --c-text-main: #111111;
    --c-text-muted: #5a5f69;
    --c-border: #eaedf4;
    
    /* Brand Colors */
    --c-cyan: #1be5d8;
    --c-purple: #7a15de;
    --c-pink: #ec0082;
    --c-yellow: #f8c919;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Spacing & Sizes */
    --container-max: 1200px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 100px;
    
    /* Shadows & Effects */
    --shadow-sm: 0 4px 12px rgba(17, 17, 17, 0.04);
    --shadow-md: 0 12px 32px rgba(17, 17, 17, 0.08);
    --shadow-hover: 0 20px 48px rgba(17, 17, 17, 0.12);
    --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--c-text-main);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 700; }

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

.gradient-text {
    background: linear-gradient(135deg, var(--c-purple), var(--c-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--c-text-main);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background-color: #000;
}

.btn-secondary {
    background-color: transparent;
    color: var(--c-text-main);
    border: 2px solid var(--c-border);
}

.btn-secondary:hover {
    border-color: var(--c-text-main);
    background-color: var(--c-surface);
}

.btn-white {
    background-color: #fff;
    color: var(--c-text-main);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    width: 100%;
}

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

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.logo {
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

@media (max-width: 576px) {
    .logo-img {
        height: 32px;
    }
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 1px;
    align-self: center;
    position: relative;
    top: 3px;
}

.dot.cyan { background-color: var(--c-cyan); }
.dot.purple { background-color: var(--c-purple); }
.dot.pink { background-color: var(--c-pink); }
.dot.yellow { background-color: var(--c-yellow); }

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

.nav-link {
    font-weight: 500;
    color: var(--c-text-muted);
}

.nav-link:hover {
    color: var(--c-text-main);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-text-main);
}

@media (max-width: 992px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--c-surface);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition-smooth);
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .mobile-toggle {
        display: block;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 10s infinite ease-in-out alternate;
}

.shape-cyan {
    width: 400px;
    height: 400px;
    background: var(--c-cyan);
    top: -100px;
    right: -50px;
}

.shape-pink {
    width: 300px;
    height: 300px;
    background: var(--c-pink);
    bottom: 10%;
    left: -100px;
    animation-delay: -2s;
}

.shape-purple {
    width: 500px;
    height: 500px;
    background: var(--c-purple);
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.1;
    animation-delay: -4s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--c-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-text-main);
    margin-bottom: 24px;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
    padding: 100px 0;
    background: var(--c-surface);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-header h2 {
    margin-bottom: 16px;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.7);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    background: var(--c-surface);
    border-color: rgba(122, 21, 222, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #fff;
    transition: var(--transition-smooth);
}

.service-icon.cyan { background: var(--c-cyan); }
.service-icon.pink { background: var(--c-pink); }
.service-icon.purple { background: var(--c-purple); }
.service-icon.yellow { background: var(--c-yellow); color: #111; }

.service-card h3 {
    margin-bottom: 16px;
}

.service-card p {
    font-size: 1rem;
    margin: 0;
}

/* ==========================================================================
   Banner Section
   ========================================================================== */
.banner {
    padding: 80px 0;
}

.banner-box {
    background: linear-gradient(135deg, #0a0a0b, #1a1a1c);
    border-radius: var(--radius-lg);
    padding: 80px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.3);
}

/* Glow effect inside banner */
.banner-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--c-purple);
    filter: blur(100px);
    opacity: 0.3;
    border-radius: 50%;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.banner-content h2 {
    color: #fff;
    margin-bottom: 16px;
}

.banner-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.banner-action {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .banner-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    padding: 100px 0;
    background: var(--c-surface);
}

.contact-card {
    background: var(--c-surface);
    padding: 80px 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--c-border);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h2 {
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.contact-info > p {
    margin-bottom: 64px;
    font-size: 1.25rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    text-align: left;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.info-icon {
    width: 64px;
    height: 64px;
    background: var(--c-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-purple);
    transition: var(--transition-smooth);
}

.info-item:hover .info-icon {
    transform: scale(1.1);
    background: white;
    box-shadow: var(--shadow-sm);
}

.info-label {
    display: block;
    font-size: 0.875rem;
    color: var(--c-text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.info-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--c-text-main);
}

.info-value[href]:hover {
    color: var(--c-purple);
}

.contact-form-wrapper {
    background: var(--c-surface);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--c-border);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    background: var(--c-bg);
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--c-purple);
    background: var(--c-surface);
    box-shadow: 0 0 0 4px rgba(122, 21, 222, 0.1);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--c-bg);
    padding: 40px 0;
    border-top: 1px solid var(--c-border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--c-text-muted);
}

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


/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: calc(100% - 48px);
    max-width: 600px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    visibility: visible;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-content p {
    font-size: 0.875rem;
    margin: 0;
    color: var(--c-text-main);
}

.cookie-content a {
    text-decoration: underline;
    color: var(--c-purple);
}

@media (max-width: 576px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}
