/* ==========================================
   CDR - CREDENTIAL DEFENSE & RESPONSE
   TensorStax-Inspired Design System
   ========================================== */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* Colors */
    --primary: #ee502c;
    --black: #010101;
    --white: #f1f1f1;
    --gray: #999999;
    --card-bg: #0f0f0f;
    --border: #1a1a1a;

    /* Fonts */
    --font-main: 'Bitter', serif;
    --font-mono: 'Fragment Mono', monospace;

    /* Spacing */
    --wrapper-max: 1200px;
    --section-padding: 6rem 2rem;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: var(--black);
    border-left: 1px solid var(--border);
}

body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
    border: 2px solid var(--black);
}

body::-webkit-scrollbar-thumb:hover {
    background: #ff6b47;
    box-shadow: 0 0 10px rgba(238, 80, 44, 0.5);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--black);
}

/* ==========================================
   3D HOLOGRAM BACKGROUND
   ========================================== */
#lottie-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    /* Color filter to change blue to orange (#ee502c) */
    filter: hue-rotate(180deg) saturate(1.5) brightness(1.1);
    transition: opacity 1s ease;
}

#lottieScene {
    width: 100%;
    height: 100%;
}

/* SplitType character styling */
.char {
    display: inline-block;
    color: inherit;
}

/* ==========================================
   LOADING SCREEN
   ========================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#starfall-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    touch-action: none;
}

.loading-content {
    position: relative;
    z-index: 10001;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loading-logo {
    font-family: var(--font-mono);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.2em;
    text-shadow: 0 0 20px rgba(238, 80, 44, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(238, 80, 44, 0.5);
    }
    50% {
        opacity: 0.7;
        text-shadow: 0 0 40px rgba(238, 80, 44, 0.8);
    }
}

.loading-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 400px;
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), #ff8c5a);
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(238, 80, 44, 0.5);
}

.loading-percentage {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.1em;
}

.loading-text {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--white);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

@media (max-width: 768px) {
    .loading-logo {
        font-size: 2.5rem;
    }

    .loading-bar-container {
        width: 300px;
    }

    .loading-percentage {
        font-size: 2rem;
    }
}

/* ==========================================
   LAYOUT
   ========================================== */
.wrapper {
    max-width: var(--wrapper-max);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding);
    min-height: 100vh;
    position: relative;
    z-index: 10;
    isolation: isolate;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: transparent;
    box-shadow: 0 0 25px rgba(238, 80, 44, 0.4);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    transition: background 0.3s ease;
}

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

.logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 120px;
}

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

.hero-title {
    margin-bottom: 2rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.7;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ==========================================
   INTRODUCING SECTION (V2 LAYOUT)
   ========================================== */
.intro-section {
    background: transparent;
    padding: 4rem 2rem;
}

.bottom_part_h {
    width: 100%;
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.top_line {
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(238, 80, 44, 0.3) 50%,
        transparent 100%);
    width: 100%;
    margin-bottom: 3rem;
}

.flexbox_abs_bot {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    overflow: visible;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.left_bottom,
.right_bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.right_bottom {
    position: relative;
    align-items: stretch;
    padding-top: 0;
    overflow: visible;
    min-width: 0;
}

.introducing {
    margin-bottom: 2.5rem;
}

.title_intro {
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--primary);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.base_txt {
    opacity: 0.85;
    font-family: var(--font-mono);
    font-size: 0.95em;
    line-height: 1.8;
    color: var(--white);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

.scroll_down {
    margin-top: 3rem;
}

.scroll_txt {
    font-family: var(--font-mono);
    font-size: 0.75em;
    opacity: 0.5;
    margin-bottom: 1.5rem;
    text-align: left;
}

.list_integrations {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.li_part {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.li_part:hover {
    transform: translateX(5px);
}

.li_part:hover .green_dot {
    transform: scale(1.2);
    box-shadow: 0 0 12px var(--primary);
}

.green_dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(238, 80, 44, 0.5);
}

.li_txt {
    font-family: var(--font-mono);
    font-size: 0.9em;
    line-height: 1.6;
    opacity: 0.85;
    color: var(--white);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    flex: 1;
    max-width: 100%;
}

/* Info Box */
.intro_box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    text-align: left;
    overflow: hidden;
}

.intro_box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(238, 80, 44, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(238, 80, 44, 0.15);
}

.intro_box .introducing {
    margin-bottom: 0;
    max-width: 100%;
    width: 100%;
}

/* ==========================================
   INFINITE SVG LOGO MARQUEE WITH BLUR/FADE
   ========================================== */
.marquee_box {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 4rem;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
}

.marquee_group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4rem;
    min-width: 100%;
    animation: scroll-marquee 30s linear infinite;
}

.marquee_item {
    display: grid;
    place-items: center;
    width: 120px;
    padding: 1.5rem;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    filter: blur(0px);
    opacity: 0.6;
}

.marquee_item svg {
    width: 60px;
    height: 60px;
    fill: currentColor;
    color: var(--primary);
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 8px rgba(238, 80, 44, 0.3));
}

.marquee_item:hover {
    opacity: 1;
    border-color: rgba(238, 80, 44, 0.6);
    background: linear-gradient(
        135deg,
        rgba(238, 80, 44, 0.15),
        rgba(238, 80, 44, 0.08)
    );
    box-shadow: 0 8px 32px rgba(238, 80, 44, 0.4);
    transform: translateY(-5px) scale(1.05);
    filter: blur(0px);
}

.marquee_item:hover svg {
    color: var(--white);
    filter: drop-shadow(0 0 15px rgba(238, 80, 44, 0.8));
}

/* Pause animation on hover */
.marquee:hover .marquee_group {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 4rem));
    }
}

/* ==========================================
   TEAM ORGANIZATION SECTION
   ========================================== */
.team-section {
    background: transparent;
    padding: 6rem 2rem;
    min-height: 100vh;
}

.section-title {
    font-family: var(--font-main);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 4rem;
}

/* Grid Layout - TensorStax Style */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    width: 100%;
}

.team-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Team Member Header (Always Visible) */
.team-header {
    position: sticky;
    top: 120px;
    z-index: 100;
    /* Glassmorphism effect */
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.5)
    );
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(238, 80, 44, 0.3);
    border-top: 1px solid rgba(238, 80, 44, 0.4);
    border-left: 1px solid rgba(238, 80, 44, 0.4);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 8px 32px 0 rgba(238, 80, 44, 0.15),
        inset 0 1px 0 0 rgba(238, 80, 44, 0.2);
}

.team-header:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow:
        0 12px 40px 0 rgba(238, 80, 44, 0.25),
        inset 0 1px 0 0 rgba(238, 80, 44, 0.3);
}

.member-name {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.member-number {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--white);
    opacity: 0.5;
}

/* Details Cards (Revealed on Scroll) */
.team-details {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: -60px;
    padding-bottom: 100vh;
    z-index: 99;
}

.detail-card {
    /* Glassmorphism effect */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 2rem;
    padding-top: 5rem;
    min-height: 180px;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top center;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.detail-card.revealed {
    opacity: 1;
    transform: scaleY(1);
}

.detail-card:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.08)
    );
    border-color: rgba(238, 80, 44, 0.4);
    box-shadow:
        0 8px 32px 0 rgba(238, 80, 44, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    z-index: 2;
}

