/* ===================================
   FLOKA - Bold Asymmetric Design System
   =================================== */

:root {
    /* Deep Blue Harmonious Palette */
    --navy-dark: #0a0f1e;
    --navy-mid: #151d2e;
    --navy-light: #1e2a40;
    --cyan-bright: #00d9ff;
    --cyan-electric: #00b8d9;
    --purple-deep: #6366f1;
    --purple-light: #818cf8;
    --white: #ffffff;
    --gray-light: #cbd5e1;
    --gray-mid: #94a3b8;
    --gray-dark: #64748b;
    
    /* Gradients */
    --gradient-cyan: linear-gradient(135deg, #00d9ff 0%, #00b8d9 100%);
    --gradient-purple: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
    --gradient-diagonal: linear-gradient(165deg, var(--navy-dark) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-unit: 8px;
    --section-padding: 140px;
    --container-width: 1400px;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.4);
    --glow-cyan: 0 0 30px rgba(0, 217, 255, 0.4);
    --glow-purple: 0 0 30px rgba(129, 140, 248, 0.4);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--navy-dark);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===================================
   VERTICAL SIDE NAVIGATION
   =================================== */
.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 80px;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(0, 217, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    z-index: 1000;
}

.nav-brand a {
    width: 50px;
    height: 50px;
    background: var(--gradient-cyan);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--navy-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-brand a:hover {
    transform: scale(1.1);
    box-shadow: var(--glow-cyan);
}

.nav-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.nav-dot {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-dot .dot {
    width: 12px;
    height: 12px;
    background: var(--gray-dark);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-dot.active .dot {
    background: var(--cyan-bright);
    box-shadow: var(--glow-cyan);
    width: 16px;
    height: 16px;
}

.nav-dot:hover .dot {
    background: var(--cyan-electric);
    transform: scale(1.2);
}

.nav-label {
    position: absolute;
    left: 50px;
    background: var(--navy-light);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cyan-bright);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.nav-dot:hover .nav-label {
    opacity: 1;
    left: 60px;
}

.nav-social {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-social a {
    color: var(--gray-mid);
    transition: all 0.3s ease;
}

.nav-social a:hover {
    color: var(--cyan-bright);
    transform: translateY(-3px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    padding: 20px;
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.mobile-toggle {
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: var(--cyan-bright);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-overlay a {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-overlay a:hover {
    color: var(--cyan-bright);
    transform: translateX(10px);
}

/* ===================================
   HERO SECTION - Asymmetric Split
   =================================== */
.hero {
    min-height: 100vh;
    padding-left: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-diagonal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-diagonal);
    clip-path: polygon(0 0, 60% 0, 50% 100%, 0 100%);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

.hero-image-side {
    position: relative;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.image-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--cyan-bright);
    border-radius: 20px;
    z-index: 0;
}

.image-container img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.image-accent {
    position: absolute;
    background: var(--gradient-cyan);
    border-radius: 12px;
    z-index: 2;
}

.accent-1 {
    width: 120px;
    height: 120px;
    top: -40px;
    right: -40px;
    opacity: 0.3;
}

.accent-2 {
    width: 80px;
    height: 80px;
    bottom: -30px;
    left: -30px;
    opacity: 0.4;
}

.hero-content-side {
    padding-left: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cyan-bright);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 18px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.highlight-text {
    display: block;
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 19px;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
}

.metric {
    flex: 1;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--cyan-bright);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 13px;
    color: var(--gray-mid);
    font-weight: 500;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 217, 255, 0.2);
}

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

.btn-primary,
.btn-outline,
.btn-full {
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gradient-cyan);
    color: var(--navy-dark);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-cyan);
}

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

.btn-outline:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-4px);
}

.btn-large {
    padding: 22px 48px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
    background: var(--gradient-cyan);
    color: var(--navy-dark);
}

.btn-full:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-cyan);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--gray-mid);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--cyan-bright), transparent);
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* ===================================
   SECTION STYLING
   =================================== */
.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 60px;
}

.section-number {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--cyan-bright);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-subheading {
    font-size: 20px;
    color: var(--gray-light);
    line-height: 1.6;
    max-width: 700px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-cyan);
    margin-top: 24px;
}

/* ===================================
   ABOUT SECTION - Offset Layout
   =================================== */
