/* ================================
   BOLD MODERN CREATIVE AGENCY DESIGN
   ================================ */

:root {
    /* Teal Gradient Color System */
    --teal-1: #0891b2;
    --teal-2: #06b6d4;
    --teal-3: #22d3ee;
    --teal-4: #67e8f9;
    --teal-dark: #0e7490;
    --purple-accent: #a78bfa;

    /* Dark Theme Colors */
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --dark-border: #334155;

    /* Light Colors */
    --white: #ffffff;
    --light-bg: #f8fafc;
    --light-gray: #e2e8f0;
    --text-light: #94a3b8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--teal-1) 0%, var(--teal-2) 50%, var(--teal-3) 100%);
    --gradient-glow: radial-gradient(circle at 30% 50%, rgba(8, 145, 178, 0.3), transparent 70%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Effects */
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.15);
    --blur: 24px;
}

/* ================================
   RESET & BASE
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-bg);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

/* ================================
   SCROLL PROGRESS INDICATOR
   ================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ================================
   BACKGROUND SHAPES
   ================================ */

.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg,
            #f0f9ff 0%,
            #e0f2fe 25%,
            #f0f9ff 50%,
            #dbeafe 75%,
            #eff6ff 100%);
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, rgba(8, 145, 178, 0.1) 70%, transparent 100%);
}

.shape-2 {
    width: 800px;
    height: 800px;
    bottom: -300px;
    left: -200px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.25) 0%, rgba(14, 116, 144, 0.1) 60%, transparent 100%);
}

.shape-3 {
    width: 500px;
    height: 500px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(103, 232, 249, 0.2) 0%, rgba(6, 182, 212, 0.05) 70%, transparent 100%);
}

/* ================================
   HEADER
   ================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md) 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(var(--blur));
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.header-brand:hover {
    opacity: 0.85;
}

.brand-di {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-consulting {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--teal-dark);
    margin-top: -2px;
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--dark-bg);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--teal-1);
}

.nav-link:hover::after {
    width: 100%;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.05;
    }

    50% {
        opacity: 0.1;
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-2xl) 0;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--dark-surface);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text {
    font-size: 1.0625rem;
    color: var(--dark-surface);
    font-weight: 400;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.scroll-arrow {
    width: 20px;
    height: 30px;
    border: 2px solid var(--teal-2);
    border-radius: 15px;
    margin: 0.5rem auto 0;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--teal-2);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {

    0%,
    100% {
        top: 6px;
        opacity: 1;
    }

    50% {
        top: 18px;
        opacity: 0.3;
    }
}

/* ================================
   BUTTONS
   ================================ */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-bg);
    border: 2px solid var(--teal-2);
}

.btn-secondary:hover {
    background: var(--teal-2);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ================================
   SECTION HEADERS
   ================================ */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 400;
}

/* ================================
   GLASSMORPHISM CARDS
   ================================ */

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(var(--blur));
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow);
}

/* ================================
   SERVICES SECTION
   ================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    padding: var(--spacing-xl);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: var(--dark-surface);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--spacing-md);
}

.chip {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(8, 145, 178, 0.1);
    color: var(--teal-dark);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid rgba(8, 145, 178, 0.2);
}

.card-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover .card-glow {
    opacity: 1;
}

/* ================================
   WORK SECTION
   ================================ */

.section-dark {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.work-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.work-image {
    height: 200px;
    transition: transform 0.4s ease;
}

.work-card:hover .work-image {
    transform: scale(1.05);
}

.work-content {
    padding: var(--spacing-lg);
}

.work-meta {
    font-size: 0.875rem;
    color: var(--teal-2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.work-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.work-text {
    color: var(--dark-surface);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.work-publication {
    margin-top: var(--spacing-sm);
}

.work-publication a {
    color: var(--teal-2);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.work-publication a:hover {
    color: var(--teal-dark);
}

/* ================================
   METHODS SECTION
   ================================ */

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.method-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius);
    border-left: 4px solid var(--teal-2);
    transition: all 0.3s ease;
}

.method-card:hover {
    border-left-width: 8px;
    padding-left: calc(var(--spacing-xl) - 4px);
    box-shadow: var(--shadow);
}

.method-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--spacing-md);
}

.method-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.method-text {
    color: var(--dark-surface);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.method-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--spacing-sm);
}

/* ================================
   ABOUT + CONTACT SPLIT
   ================================ */

.section-split {
    background: var(--light-bg);
}

.split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
}

.about-title,
.contact-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.about-text {
    color: var(--dark-surface);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.contact-intro {
    color: var(--dark-surface);
    margin-bottom: var(--spacing-lg);
}

.contact-engagement {
    color: var(--dark-surface);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-size: 0.9375rem;
}

.contact-details {
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    margin-bottom: var(--spacing-md);
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.contact-link {
    color: var(--teal-1);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--teal-dark);
}

.contact-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-bg);
}

/* Contact Form Styles */
.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--dark-bg);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-2);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: var(--spacing-lg);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.footer-text {
    font-size: 0.875rem;
}

/* ================================
   FLOATING ACTION BUTTON
   ================================ */

.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 999;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.5);
}

/* ================================
   REVEAL ANIMATIONS
   ================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.reveal[data-delay="0"] {
    transition-delay: 0ms;
}

.reveal[data-delay="100"] {
    transition-delay: 100ms;
}

.reveal[data-delay="200"] {
    transition-delay: 200ms;
}

.reveal[data-delay="300"] {
    transition-delay: 300ms;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    .nav {
        gap: var(--spacing-md);
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: var(--spacing-2xl) 0;
    }

    .services-grid,
    .work-grid,
    .methods-grid {
        grid-template-columns: 1fr;
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .fab {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}