/* Staircase effect - slight offset for visual cascade */
.team-column:nth-child(2) .detail-card {
    transition-delay: 0.1s;
}

.team-column:nth-child(3) .detail-card {
    transition-delay: 0.2s;
}

.team-column:nth-child(4) .detail-card {
    transition-delay: 0.3s;
}

.team-column:nth-child(5) .detail-card {
    transition-delay: 0.4s;
}

.card-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.card-content {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--white);
    opacity: 0.85;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

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

    .section-title {
        font-size: 2rem;
    }
}

/* ==========================================
   PROBLEM SECTION - STICKY CARDS
   ========================================== */
.problem-section {
    background: transparent;
    padding: 6rem 2rem;
    min-height: 100vh;
}

/* Progress Numbers - Sticky at top */
.problem-progress {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
    position: sticky;
    top: 120px;
    z-index: 100;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.6)
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(238, 80, 44, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.problem-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.problem-number.active {
    opacity: 1;
    transform: scale(1.15);
}

.number-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.5);
    color: var(--primary);
}

.problem-number.active .number-circle {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 30px rgba(238, 80, 44, 0.6);
}

.number-caption {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    color: var(--primary);
}

/* Sticky Cards Container */
.problem-cards {
    display: flex;
    flex-direction: column;
    gap: 92px;
}

/* Each Sticky Card - Glassmorphism with optimized transparency */
.problem-sticky-card {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.4)
    );
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    position: sticky;
    top: 250px;
    padding: 4rem 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.4s ease;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.problem-sticky-card:nth-child(1) {
    border-color: rgba(238, 80, 44, 0.3);
}

.problem-sticky-card:nth-child(2) {
    border-color: rgba(238, 80, 44, 0.5);
}

.problem-sticky-card:nth-child(3) {
    border-color: rgba(238, 80, 44, 0.7);
}

.problem-sticky-card:nth-child(4) {
    border-color: rgba(238, 80, 44, 1);
    box-shadow: 0 0 40px rgba(238, 80, 44, 0.3);
}

.card-icon-large {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
    color: var(--primary);
}

.card-icon-large svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(238, 80, 44, 0.4));
}

.card-heading {
    font-family: var(--font-main);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-align: center;
}

.card-text {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 700px;
    text-align: center;
    line-height: 1.8;
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .problem-progress {
        gap: 1rem;
        padding: 1rem;
    }

    .number-circle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .number-caption {
        font-size: 0.65rem;
    }

    .problem-sticky-card {
        top: 200px;
        padding: 3rem 2rem;
    }

    .card-heading {
        font-size: 2rem;
    }

    .card-text {
        font-size: 1rem;
    }
}

/* ==========================================
   PROJECT VISION SECTION
   ========================================== */

.vision-section {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}

.vision-section .section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 6rem;
}

.vision-card {
    /* Glassmorphism effect */
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.4)
    );
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    will-change: transform, opacity;
}

.vision-card:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.5)
    );
    border-color: rgba(238, 80, 44, 0.4);
    box-shadow:
        0 12px 40px 0 rgba(238, 80, 44, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.vision-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px rgba(238, 80, 44, 0.4));
    transition: all 0.4s ease;
}

.vision-card:hover .vision-icon svg {
    filter: drop-shadow(0 0 25px rgba(238, 80, 44, 0.6));
    transform: scale(1.1);
}

.vision-heading {
    font-family: var(--font-main);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.vision-text {
    font-family: var(--font-mono);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--white);
    opacity: 0.85;
}

/* Remove staggered delays - handled by GSAP */

/* Responsive */
@media (max-width: 768px) {
    .vision-section {
        padding: 5rem 0;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vision-card {
        padding: 2.5rem 2rem;
    }

    .vision-heading {
        font-size: 1.5rem;
    }

    .vision-text {
        font-size: 0.95rem;
    }
}

/* ==========================================
   GLOWING DIVIDER LINE
   ========================================== */

.glow-divider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--primary) 50%,
        transparent 100%
    );
    position: relative;
    opacity: 0.3;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.glow-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-divider.glowing .glow-line {
    opacity: 1;
    box-shadow: 0 0 20px rgba(238, 80, 44, 0.6);
}

.glow-divider.glowing .glow-line::before {
    opacity: 0.8;
}

/* ==========================================
   PROJECT GALLERY GRID (WITHIN VISION SECTION)
   ========================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1000px;
    perspective-origin: center;
    position: relative;
}

/* Vertical Glowing Divider */
.vertical-glow-divider {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-glow-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        var(--primary) 50%,
        transparent 100%
    );
    position: relative;
    opacity: 0.3;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.vertical-glow-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vertical-glow-divider.glowing .vertical-glow-line {
    opacity: 1;
    box-shadow: 0 0 20px rgba(238, 80, 44, 0.6);
}

.vertical-glow-divider.glowing .vertical-glow-line::before {
    opacity: 0.8;
}

.gallery-box {
    /* Glassmorphism effect */
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.4)
    );
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 1s ease-out;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: scale(0.7) translateZ(-200px);
    transform-style: preserve-3d;
}

.gallery-box.revealed {
    opacity: 1;
    transform: scale(1) translateZ(0);
}

.gallery-box:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.5)
    );
    border-color: rgba(238, 80, 44, 0.4);
    box-shadow:
        0 12px 40px 0 rgba(238, 80, 44, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.gallery-top {
    margin-bottom: 1.5rem;
}

.gallery-title {
    font-family: var(--font-main);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.gallery-description {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--white);
    opacity: 0.75;
}

.gallery-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(238, 80, 44, 0.2);
    transition: all 0.4s ease;
    width: 100%;
    aspect-ratio: 16 / 10;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
}

.gallery-box:hover .gallery-image-wrapper {
    border-color: rgba(238, 80, 44, 0.6);
    box-shadow: 0 0 20px rgba(238, 80, 44, 0.3);
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-box:hover .gallery-image {
    transform: scale(1.05);
}

/* Staggered reveal animation */
.gallery-box:nth-child(1) {
    transition-delay: 0.1s;
}

.gallery-box:nth-child(2) {
    transition-delay: 0.2s;
}

.gallery-box:nth-child(3) {
    transition-delay: 0.3s;
}

.gallery-box:nth-child(4) {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 5rem 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-box {
        padding: 1.5rem;
    }

    .gallery-title {
        font-size: 1.25rem;
    }

    .gallery-description {
        font-size: 0.85rem;
    }
}

/* ==========================================
   SYSTEM ARCHITECTURE SECTION
   ========================================== */

.architecture-section {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}

.architecture-section .section-title {
    text-align: center;
    margin-bottom: 5rem;
}

/* Hero Diagram - Full Width */
.architecture-diagram-hero {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 5rem;
    opacity: 0;
    transform: scale(0.85);
    transition: all 1.2s ease-out;
}

.architecture-diagram-hero.revealed {
    opacity: 1;
    transform: scale(1);
}

.diagram-image-hero {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 3px solid rgba(238, 80, 44, 0.3);
    box-shadow: 0 0 60px rgba(238, 80, 44, 0.3);
    transition: all 0.5s ease;
}

.architecture-diagram-hero:hover .diagram-image-hero {
    border-color: rgba(238, 80, 44, 0.7);
    box-shadow: 0 0 80px rgba(238, 80, 44, 0.5);
    transform: scale(1.02);
}

/* Architecture Details Grid Below Diagram */
.architecture-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.arch-card {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.4)
    );
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.6s ease;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
}