.about-section {
    padding: var(--section-padding) 0;
    padding-left: 80px;
    background: var(--navy-mid);
}

.about-grid {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 80px;
}

.about-label-side {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.about-content-side {
    padding-left: 40px;
    border-left: 2px solid rgba(0, 217, 255, 0.1);
}

.lead-text {
    font-size: 28px;
    font-weight: 600;
    color: var(--cyan-bright);
    line-height: 1.5;
    margin-bottom: 32px;
}

.about-text p {
    font-size: 18px;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 60px 0;
}

.pillar-card {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.1);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.3);
    transform: translateY(-8px);
}

.pillar-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: rgba(0, 217, 255, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.pillar-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--cyan-bright);
}

.pillar-card p {
    font-size: 15px;
    color: var(--gray-mid);
    line-height: 1.6;
}

.inline-cta {
    display: inline-flex;
    align-items: center;
    color: var(--cyan-bright);
    font-weight: 600;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.inline-cta:hover {
    gap: 12px;
    text-shadow: var(--glow-cyan);
}

/* ===================================
   SKILLS SECTION - Flip Cards
   =================================== */
.skills-section {
    padding: var(--section-padding) 0;
    padding-left: 80px;
}

.skills-header {
    text-align: center;
    margin-bottom: 80px;
}

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

.skill-flip-card {
    perspective: 1000px;
    height: 280px;
}

.skill-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.skill-flip-card:hover .skill-card-inner {
    transform: rotateY(180deg);
}

.skill-card-front,
.skill-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.skill-card-front {
    background: var(--navy-light);
    border: 2px solid rgba(0, 217, 255, 0.1);
    justify-content: space-between;
}

.skill-card-back {
    background: var(--gradient-cyan);
    color: var(--navy-dark);
    transform: rotateY(180deg);
    justify-content: center;
}

.skill-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.skill-card-front h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.skill-card-front p {
    color: var(--gray-mid);
    font-size: 15px;
    margin-bottom: auto;
}

.flip-hint {
    font-size: 13px;
    color: var(--cyan-bright);
    font-weight: 600;
}

.skill-card-back h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
}

.skill-card-back p {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

/* ===================================
   WORK SECTION - Asymmetric Grid
   =================================== */
.work-section {
    padding: var(--section-padding) 0;
    padding-left: 80px;
    background: var(--navy-mid);
}

.work-header {
    text-align: center;
    margin-bottom: 80px;
}

.featured-case-study {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 60px;
    background: var(--navy-light);
    border-radius: 24px;
    padding: 60px;
    margin-bottom: 80px;
    border: 2px solid rgba(0, 217, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.featured-case-study::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-cyan);
}

.case-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cyan-bright);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.case-study-content h3 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.case-study-content p {
    font-size: 17px;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.case-impact {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

.impact-stat {
    flex: 1;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--cyan-bright);
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-mid);
}