.arch-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.arch-card:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.5)
    );
    border-color: rgba(238, 80, 44, 0.4);
    box-shadow:
        0 12px 40px 0 rgba(238, 80, 44, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
}

.arch-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.arch-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    flex-shrink: 0;
}

.arch-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(238, 80, 44, 0.4));
}

.arch-title {
    font-family: var(--font-main);
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

.arch-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.arch-list li {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.85;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.arch-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Tech Badges */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-badge {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    background: rgba(238, 80, 44, 0.1);
    border: 1px solid rgba(238, 80, 44, 0.3);
    border-radius: 20px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(238, 80, 44, 0.2);
    border-color: rgba(238, 80, 44, 0.6);
    box-shadow: 0 0 15px rgba(238, 80, 44, 0.3);
}

/* Microservices Container */
.arch-services-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.arch-service-item {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.9;
    padding: 0.5rem 0;
}

/* Horizontal Glowing Divider Between Services */
.arch-service-divider {
    width: 100%;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arch-service-divider-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--primary) 50%,
        transparent 100%
    );
    position: relative;
    opacity: 0.3;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.arch-service-divider-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arch-service-divider.glowing .arch-service-divider-line {
    opacity: 1;
    box-shadow: 0 0 20px rgba(238, 80, 44, 0.6);
}

.arch-service-divider.glowing .arch-service-divider-line::before {
    opacity: 0.8;
}

/* Technology Stack Container */
.arch-tech-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.arch-tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

/* Horizontal Glowing Divider Between Tech Rows */
.arch-tech-divider {
    width: 100%;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arch-tech-divider-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--primary) 50%,
        transparent 100%
    );
    position: relative;
    opacity: 0.3;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.arch-tech-divider-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arch-tech-divider.glowing .arch-tech-divider-line {
    opacity: 1;
    box-shadow: 0 0 20px rgba(238, 80, 44, 0.6);
}

.arch-tech-divider.glowing .arch-tech-divider-line::before {
    opacity: 0.8;
}

/* Client Applications Combined Card */
.arch-card-combined {
    grid-column: span 1;
}

.client-apps-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.client-app-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.client-app-icon {
    width: 50px;
    height: 50px;
    color: var(--primary);
    flex-shrink: 0;
}

.client-app-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(238, 80, 44, 0.4));
}

.client-app-details {
    flex: 1;
}

.client-app-title {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.client-app-tech {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.9;
    margin: 0 0 0.3rem 0;
}

.client-app-desc {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.7;
    line-height: 1.5;
    margin: 0;
}

/* Horizontal Glowing Divider Between Clients */
.client-apps-divider {
    width: 100%;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-apps-divider-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--primary) 50%,
        transparent 100%
    );
    position: relative;
    opacity: 0.3;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.client-apps-divider-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-apps-divider.glowing .client-apps-divider-line {
    opacity: 1;
    box-shadow: 0 0 20px rgba(238, 80, 44, 0.6);
}

.client-apps-divider.glowing .client-apps-divider-line::before {
    opacity: 0.8;
}

/* Staggered reveal animations for cards */
.architecture-details-grid .arch-card:nth-child(1) {
    transition-delay: 0.1s;
}

.architecture-details-grid .arch-card:nth-child(2) {
    transition-delay: 0.2s;
}

.architecture-details-grid .arch-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* ============================================
   DATA FLOW ARCHITECTURE SECTION
   ============================================ */
.dataflow-section {
    padding: 8rem 0;
    background: transparent;
    position: relative;
}

/* Data Flow Diagram Hero */
.dataflow-diagram-hero {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 5rem;
    opacity: 0;
    transform: scale(0.85);
    transition: all 1.2s ease-out;
}

.dataflow-diagram-hero.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Data Flow Details Vertical Layout */
.dataflow-details-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.dataflow-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(238, 80, 44, 0.2);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

.dataflow-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.dataflow-card:hover {
    border-color: rgba(238, 80, 44, 0.6);
    box-shadow: 0 0 15px rgba(238, 80, 44, 0.3);
}

.dataflow-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dataflow-step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #ff6b35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(238, 80, 44, 0.4);
}

.dataflow-title {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

.dataflow-content {
    padding-left: 1rem;
}

.dataflow-description {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
}

/* Data Flow Arrows */
.dataflow-arrow {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.dataflow-arrow.revealed {
    opacity: 1;
    transform: translateY(0);
}

.dataflow-arrow svg {
    width: 100%;
    height: 100%;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(238, 80, 44, 0.5));
    animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(5px);
        opacity: 1;
    }
}

/* Staggered reveal animations */
.dataflow-details-vertical > *:nth-child(1) {
    transition-delay: 0.1s;
}

.dataflow-details-vertical > *:nth-child(2) {
    transition-delay: 0.2s;
}

.dataflow-details-vertical > *:nth-child(3) {
    transition-delay: 0.3s;
}

.dataflow-details-vertical > *:nth-child(4) {
    transition-delay: 0.4s;
}

.dataflow-details-vertical > *:nth-child(5) {
    transition-delay: 0.5s;
}

.dataflow-details-vertical > *:nth-child(6) {
    transition-delay: 0.6s;
}

.dataflow-details-vertical > *:nth-child(7) {
    transition-delay: 0.7s;
}

/* ============================================
   SECURITY ARCHITECTURE SECTION
   ============================================ */
.security-section {
    padding: 8rem 0;
    background: transparent;
    position: relative;
}

/* Security Diagram Hero */
.security-diagram-hero {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 5rem;
    opacity: 0;
    transform: scale(0.85);
    transition: all 1.2s ease-out;
}

.security-diagram-hero.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Security Details Grid - Symmetrical 2x2 */
.security-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.security-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(238, 80, 44, 0.2);
    border-radius: 12px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

.security-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.security-card:hover {
    border-color: rgba(238, 80, 44, 0.6);
    box-shadow: 0 0 15px rgba(238, 80, 44, 0.3);
}

.security-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.security-icon {
    width: 50px;
    height: 50px;
    color: var(--primary);
    flex-shrink: 0;
}

.security-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(238, 80, 44, 0.4));
}

.security-title {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

/* Security Layer Container */
.security-layer-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.security-layer-item {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.9;
    padding: 0.5rem 0;
    line-height: 1.6;
}

/* Horizontal Glowing Divider Between Security Layers */
.security-layer-divider {
    width: 100%;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-layer-divider-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--primary) 50%,
        transparent 100%
    );
    position: relative;
    opacity: 0.3;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.security-layer-divider-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.security-layer-divider.glowing .security-layer-divider-line {
    opacity: 1;
    box-shadow: 0 0 20px rgba(238, 80, 44, 0.6);
}

.security-layer-divider.glowing .security-layer-divider-line::before {
    opacity: 0.8;
}

/* Staggered reveal animations */
.security-details-grid .security-card:nth-child(1) {
    transition-delay: 0.1s;
}

.security-details-grid .security-card:nth-child(2) {
    transition-delay: 0.2s;
}

.security-details-grid .security-card:nth-child(3) {
    transition-delay: 0.3s;
}

.security-details-grid .security-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* ============================================
   APPLICATION IN ACTION SECTION
   ============================================ */
.application-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

/* Application Gallery */
.application-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.app-screenshot {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(238, 80, 44, 0.2);
    border-radius: 12px;
    padding: 1rem;
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: all 0.8s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.app-screenshot.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.app-screenshot:hover {
    border-color: rgba(238, 80, 44, 0.6);
    box-shadow: 0 0 25px rgba(238, 80, 44, 0.4);
    transform: scale(1.02) translateY(-5px);
}

.app-screenshot-text {
    background: rgba(238, 80, 44, 0.1);
    border: 1px solid rgba(238, 80, 44, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.app-screenshot-text h3 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.app-screenshot-text p {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

.app-screenshot-text ul {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
    padding-left: 1.5rem;
}

.app-screenshot-text li {
    margin-bottom: 0.5rem;
}

.app-screenshot-text li:last-child {
    margin-bottom: 0;
}

.app-screenshot-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.app-screenshot:hover .app-screenshot-image {
    transform: scale(1.05);
}

/* Separate layout for title and image */
.app-screenshot.separate-layout {
    padding: 0;
    overflow: hidden;
}

.app-screenshot.separate-layout .app-screenshot-header {
    background: rgba(238, 80, 44, 0.1);
    border-bottom: 1px solid rgba(238, 80, 44, 0.3);
    padding: 1rem;
}

.app-screenshot.separate-layout .app-screenshot-header h3 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.app-screenshot.separate-layout .app-screenshot-header p {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

.app-screenshot.separate-layout .app-screenshot-image-wrapper {
    margin: 0;
    padding: 0;
    line-height: 0;
}

.app-screenshot.separate-layout .app-screenshot-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

/* Side by side images layout */
.side-by-side-images {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.side-by-side-images .app-screenshot-image-wrapper {
    flex: 1;
}

/* Centered card */
.app-screenshot.centered-card {
    margin: 0 auto;
    max-width: 1400px;
}

/* Centered single card */
.app-screenshot.centered-single-card {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Staggered reveal animations */
.application-gallery .app-screenshot:nth-child(1) {
    transition-delay: 0.1s;
}

.application-gallery .app-screenshot:nth-child(2) {
    transition-delay: 0.2s;
}

.application-gallery .app-screenshot:nth-child(3) {
    transition-delay: 0.3s;
}

.application-gallery .app-screenshot:nth-child(4) {
    transition-delay: 0.4s;
}

.application-gallery .app-screenshot:nth-child(5) {
    transition-delay: 0.5s;
}

.application-gallery .app-screenshot:nth-child(6) {
    transition-delay: 0.6s;
}

.application-gallery .app-screenshot:nth-child(7) {
    transition-delay: 0.7s;
}

.application-gallery .app-screenshot:nth-child(8) {
    transition-delay: 0.8s;
}

/* ==========================================
   08. CI/CD PIPELINE SECTION
   ========================================== */

.cicd-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.cicd-intro p {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.6;
}

/* CI/CD Diagram */
.cicd-diagram-container {
    margin: 3rem auto;
    max-width: 1200px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.cicd-diagram-container.reveal {
    opacity: 1;
    transform: translateY(0);
}

.cicd-diagram-wrapper {
    background: linear-gradient(
        135deg,
        rgba(238, 80, 44, 0.08) 0%,
        rgba(238, 80, 44, 0.03) 100%
    );
    border: 1px solid rgba(238, 80, 44, 0.25);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    box-shadow:
        0 8px 32px 0 rgba(238, 80, 44, 0.15),
        inset 0 1px 0 0 rgba(238, 80, 44, 0.2);
    transition: all 0.4s ease;
}

.cicd-diagram-wrapper:hover {
    border-color: rgba(238, 80, 44, 0.5);
    box-shadow:
        0 12px 40px 0 rgba(238, 80, 44, 0.25),
        inset 0 1px 0 0 rgba(238, 80, 44, 0.3);
    transform: translateY(-5px);
}

.cicd-diagram-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Pipeline Overview Section */
.pipeline-overview {
    margin: 3rem auto 4rem;
    max-width: 100%;
    overflow-x: auto;
    padding: 2rem 0;
}

.pipeline-overview h3 {
    font-family: var(--font-mono);
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* Horizontal Pipeline Flow */
.pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 1rem;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.pipeline-flow-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: linear-gradient(
        135deg,
        rgba(238, 80, 44, 0.1) 0%,
        rgba(238, 80, 44, 0.05) 100%
    );
    border: 2px solid rgba(238, 80, 44, 0.3);
    border-radius: 16px;
    flex: 1;
    min-width: 150px;
    max-width: 180px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
}

.pipeline-flow-stage.reveal {
    opacity: 1;
    transform: translateY(0);
}

.pipeline-flow-stage:hover {
    border-color: var(--primary);
    background: linear-gradient(
        135deg,
        rgba(238, 80, 44, 0.2) 0%,
        rgba(238, 80, 44, 0.1) 100%
    );
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(238, 80, 44, 0.3);
}

.flow-stage-icon {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}

.flow-stage-content {
    text-align: center;
}

.flow-stage-content h4 {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.flow-stage-content p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--white);
    opacity: 0.8;
    line-height: 1.4;
    margin: 0;
}

/* Pipeline Arrows */
.pipeline-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.pipeline-arrow.reveal {
    opacity: 0.7;
    transform: scale(1);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Staggered reveal animations */
.pipeline-flow-stage[data-stage="1"] {
    transition-delay: 0.1s;
}

.pipeline-flow-stage[data-stage="2"] {
    transition-delay: 0.3s;
}

.pipeline-flow-stage[data-stage="3"] {
    transition-delay: 0.5s;
}

.pipeline-flow-stage[data-stage="4"] {
    transition-delay: 0.7s;
}

.pipeline-flow-stage[data-stage="5"] {
    transition-delay: 0.9s;
}

/* CI/CD Content Wrapper - side by side layout */
.cicd-content-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 3rem;
}

/* Progress Numbers - Sticky on left side within section */
.flex_numbers {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: sticky;
    top: 200px;
    z-index: 100;
    padding: 1rem 0.5rem;
    flex-shrink: 0;
}

.flex_number {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.4;
    transition: all 0.4s ease;
}

.flex_number.active {
    opacity: 1;
    transform: scale(1.15);
}

.number_spec {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.4s ease;
    background: rgba(0, 0, 0, 0.5);
    color: var(--primary);
    font-family: var(--font-mono);
}

.flex_number.active .number_spec {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 25px rgba(238, 80, 44, 0.6);
}

.caption {
    font-size: 0.75rem;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    color: var(--primary);
    font-family: var(--font-mono);
    max-width: 80px;
}

/* Container for sticky cards */
.list_pipeline {
    display: flex;
    flex-direction: column;
    gap: 92px;
    flex: 1;
}

/* Each sticky card */
.sticky_card {
    background: linear-gradient(
        135deg,
        rgba(1, 1, 1, 0.98) 0%,
        rgba(10, 10, 10, 0.95) 100%
    );
    position: sticky;
    top: 150px;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(238, 80, 44, 0.2);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sticky_card_content {
    max-width: 800px;
    width: 100%;
}

.sticky_card h3 {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.sticky_card h4 {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
    opacity: 0.8;
    font-weight: 600;
}

.sticky_card p {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--white);
}

/* Different border intensities for visual distinction */
.sticky_card:nth-child(1) {
    border-color: rgba(238, 80, 44, 0.3);
}

.sticky_card:nth-child(2) {
    border-color: rgba(238, 80, 44, 0.4);
}

.sticky_card:nth-child(3) {
    border-color: rgba(238, 80, 44, 0.5);
}

.sticky_card:nth-child(4) {
    border-color: rgba(238, 80, 44, 0.7);
}

.sticky_card:nth-child(5) {
    border-color: rgba(238, 80, 44, 0.85);
}

.sticky_card:nth-child(6) {
    border-color: rgba(238, 80, 44, 1);
}

.cicd-image-placeholder {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(238, 80, 44, 0.3);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

.cicd-image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.sticky_card:hover .cicd-image-placeholder img {
    opacity: 1;
}

/* Pipeline Stages */
.pipeline-stages {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.pipeline-stage {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(238, 80, 44, 0.1);
    border: 1px solid rgba(238, 80, 44, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pipeline-stage:hover {
    background: rgba(238, 80, 44, 0.15);
    border-color: var(--primary);
    transform: translateX(5px);
}

.stage-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--black);
    border-radius: 50%;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.stage-name {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

/* Security Badges */
.security-badges {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.security-badge {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #22c55e;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
}

/* DockerHub Stats */
.dockerhub-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--white);
    opacity: 0.7;
}

/* Detailed Pipeline Stages */
.pipeline-stages-detailed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.pipeline-stage-detailed {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(238, 80, 44, 0.1);
    border: 1px solid rgba(238, 80, 44, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pipeline-stage-detailed:hover {
    background: rgba(238, 80, 44, 0.15);
    border-color: var(--primary);
    transform: translateX(10px);
}

.stage-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.stage-content h4 {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stage-content p {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--white);
    opacity: 0.85;
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .architecture-section {
        padding: 5rem 0;
    }

    .architecture-diagram-hero {
        margin-bottom: 3rem;
    }

    .architecture-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dataflow-section,
    .security-section {
        padding: 5rem 0;
    }

    .dataflow-diagram-hero,
    .security-diagram-hero {
        margin-bottom: 3rem;
    }

    .dataflow-details-vertical {
        max-width: 100%;
        gap: 1.5rem;
    }

    .dataflow-arrow {
        width: 50px;
        height: 50px;
    }

    .security-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .arch-card {
        padding: 1.5rem;
    }

    .application-section {
        padding: 5rem 0;
    }

    .application-gallery {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .app-screenshot {
        padding: 0.75rem;
    }


    .arch-title {
        font-size: 1.1rem;
    }

    .arch-list li {
        font-size: 0.85rem;
    }

    .tech-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .cicd-content-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .flex_numbers {
        gap: 1.5rem;
        padding: 1rem;
        position: relative;
        top: 0;
        flex-direction: row;
        justify-content: center;
    }

    .number_spec {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .caption {
        font-size: 0.6rem;
        max-width: 60px;
    }

    .sticky_card {
        top: 120px;
        padding: 2rem;
        min-height: 80vh;
    }

    .sticky_card h3 {
        font-size: 2rem;
    }

    .sticky_card p {
        font-size: 1rem;
    }

    .sticky_card h4 {
        font-size: 1.1rem;
    }

    .cicd-intro p {
        font-size: 1rem;
    }

    .dockerhub-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .pipeline-stage-detailed {
        padding: 1rem;
        gap: 1rem;
    }

    .stage-icon {
        font-size: 2rem;
    }

    .stage-content h4 {
        font-size: 1.1rem;
    }

    .stage-content p {
        font-size: 0.9rem;
    }

    .pipeline-flow {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .pipeline-flow-stage {
        min-width: 100%;
        max-width: 100%;
        padding: 1.5rem 1rem;
    }

    .flow-stage-icon {
        font-size: 2.5rem;
    }

    .flow-stage-content h4 {
        font-size: 1.1rem;
    }

    .flow-stage-content p {
        font-size: 0.8rem;
    }

    .pipeline-arrow {
        transform: rotate(90deg);
        font-size: 2rem;
    }

    .pipeline-overview h3 {
        font-size: 1.5rem;
    }

    .cicd-diagram-wrapper {
        padding: 1rem;
    }
}

/* ==========================================
   PASSWORD ROTATION SECTION
   ========================================== */
.password-rotation-section {
    padding: var(--section-padding);
    position: relative;
}

.password-rotation-section .container {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.rotation-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
    color: var(--gray);
}

/* 2x2 Grid Layout */
.rotation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 2200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Vertical Divider */
.rotation-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--primary) 10%,
        var(--primary) 90%,
        transparent
    );
    transform: translateX(-50%);
    opacity: 0.3;
    box-shadow: 0 0 10px rgba(238, 80, 44, 0.5);
}

/* Terminal-Style Phase Cards */
.rotation-phase-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    opacity: 0 !important;
    transform: translateY(50px) !important;
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: flex;
    flex-direction: column;
}

.rotation-phase-card.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Terminal Header */
.terminal-header {
    background: #1a1a1a;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.terminal-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.phase-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(238, 80, 44, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--primary);
}

.phase-name {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

/* Terminal Body */
.terminal-body {
    padding: 2rem;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.terminal-subtitle {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.terminal-desc {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* ==========================================
   PHASE 1: PROXY INFRASTRUCTURE
   ========================================== */
.proxy-network {
    margin: 2rem 0;
    background: #000;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.proxy-network img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

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

.proxy-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-row {
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.stat-value {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
}

.stat-value.stat-success {
    color: #00ff41;
}

.stat-percentage {
    color: var(--gray);
    font-size: 0.9rem;
}

.protocol-badge {
    background: var(--primary);
    color: var(--black);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ==========================================
   PHASE 2: LINK SCRAPING
   ========================================== */
.scraper-screenshot {
    margin: 1.5rem 0;
    background: #000;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scraper-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.scraping-progress {
    margin: 2rem 0;
}

.progress-bar-container {
    background: #1a1a1a;
    border-radius: 4px;
    height: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary), #ff7a59);
    height: 100%;
    width: 0%;
    transition: width 2s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    font-family: var(--font-mono);
}

.progress-percentage {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.progress-status {
    color: var(--gray);
    font-size: 0.9rem;
}

.feature-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.check-icon {
    color: #00ff41;
    font-size: 1.2rem;
    font-weight: 700;
}

.check-icon.retry {
    color: #ffd700;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.feature-text {
    color: var(--white);
    font-size: 0.95rem;
}

.retry-count,
.thread-count {
    color: var(--primary);
    font-weight: 700;
}

/* ==========================================
   PHASE 3: BOT DETECTION EVASION
   ========================================== */
.evasion-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.evasion-image {
    background: #000;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.evasion-image:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(238, 80, 44, 0.3);
}

.evasion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.security-radar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
    min-height: 250px;
}

#radarCanvas {
    max-width: 100%;
    height: auto;
}

.radar-status {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.status-label {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(238, 80, 44, 0.5);
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.detection-systems {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.system-badge {
    font-family: var(--font-mono);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid;
    text-transform: uppercase;
}

.system-badge.edr {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border-color: #ff4444;
}

.system-badge.datadome {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    border-color: #ffd700;
}

.system-badge.api {
    background: rgba(0, 255, 65, 0.1);
    color: #00ff41;
    border-color: #00ff41;
}

.bypass-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
}

.bypass-label {
    color: var(--gray);
    font-size: 1rem;
}

.bypass-badge {
    background: rgba(0, 255, 65, 0.1);
    color: #00ff41;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid #00ff41;
    font-weight: 700;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
    }
}

/* ==========================================
   PHASE 4: AUTOMATED RESET ACTIVATION
   ========================================== */
.rotation-indicator {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 2rem auto;
}

.rotation-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.rotation-track {
    fill: none;
    stroke: #1a1a1a;
    stroke-width: 10;
}

.rotation-progress {
    fill: none;
    stroke: var(--primary);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    transition: stroke-dashoffset 2s ease;
    filter: drop-shadow(0 0 10px rgba(238, 80, 44, 0.5));
}

.rotation-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.rotation-icon {
    font-size: 3rem;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotation-text {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.5rem;
}

.activation-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.method-badge {
    font-family: var(--font-mono);
    background: rgba(238, 80, 44, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.success-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.counter-label {
    color: var(--gray);
    font-size: 1rem;
}

.counter-value {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
}

/* ==========================================
   TECHNICAL IMPLEMENTATION
   ========================================== */
.technical-implementation {
    margin: 4rem 0 3rem 0;
}

.implementation-title {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2.5rem;
}

.implementation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 0 auto;
}

.implementation-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.impl-label {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}

.code-block {
    background: #000;
    padding: 1.5rem;
    overflow-x: auto;
    position: relative;
}

.code-block pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.code-block code {
    color: #00ff41;
    font-family: var(--font-mono);
}

/* Typing Cursor */
.typing-cursor {
    color: var(--primary);
    animation: blink 1s step-end infinite;
    transition: opacity 0.3s ease;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    50.1%, 100% {
        opacity: 0;
    }
}

/* Scanning Line */
.scan-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease, top 0.1s linear;
    z-index: 1;
    pointer-events: none;
}

.scan-line.scanning {
    opacity: 0.8;
    box-shadow: 0 0 10px var(--primary),
                0 0 20px var(--primary),
                0 0 30px rgba(238, 80, 44, 0.5);
}

/* ==========================================
   LEGAL WARNING
   ========================================== */
.legal-warning.terminal-warning {
    background: rgba(238, 80, 44, 0.05);
    border: 2px solid var(--primary);
    border-radius: 8px;
    margin: 3rem 0;
    overflow: hidden;
}

.terminal-header.warning-header {
    background: rgba(238, 80, 44, 0.1);
    border-bottom: 2px solid var(--primary);
}

.warning-icon {
    font-size: 1.2rem;
}

.warning-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.terminal-body.warning-body {
    padding: 2rem;
    color: var(--white);
}

.terminal-body.warning-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-list {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.legal-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.warning-emphasis {
    color: var(--primary) !important;
    font-weight: 700;
    margin-top: 1.5rem !important;
    padding: 1rem;
    background: rgba(238, 80, 44, 0.1);
    border-radius: 4px;
    border-left: 4px solid var(--primary);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .rotation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Hide vertical divider on single column layout */
    .rotation-grid::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .rotation-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .rotation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .implementation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .implementation-title {
        font-size: 1.5rem;
    }

    .code-block {
        padding: 1rem;
    }

    .code-block pre {
        font-size: 0.8rem;
    }

    .terminal-header {
        padding: 0.5rem 1rem;
    }

    .terminal-body {
        padding: 1.5rem;
    }

    .phase-name {
        font-size: 0.85rem;
    }

    .proxy-stats {
        grid-template-columns: 1fr;
    }

    .evasion-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #proxyCanvas {
        width: 100%;
        height: 200px;
    }

    #radarCanvas {
        width: 250px;
        height: 250px;
    }

    .rotation-indicator {
        width: 150px;
        height: 150px;
    }

    .rotation-icon {
        font-size: 2rem;
    }

    .counter-value {
        font-size: 1.5rem;
    }

    .detection-systems {
        flex-direction: column;
        align-items: stretch;
    }

    .activation-methods {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==========================================
   CLOUD INFRASTRUCTURE SECTION
   ========================================== */
.cloud-section {
    padding: var(--section-padding);
    position: relative;
}

.cloud-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
    color: var(--gray);
}

/* ==========================================
   NETWORK TOPOLOGY DIAGRAM
   ========================================== */
.network-topology {
    margin: 4rem 0;
}

.topology-title {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
}

.topology-canvas-wrapper {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

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

.topology-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.user {
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.legend-dot.digitalocean {
    background: #0080FF;
    box-shadow: 0 0 10px rgba(0, 128, 255, 0.5);
}

.legend-dot.hetzner {
    background: #D50C2D;
    box-shadow: 0 0 10px rgba(213, 12, 45, 0.5);
}

.legend-dot.active {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(238, 80, 44, 0.5);
}

.legend-label {
    color: var(--white);
}

/* ==========================================
   CLOUD PROVIDER CARDS
   ========================================== */
.cloud-providers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 4rem 0;
}

.provider-card {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    border-radius: 16px !important;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 50, 0.4), transparent);
    transition: left 0.5s ease;
}

.provider-card:hover::before {
    left: 100%;
}

.provider-card:hover {
    transform: translateY(-5px);
    border-color: rgba(238, 80, 44, 0.6) !important;
    box-shadow: 0 0 25px rgba(238, 80, 44, 0.4);
}

.digitalocean-card {
    border-left: 4px solid #0080FF;
}

.hetzner-card {
    border-left: 4px solid #D50C2D;
}

.provider-header {
    text-align: center;
    margin-bottom: 2rem;
}

.provider-icon {
    margin-bottom: 1rem;
}

.provider-header h3 {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.provider-subtitle {
    color: var(--gray);
    font-size: 0.95rem;
}

.provider-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-content p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.provider-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ==========================================
   INFRASTRUCTURE SERVICES
   ========================================== */
.infrastructure-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 4rem 0;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.service-label {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}

.service-body {
    padding: 2rem;
}

.service-body h4 {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-body p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-screenshot {
    margin: 1.5rem 0;
    background: #000;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.service-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.service-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.stat-icon {
    font-size: 1.2rem;
}

.stat-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--white);
}

.uptime-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid #00ff41;
    border-radius: 4px;
    margin-top: 1.5rem;
}

.uptime-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00ff41;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 5px #00ff41;
    }
    50% {
        box-shadow: 0 0 20px #00ff41;
    }
}

.uptime-text {
    font-family: var(--font-mono);
    font-weight: 700;
    color: #00ff41;
}

/* ==========================================
   MULTI-CLOUD BENEFITS
   ========================================== */
.cloud-benefits {
    margin: 4rem 0;
}

.benefits-title {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    border-radius: 16px !important;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 50, 0.4), transparent);
    transition: left 0.5s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(238, 80, 44, 0.6) !important;
    box-shadow: 0 0 25px rgba(238, 80, 44, 0.4);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================
   RESPONSIVE DESIGN - CLOUD SECTION
   ========================================== */
@media (max-width: 1024px) {
    .cloud-providers,
    .infrastructure-services {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .cloud-intro {
        font-size: 1rem;
    }

    .topology-canvas-wrapper {
        padding: 1rem;
    }

    #networkCanvas {
        height: 400px;
    }

    .topology-legend {
        gap: 1rem;
    }

    .provider-stats,
    .service-stats-grid {
        grid-template-columns: 1fr;
    }

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

    .benefit-icon {
        font-size: 2.5rem;
    }
}

/* ==========================================
   BUDGET & COST ANALYSIS SECTION
   ========================================== */
.budget-section {
    padding: var(--section-padding);
    position: relative;
}

/* Total Monthly Cost Highlight */
.cost-highlight {
    background: linear-gradient(135deg, rgba(238, 80, 44, 0.1), rgba(238, 80, 44, 0.05));
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.cost-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(238, 80, 44, 0.1) 0%, transparent 70%);
    animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cost-main {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.cost-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.cost-amount {
    font-family: var(--font-mono);
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(238, 80, 44, 0.5);
}

.cost-decimal {
    font-family: var(--font-mono);
    font-size: 3rem;
    color: var(--primary);
}

.cost-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cost-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
}

.detail-icon {
    font-size: 1.5rem;
}

.detail-text {
    color: var(--white);
    font-size: 1rem;
}

/* Subsection Titles */
.subsection-title {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 3rem 0 2rem 0;
    text-align: center;
}

/* Cost Breakdown Grid */
.cost-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.cost-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.cost-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.digitalocean-cost {
    border-left: 4px solid #0080FF;
}

.hetzner-cost {
    border-left: 4px solid #D50C2D;
}

.additional-cost {
    border-left: 4px solid var(--primary);
}

.ios-cost {
    border-left: 4px solid #555;
}

.cost-card-header {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.provider-logo {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cost-card-header h4 {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.cost-total {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.cost-total span {
    font-size: 1.2rem;
    color: var(--gray);
}

.cost-items {
    padding: 1.5rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cost-item:last-child {
    border-bottom: none;
}

.item-name {
    font-family: var(--font-mono);
    color: var(--gray);
    font-size: 0.9rem;
}

.item-cost {
    font-family: var(--font-mono);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.item-cost.free {
    color: #00ff41;
}

.cost-item.highlighted {
    background: rgba(238, 80, 44, 0.1);
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.cost-note {
    font-size: 0.85rem;
    color: var(--gray);
    font-style: italic;
    padding-top: 0.5rem;
}

.ios-screenshot {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.ios-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* Optimization Grid */
.optimization-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.optimization-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.optimization-card:hover {
    transform: translateY(-5px);
    border-color: #00ff41;
}

.optimization-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.optimization-card h4 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.optimization-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.savings {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff41;
}

/* ROI Section */
.roi-section {
    margin: 4rem 0;
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.roi-card {
    background: linear-gradient(135deg, rgba(238, 80, 44, 0.1), rgba(238, 80, 44, 0.05));
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.roi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: shimmer-roi 3s infinite;
}

@keyframes shimmer-roi {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.roi-value {
    font-family: var(--font-mono);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    display: inline-block;
}

.roi-unit {
    font-family: var(--font-mono);
    font-size: 2rem;
    color: var(--primary);
    display: inline-block;
    margin-left: 0.25rem;
}

.roi-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================
   RESPONSIVE DESIGN - BUDGET SECTION
   ========================================== */
@media (max-width: 1024px) {
    .cost-breakdown-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .cost-highlight {
        padding: 2rem 1rem;
    }

    .cost-amount {
        font-size: 3.5rem;
    }

    .cost-decimal {
        font-size: 2rem;
    }

    .cost-details {
        flex-direction: column;
        gap: 1rem;
    }

    .optimization-grid,
    .roi-grid {
        grid-template-columns: 1fr;
    }

    .roi-value {
        font-size: 2.5rem;
    }

    .roi-unit {
        font-size: 1.5rem;
    }
}

/* ============================================
   Implementation Highlights Section
   ============================================ */

.implementation-section {
    background: #000;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.implementation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 3rem 0;
}

.implementation-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(238, 80, 44, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.implementation-card.full-width {
    grid-column: 1 / -1;
}

.implementation-card:hover {
    border-color: rgba(238, 80, 44, 0.5);
    box-shadow: 0 0 30px rgba(238, 80, 44, 0.1);
    transform: translateY(-5px);
}

.implementation-card .terminal-header {
    background: #1a1a1a;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(238, 80, 44, 0.2);
}

.implementation-card .dots {
    display: flex;
    gap: 0.5rem;
}

.implementation-card .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.implementation-card .dot.red {
    background: #ff5f56;
}

.implementation-card .dot.yellow {
    background: #ffbd2e;
}

.implementation-card .dot.green {
    background: #27c93f;
}

.implementation-card .terminal-title {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    color: #888;
}

.implementation-card .terminal-body {
    background: #0a0a0a;
    padding: 1.5rem;
    min-height: 400px;
}

.implementation-card.full-width .terminal-body {
    min-height: 300px;
}

.code-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.code-container pre {
    margin: 0;
    padding: 0;
    background: transparent;
    overflow-x: auto;
}

.code-container code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #ffffff;
    display: block;
    white-space: pre;
}

.typing-cursor {
    display: inline-block;
    color: var(--primary);
    animation: blink 1s step-end infinite;
    font-weight: bold;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.scan-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary),
        transparent
    );
    box-shadow: 0 0 10px var(--primary);
    opacity: 0;
    transition: top 0.1s linear;
}

.scan-line.active {
    opacity: 0.8;
}

/* Syntax highlighting colors */
.code-container code {
    color: #ffffff; /* White code text */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .implementation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .implementation-card.full-width {
        grid-column: 1;
    }

    .implementation-card .terminal-body {
        min-height: 350px;
        padding: 1rem;
    }

    .code-container code {
        font-size: 0.75rem;
    }

    .implementation-section {
        padding: 4rem 0;
    }
}

/* ==========================================
   PROJECT IMPACT SECTION (14)
   ========================================== */
.impact-section {
    padding: var(--section-padding);
    position: relative;
}

.impact-section .container {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Assets - TensorStax Style */
.grid_assets {
    grid-column-gap: 12px;
    grid-row-gap: 12px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    margin-top: 3rem;
    margin-bottom: 4rem;
    display: grid;
}

/* Asset Cards */
.asset_card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.asset_card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

/* Metric Cards */
.metric-card {
    text-align: center;
    justify-content: center;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.metric-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.metric-desc {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Achievements List */
.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateX(10px);
}

.achievement-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.achievement-text {
    font-size: 1rem;
    color: var(--white);
    line-height: 1.6;
}

/* Tag Orange */
.tag_orange {
    display: inline-block;
    background: var(--primary);
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.title_asset {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.desc_asset {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ==========================================
   SUPPORT & DEVELOPMENT SECTION (15)
   ========================================== */
.support-section {
    padding: var(--section-padding);
    position: relative;
}

.support-section .container {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* Limitations Grid */
.limitations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.limitation-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-left: 4px solid #d50c2d;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.limitation-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.limitation-title {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.limitation-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Roadmap Timeline */
.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.roadmap-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.roadmap-item:hover {
    transform: translateY(-5px);
}

.roadmap-quarter {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.roadmap-feature {
    font-size: 1rem;
    color: var(--white);
    font-weight: 600;
}

/* Mentorship List */
.mentorship-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.mentor-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.mentor-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.mentor-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mentor-name {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

/* Security Features Grid */
.security-features-grid {
    margin-top: 2rem;
}

.security-feature-card {
    min-height: 200px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.security-feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for cards */
.security-feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.security-feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.security-feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

.security-feature-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* Asset Image Container */
.asset_image {
    margin-top: auto;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    margin-top: 1.5rem;
    border: 1px solid var(--border);
    position: relative;
}

.asset_image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Image hover effect */
.asset_card:hover .asset_image img {
    transform: scale(1.05);
}

/* Tag animation */
.tag_orange {
    animation: fadeInDown 0.6s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Title animation */
.title_asset {
    opacity: 0;
    animation: fadeInLeft 0.6s ease forwards;
    animation-delay: 0.2s;
}

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

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
    .grid_assets {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

    .mentorship-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .metric-value {
        font-size: 3rem;
    }

    .roadmap-timeline {
        grid-template-columns: 1fr;
    }

    .achievement-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .asset_card {
        padding: 1.5rem;
    }
}

/* ==========================================
   CHALLENGES & SOLUTIONS SECTION (16)
   ========================================== */
.challenges-section {
    padding: var(--section-padding);
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Challenge Cards */
.challenge-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.challenge-card.highlight-card {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(238, 80, 44, 0.05), rgba(238, 80, 44, 0.02));
}

.challenge-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.challenge-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.challenge-title {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.challenge-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.challenge-problem h4,
.challenge-solution h4 {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.challenge-problem p,
.challenge-solution p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Challenge Stats */
.challenge-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.challenge-stats .stat-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.challenge-stats .stat-value {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.challenge-stats .stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Solution List */
.solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--gray);
    line-height: 1.6;
}

.solution-list li::before {
    content: "→";
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Challenge Content with Side Image */
.challenge-content-with-image {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.challenge-text-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.challenge-side-image {
    position: sticky;
    top: 2rem;
}

.challenge-side-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.challenge-side-image img:hover {
    transform: scale(1.02);
}

/* Challenge Images */
.challenge-image {
    margin-top: 2rem;
    padding: 0 2rem 2rem 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.challenge-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.challenge-image img:hover {
    transform: scale(1.02);
}

/* Challenge 04 Side Images Grid */
.challenge-side-images-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
}

.challenge-side-image-small {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid var(--border);
}

.challenge-side-image-small img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.challenge-side-image-small img:hover {
    transform: scale(1.02);
}

/* Challenge Images Grid for Challenge 04 */
.challenge-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 2rem 2rem 2rem;
}

.challenge-images-grid .challenge-image {
    margin-top: 0;
    padding: 0;
}

/* Key Takeaways Section */
.takeaways-section {
    margin-top: 4rem;
}

.takeaways-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.takeaway-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.takeaway-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.takeaway-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.takeaway-card h4 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.takeaway-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================
   Q&A SECTION
   ========================================== */
.qa-section {
    padding: var(--section-padding);
    position: relative;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qa-title {
    font-family: var(--font-mono);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(238, 80, 44, 0.5);
}

.qa-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.qa-description {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 4rem;
}

/* Contact Information */
.contact-info {
    margin-top: 4rem;
}

.contact-title {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

/* Scroll Hint */
.scroll-hint {
    margin-top: 4rem;
    opacity: 0.5;
}

.scroll-hint p {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================
   RESPONSIVE DESIGN - CHALLENGES & Q&A
   ========================================== */
@media (max-width: 1024px) {
    .challenge-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .challenge-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .challenge-number {
        font-size: 2.5rem;
    }

    .challenge-title {
        font-size: 1.3rem;
    }

    .challenge-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .challenge-content-with-image {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .challenge-side-image {
        position: relative;
        top: 0;
    }

    .challenge-side-images-grid {
        position: relative;
        top: 0;
    }

    .challenge-images-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .challenge-image {
        padding: 0 1rem 1rem 1rem;
    }

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

    .qa-title {
        font-size: 2.5rem;
    }

    .qa-subtitle {
        font-size: 1.5rem;
    }

    .qa-description {
        font-size: 1rem;
    }
}

/* ==========================================
   IMAGE LIGHTBOX
   ========================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1400px;
    max-height: 85vh;
    object-fit: contain;
    animation: lightboxZoom 0.3s ease;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: var(--white);
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--gray);
    padding: 20px 0;
    font-family: var(--font-mono);
    font-size: 1rem;
}

/* Make all images clickable */
img[loading="lazy"] {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

img[loading="lazy"]:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
        max-height: 80vh;
    }

    .lightbox-close {
        top: 20px;
        right: 30px;
        font-size: 40px;
    }

    .lightbox-caption {
        font-size: 0.9rem;
    }
}

/* ========================================
   Security Testing Section - Glassmorphism Cards
   ======================================== */

.security-tool-card {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    border-radius: 16px !important;
    position: relative;
    overflow: hidden;
}

.security-tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 140, 50, 0.4),
        transparent);
}

.security-tool-card:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 140, 50, 0.4) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.7),
                0 0 25px rgba(255, 140, 50, 0.2);
    transform: translateY(-8px) scale(1.02);
}

.security-testing-section .asset_card.security-tool-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.security-testing-section .grid_assets {
    gap: 2rem;
}

/* Enhanced tag styling for security cards */
.security-tool-card .tag_orange {
    background: rgba(255, 140, 50, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 140, 50, 0.4);
    box-shadow: 0 0 15px rgba(255, 140, 50, 0.2);
}

/* Title glow effect */
.security-tool-card .title_asset {
    text-shadow: 0 0 10px rgba(255, 140, 50, 0.2);
}

/* Code blocks within security cards */
.security-tool-card code {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 140, 50, 0.2);
}

/* Orange dot for security bullets */
.security-tool-card .orange_dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(238, 80, 44, 0.5);
}

.security-tool-card .li_part:hover .orange_dot {
    transform: scale(1.2);
    box-shadow: 0 0 12px var(--primary);
}

@media (max-width: 768px) {
    .security-tool-card {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* ========================================
   Support & Development Section - Glassmorphism
   ======================================== */

.limitation-card,
.mentor-card,
.roadmap-item,
.security-feature-card {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    border-radius: 16px !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.limitation-card::before,
.mentor-card::before,
.roadmap-item::before,
.security-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 140, 50, 0.4),
        transparent);
}

.limitation-card:hover,
.mentor-card:hover,
.roadmap-item:hover,
.security-feature-card:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 140, 50, 0.4) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.7),
                0 0 25px rgba(255, 140, 50, 0.2);
    transform: translateY(-8px) scale(1.02);
}

/* Remove emojis from limitation and mentor cards */
.limitation-icon,
.mentor-icon {
    display: none;
}

@media (max-width: 768px) {
    .limitation-card,
    .mentor-card,
    .roadmap-item,
    .security-feature-card {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* ========================================
   Adoption & Audience Section - Glassmorphism
   ======================================== */

.adoption-card {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    border-radius: 16px !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.adoption-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 140, 50, 0.4),
        transparent);
}

.adoption-card:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 140, 50, 0.4) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.7),
                0 0 25px rgba(255, 140, 50, 0.2);
    transform: translateY(-8px) scale(1.02);
}

/* Orange dots for adoption section */
.adoption-card .orange_dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(238, 80, 44, 0.5);
}

.adoption-card .li_part:hover .orange_dot {
    transform: scale(1.2);
    box-shadow: 0 0 12px var(--primary);
}

/* Adoption grid default layout */
.adoption-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 2x2 grid for Key Adoption Drivers */
.two-by-two-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 768px) {
    .two-by-two-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Only apply centering to single-card-grid (Current Adoption Stage) */
.single-card-grid {
    grid-template-columns: 1fr !important;
    justify-content: center;
}

.single-card-grid .adoption-card {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
}

.single-card-grid .list_integrations {
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .adoption-card {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}