.case-link {
    color: var(--cyan-bright);
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.case-link:hover {
    text-shadow: var(--glow-cyan);
}

.case-study-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(0, 217, 255, 0.05);
    border: 2px dashed rgba(0, 217, 255, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.placeholder-icon {
    font-size: 64px;
}

.visual-placeholder p {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--cyan-bright);
}

.threads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.thread-card {
    background: var(--navy-light);
    border: 2px solid rgba(0, 217, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.thread-card:hover {
    border-color: rgba(0, 217, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.thread-preview {
    width: 100%;
    height: 100px;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    gap: 12px;
    margin-bottom: 24px;
}

.thread-lines {
    height: 3px;
    background: rgba(0, 217, 255, 0.3);
    border-radius: 2px;
}

.thread-lines.short {
    width: 50%;
}

.thread-card h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.thread-card p {
    font-size: 15px;
    color: var(--gray-mid);
    line-height: 1.6;
    margin-bottom: 20px;
}

.thread-card a {
    color: var(--cyan-bright);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.thread-card a:hover {
    text-shadow: var(--glow-cyan);
}

/* ===================================
   EXPANSION TIMELINE
   =================================== */
.timeline-section {
    padding: var(--section-padding) 0;
    padding-left: 80px;
}

.timeline-header {
    text-align: center;
    margin-bottom: 80px;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.timeline-marker {
    width: 80px;
    height: 80px;
    background: var(--gradient-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--navy-dark);
    box-shadow: var(--glow-cyan);
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 17px;
    color: var(--gray-light);
    line-height: 1.7;
}

.timeline-connector {
    width: 3px;
    height: 60px;
    background: linear-gradient(to bottom, var(--cyan-bright), transparent);
    margin-left: 38px;
}

/* ===================================
   CTA BANNER
   =================================== */
.cta-banner {
    padding: 100px 0;
    padding-left: 80px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 22px;
    color: var(--gray-light);
    margin-bottom: 40px;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    padding: var(--section-padding) 0;
    padding-left: 80px;
    background: var(--navy-mid);
}

.contact-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 80px;
}

.contact-intro {
    font-size: 18px;
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 48px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.channel {
    display: flex;
    gap: 20px;
}

.channel-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-bright);
    flex-shrink: 0;
}

.channel-info h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.channel-info a {
    color: var(--cyan-bright);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.channel-info a:hover {
    text-shadow: var(--glow-cyan);
}

.contact-form-side {
    background: var(--navy-light);
    border: 2px solid rgba(0, 217, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-light);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 16px;
    background: rgba(0, 217, 255, 0.05);
    border: 2px solid rgba(0, 217, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--cyan-bright);
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 80px 0 40px;
    padding-left: 80px;
    background: var(--navy-dark);
    border-top: 2px solid rgba(0, 217, 255, 0.1);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 60px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-mid);
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--cyan-bright);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--gray-mid);
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--cyan-bright);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-dark);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--cyan-bright);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    text-shadow: var(--glow-cyan);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

    .hero-headline {
        font-size: 56px;
    }

    .section-heading {
        font-size: 44px;
    }

    .about-grid {
        grid-template-columns: 30% 70%;
    }

    .about-pillars {
        grid-template-columns: 1fr;
    }

    .featured-case-study {
        grid-template-columns: 1fr;
    }

    .threads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .side-nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

    .hero,
    .about-section,
    .skills-section,
    .work-section,
    .timeline-section,
    .cta-banner,
    .contact-section,
    .footer {
        padding-left: 0;
    }

    .section-container,
    .footer-container {
        padding: 0 24px;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-diagonal-bg {
        clip-path: none;
        opacity: 0.3;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 24px;
    }

    .hero-image-side {
        order: -1;
    }

    .image-container {
        max-width: 100%;
    }

    .hero-content-side {
        padding-left: 0;
        text-align: center;
    }

    .hero-headline {
        font-size: 40px
    }
    
    .hero-description {
        max-width: 100%;
        font-size: 17px;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 24px;
    }

    .metric-divider {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .scroll-indicator {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-label-side {
        position: static;
    }

    .about-content-side {
        padding-left: 0;
        border-left: none;
    }

    .lead-text {
        font-size: 22px;
    }

    .section-heading {
        font-size: 36px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-flip-card {
        height: auto;
        min-height: 280px;
    }

    .skill-flip-card:hover .skill-card-inner {
        transform: none;
    }

    .skill-card-back {
        position: static;
        transform: none;
        display: none;
    }

    .skill-flip-card:active .skill-card-front {
        display: none;
    }

    .skill-flip-card:active .skill-card-back {
        display: flex;
    }

    .flip-hint {
        display: none;
    }

    .threads-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 24px;
    }

    .timeline-marker {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .timeline-connector {
        margin-left: 28px;
    }

    .timeline-content h3 {
        font-size: 22px;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    .cta-content p {
        font-size: 18px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-links {
        gap: 48px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 32px;
    }

    .section-heading {
        font-size: 28px;
    }

    .hero-metrics .metric-value {
        font-size: 28px;
    }

    .btn-primary,
    .btn-outline {
        padding: 16px 28px;
        font-size: 15px;
    }

    .featured-case-study {
        padding: 32px;
    }

    .case-study-content h3 {
        font-size: 26px;
    }

    .case-impact {
        flex-direction: column;
        gap: 20px;
    }
}

/* ===================================
   ANIMATIONS & TRANSITIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Scroll-triggered animations will be handled by JavaScript */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading state */
body.loading {
    overflow: hidden;
}

body.loading::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-dark);
    z-index: 9999;
    animation: fadeOut 0.5s ease 0.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}