/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Theme colors: Dark Theme (Default) */
    --bg-primary: #0a0c10;
    --bg-secondary: #12161f;
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(59, 130, 246, 0.45);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent-cyan: #3b82f6;
    --accent-purple: #6366f1;
    --accent-magenta: #8b5cf6;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-magenta) 100%);
    --gradient-dark: linear-gradient(180deg, #0a0c10 0%, #06080c 100%);
    
    --shadow-neon: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-neon-purple: 0 8px 30px rgba(0, 0, 0, 0.4);
    
    /* Layout */
    --header-height: 80px;
    --header-total-height: 120px;
    --max-width: 1200px;
    --transition-speed: 0.25s;
}

/* Light Theme Variables */
.light-theme {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: rgba(0, 0, 0, 0.02);
    --border-color: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(59, 130, 246, 0.4);
    
    --text-primary: #0f172a;
    --text-secondary: #4b5563;
    --text-muted: #94a3b8;
    
    --accent-cyan: #3b82f6;
    --accent-purple: #6366f1;
    --accent-magenta: #8b5cf6;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-magenta) 100%);
    --gradient-dark: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    
    --shadow-neon: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-neon-purple: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

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

ul {
    list-style: none;
}

button, input, textarea {
    font-family: inherit;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.text-accent {
    color: var(--accent-cyan);
}

.text-muted {
    color: var(--text-muted);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-size: 0.95rem;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: rgba(0, 242, 254, 0.1);
    box-shadow: var(--shadow-neon);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

button:disabled, .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   GLASSMORPHISM NAVBAR — TWO-ROW LAYOUT
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 9, 21, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background var(--transition-speed), border var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.light-theme .header {
    background: rgba(248, 250, 252, 0.8);
}

.header-top {
    height: var(--header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.light-theme .header-top {
    border-bottom-color: rgba(0, 0, 0, 0.04);
}

.header-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-cyan);
}

/* Row 2: Sub-menu Bar */
.header-sub {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 40px;
    background: rgba(255, 255, 255, 0.02);
}

.light-theme .header-sub {
    background: rgba(0, 0, 0, 0.015);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0;
}

.nav-link {
    font-weight: 500;
    font-size: 0.88rem;
    position: relative;
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-speed);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

.theme-toggle, .mobile-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.theme-toggle:hover, .mobile-toggle:hover {
    background: var(--border-color);
    border-color: var(--accent-cyan);
}

.mobile-toggle {
    display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: calc(var(--header-height) + 4rem) 0 6rem 0;
    background: var(--gradient-dark);
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.8;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--accent-cyan);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7);
    animation: pulse 1.6s infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-resource-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
}

.resource-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all var(--transition-speed);
}

.resource-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon);
    transform: translateY(-5px);
}

.resource-icon {
    font-size: 2.25rem;
    color: var(--accent-cyan);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-speed);
}

.resource-icon svg.svg-resource-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.resource-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition-speed);
}

.resource-card:hover .resource-label {
    color: var(--text-primary);
}

.resource-card:hover .resource-icon {
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .hero-resource-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-resource-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-resource-grid {
        grid-template-columns: 1fr;
    }
}


/* Hero Cloud Globe Illustration */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cloud-globe-container {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    animation: rotate 60s linear infinite;
}

.globe-grid {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.04);
    background: radial-gradient(circle, transparent 40%, rgba(59, 130, 246, 0.02) 100%);
}

.cloud-node {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(18, 22, 31, 0.9);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: all var(--transition-speed);
    animation: counter-rotate 60s linear infinite;
}

.cloud-node::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 1;
    pointer-events: none;
    transition: opacity var(--transition-speed);
    border: 1px solid var(--border-color);
}

.cloud-node:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    color: var(--accent-cyan);
    transform: scale(1.1);
}

.node-azure { top: -20px; left: 130px; }
.node-aws { top: 37px; left: 247px; }
.node-gcp { top: 163px; left: 276px; }
.node-k8s { top: 265px; left: 195px; }
.node-terraform { top: 265px; left: 65px; }
.node-ansible { top: 163px; left: -16px; }
.node-n8n { top: 37px; left: 13px; }
.node-shield { top: 130px; left: 130px; font-size: 1.8rem; background: var(--gradient-primary); border: none; box-shadow: var(--shadow-neon); color: #ffffff;}

.node-shield:hover {
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35);
    color: #ffffff;
}

/* Light Theme specific overrides for Globe Nodes */
.light-theme .cloud-globe-container {
    border-color: rgba(15, 23, 42, 0.1);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
}

.light-theme .globe-grid {
    border-color: rgba(15, 23, 42, 0.04);
}

.light-theme .cloud-node {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 23, 42, 0.15);
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
}

.light-theme .cloud-node::before {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.light-theme .cloud-node:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

/* ==========================================================================
   SECTION STANDARD HEADERS
   ========================================================================== */
section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   INTERACTIVE LAB (PIPELINE & TERMINAL)
   ========================================================================== */
.lab-section {
    background: var(--bg-secondary);
}

.lab-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.lab-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-speed);
}

.lab-tab-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
}

.lab-tab-btn.active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-neon);
}

.lab-content-wrapper {
    background: rgba(10, 9, 21, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    min-height: 450px;
}

.lab-tab-content {
    display: none;
}

.lab-tab-content.active {
    display: block;
}

/* Pipeline Simulator Widget */
.pipeline-simulator {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pipeline-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.control-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.circle.red { background-color: #ef4444; }
.circle.yellow { background-color: #f59e0b; }
.circle.green { background-color: #10b981; }

.console-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.control-actions {
    display: flex;
    gap: 0.5rem;
}

/* Steps Pipeline UI */
.pipeline-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 2rem 0;
    overflow-x: auto;
}

.pipeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 110px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    transition: all var(--transition-speed);
    position: relative;
}

.step-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.step-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.step-status-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4b5563; /* grey / idle */
    border: 2px solid var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-speed);
}

.pipeline-connector {
    flex-grow: 1;
    height: 3px;
    background: var(--border-color);
    margin: 0 -10px;
    margin-top: -38px;
    position: relative;
    z-index: 1;
}

/* Running states */
.pipeline-step.running .step-icon {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: var(--shadow-neon);
}

.pipeline-step.running .step-status-indicator {
    background: #f59e0b; /* amber */
    animation: pulse-amber 1.2s infinite;
}

.pipeline-step.success .step-icon {
    border-color: #10b981;
    color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.pipeline-step.success .step-status-indicator {
    background: #10b981;
}

.pipeline-step.failed .step-icon {
    border-color: #ef4444;
    color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.25);
}

.pipeline-step.failed .step-status-indicator {
    background: #ef4444;
}

/* Logs Terminal */
.pipeline-console {
    background: #05040a;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    height: 180px;
    overflow-y: auto;
}

.log-line {
    margin-bottom: 0.35rem;
    color: #a7f3d0; /* Soft green standard terminal log */
    line-height: 1.4;
}

.log-line.text-muted { color: var(--text-muted); }
.log-line.info { color: #38bdf8; }
.log-line.warn { color: #facc15; }
.log-line.error { color: #f87171; }
.log-line.success { color: #34d399; }

/* Interactive Terminal Shell */
.terminal-container {
    width: 100%;
    background: #05040a;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    font-family: var(--font-mono);
    height: 380px;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    position: relative;
}

.terminal-buttons {
    display: flex;
    gap: 0.4rem;
}

.terminal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.terminal-body {
    padding: 1.2rem;
    flex: 1;
    overflow-y: auto;
    font-size: 0.85rem;
}

.terminal-text {
    margin-bottom: 0.4rem;
    color: #e5e7eb;
    white-space: pre-wrap;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.terminal-prompt {
    color: var(--accent-cyan);
}

#terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    caret-color: var(--accent-cyan);
}

/* ==========================================================================
   SKILLS MATRIX
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon);
}

.skill-card-icon {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 1.25rem;
}

.skill-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.skill-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 0.15rem 0;
}

.skill-list li i.skill-icon {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

/* ==========================================================================
   WORK EXPERIENCE TIMELINE
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 31px;
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 3.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent-cyan);
    box-shadow: var(--shadow-neon);
    z-index: 10;
}

.timeline-date {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.2rem;
    transition: all var(--transition-speed);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon-purple);
}

.timeline-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.timeline-role {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
}

.timeline-company {
    background: var(--border-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-client {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.timeline-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.timeline-bullets li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.timeline-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

.timeline-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(127, 0, 255, 0.08);
    border: 1px solid rgba(127, 0, 255, 0.2);
    color: #c084fc;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.light-theme .tag {
    background: rgba(139, 92, 246, 0.08);
    color: var(--accent-purple);
}

/* ==========================================================================
   CERTIFICATIONS GRID
   ========================================================================== */
.certifications-section {
    background: var(--bg-secondary);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    gap: 1.2rem;
    align-items: center;
    transition: all var(--transition-speed);
}

.cert-card:hover {
    transform: scale(1.03);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon);
}

.cert-badge {
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}

.redhat-icon { color: #e53e3e; }
.k8s-icon { color: #326ce5; }
.azure-icon { color: #0089d0; }
.aws-icon { color: #ff9900; }

.cert-details h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.cert-issuer {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.cert-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Education Box Card */
.education-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
}

.edu-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.edu-header i {
    font-size: 2rem;
    color: var(--accent-cyan);
}

.edu-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

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

.edu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.edu-meta {
    display: flex;
    flex-direction: column;
}

.edu-degree {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.edu-school {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.edu-date {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    background: var(--border-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 500;
}

/* ==========================================================================
   CONTACT FORM & FOOTER
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.info-text h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.info-text p, .info-text a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.info-text a:hover {
    color: var(--accent-cyan);
}

.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    outline: none;
    transition: all var(--transition-speed);
}

.light-theme .form-group input, .light-theme .form-group textarea {
    background: #ffffff;
    color: #000000;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
}

.footer-socials a {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.footer-socials a:hover {
    color: var(--accent-cyan);
}

/* ==========================================================================
   PAGE SWITCHER & PAGE CONTENT
   ========================================================================== */
.page-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 0;
    flex-shrink: 0;
}

.light-theme .page-switcher {
    background: transparent;
}

.page-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    /* Eye-catching intro pulse on page load to draw focus */
    animation: switcher-attention-glow-btn 4s ease-in-out 2;
}

.light-theme .page-switch-btn {
    background: rgba(0, 0, 0, 0.02);
}

/* Live pulse indicator */
.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #10b981; /* Emerald green */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-emerald 2s infinite;
    flex-shrink: 0;
}

.page-switch-btn i {
    font-size: 0.75rem;
}

.page-switch-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.light-theme .page-switch-btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

.page-switch-btn.active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-neon);
}

.page-switch-btn.active:hover {
    background: var(--gradient-primary);
    color: #ffffff;
    transform: none;
}

/* Animations for attention-drawing on landing */
@keyframes switcher-attention-glow-btn {
    0%, 100% {
        border-color: var(--border-color);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    50% {
        border-color: var(--accent-purple);
        box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
    }
}

@keyframes pulse-emerald {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Page Content Visibility */
.page-content {
    display: block;
}

.page-content.hidden {
    display: none;
}

/* Nav menu visibility */
.nav-menu.hidden {
    display: none !important;
}

/* Portfolio-only elements (hidden on DSO page) */
.portfolio-only.hidden {
    display: none;
}

/* DSO scroll anchors */
#dso-top, #dso-how, #dso-expertise, #dso-compare {
    scroll-margin-top: calc(var(--header-height) + 2rem);
}


/* ==========================================================================
   DEVOPS SECOND OPINION (DSO) OFFER PAGE
   ========================================================================== */
.dso-section {
    position: relative;
    padding: calc(var(--header-height) + 4rem) 0 6rem 0;
    background: var(--gradient-dark);
    overflow: hidden;
}

.light-theme .dso-section {
    background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 30%, #f1f5f9 70%, #f8fafc 100%);
}

/* Background Effects */
.dso-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.dso-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}

.light-theme .dso-grid-lines {
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
}

.dso-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.dso-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.03);
    top: -100px;
    right: -100px;
}

.dso-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.03);
    bottom: -50px;
    left: -50px;
}

.light-theme .dso-glow-1 {
    background: rgba(59, 130, 246, 0.05);
}

.light-theme .dso-glow-2 {
    background: rgba(99, 102, 241, 0.05);
}

.dso-container {
    position: relative;
    z-index: 2;
}

/* --- DSO Hero Banner --- */
.dso-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
}

.dso-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--accent-purple);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.3px;
}

.dso-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-purple);
    animation: pulse-indigo 1.6s infinite;
}

@keyframes pulse-indigo {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.dso-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.dso-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.dso-price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.dso-price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.dso-price-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
    border-radius: 10px;
}

.dso-cta-btn {
    animation: dso-cta-pulse 2.5s ease-in-out infinite;
}

@keyframes dso-cta-pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 242, 254, 0.25); }
    50% { box-shadow: 0 0 30px rgba(0, 242, 254, 0.45), 0 0 60px rgba(0, 242, 254, 0.1); }
}

/* --- DSO Section Titles --- */
.dso-section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.dso-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0.75rem auto 0 auto;
    border-radius: 2px;
}

/* --- How It Works Steps --- */
.dso-how-it-works {
    margin-bottom: 5rem;
}

.dso-steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 950px;
    margin: 0 auto;
}

.dso-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    flex: 1;
    max-width: 280px;
    position: relative;
    transition: all var(--transition-speed);
}

.dso-step-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon);
}

.dso-step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.15;
    position: absolute;
    top: 12px;
    right: 18px;
    line-height: 1;
}

.dso-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(127, 0, 255, 0.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin: 0 auto 1.25rem auto;
}

.dso-step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.dso-step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.dso-step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    flex-shrink: 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Expertise Grid --- */
.dso-expertise {
    margin-bottom: 5rem;
}

.dso-expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.dso-expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all var(--transition-speed);
}

.dso-expertise-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon);
    transform: translateY(-4px);
}

.dso-expertise-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--accent-cyan);
    margin-bottom: 1.2rem;
}

.dso-expertise-icon svg {
    width: 28px;
    height: 28px;
}

.dso-expertise-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dso-expertise-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Audience Grid --- */
.dso-audience {
    margin-bottom: 5rem;
}

.dso-audience-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.dso-audience-card {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-speed);
}

.dso-audience-card i {
    color: var(--accent-cyan);
    font-size: 1rem;
}

.dso-audience-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

/* --- AI vs Expert Comparison --- */
.dso-comparison {
    margin-bottom: 5rem;
}

.dso-comparison-table {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.dso-comparison-col {
    flex: 1;
    border-radius: 16px;
    padding: 2rem 2rem 2.5rem 2rem;
}

.dso-col-ai {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.dso-col-expert {
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.light-theme .dso-col-ai {
    background: rgba(239, 68, 68, 0.05);
}

.light-theme .dso-col-expert {
    background: rgba(16, 185, 129, 0.05);
}

.dso-col-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dso-col-header i {
    font-size: 1.5rem;
}

.dso-col-header-ai i {
    color: #ef4444;
}

.dso-col-header-expert i {
    color: #10b981;
}

.dso-col-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

.dso-comparison-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.dso-comparison-col ul li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.dso-col-ai ul li i {
    color: #ef4444;
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.dso-col-expert ul li i {
    color: #10b981;
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.dso-comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* --- DSO Form --- */
.dso-form-section {
    scroll-margin-top: calc(var(--header-height) + 2rem);
}

.dso-form-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: -1rem auto 2.5rem auto;
}

.dso-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.light-theme .dso-form-container {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

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

.dso-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.dso-form select {
    background: rgba(0, 0, 0, 0.2);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition-speed);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8.5L1 3.5h10z' fill='%239ca3af'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.light-theme .dso-form select {
    background-color: #ffffff;
    color: #000000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8.5L1 3.5h10z' fill='%23475569'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.dso-form select:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.dso-form select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.dso-optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

.dso-form-footer {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    margin-top: 0.5rem;
}

.dso-guarantee {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.dso-guarantee i {
    color: #10b981;
    font-size: 1.1rem;
}

.dso-submit-btn {
    width: 100%;
    justify-content: center;
}

/* --- DSO Success State & Examples Styling --- */
#dso-success-wrapper {
    animation: fadeIn var(--transition-speed) ease-in-out;
}

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

.success-icon-animated {
    font-size: 3.5rem;
    color: #10b981;
    margin-bottom: 1rem;
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes scaleUp {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 550px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dso-examples-section {
    margin-bottom: 5rem;
    scroll-margin-top: calc(var(--header-total-height) + 2rem);
}

.dso-examples-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: -1rem auto 2.5rem auto;
    line-height: 1.6;
}

/* Tab Switcher */
.dso-example-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    padding: 0.4rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.light-theme .dso-example-tabs {
    background: rgba(0, 0, 0, 0.03);
}

.example-tab-btn, .example-tab-link {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.example-tab-link {
    color: var(--accent-cyan);
}

.example-tab-btn:hover, .example-tab-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.light-theme .example-tab-btn:hover, .light-theme .example-tab-link:hover {
    background: rgba(0, 0, 0, 0.02);
}

.example-tab-btn.active {
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.15);
}

.example-tab-btn.active svg,
.example-tab-btn.active i {
    color: #ffffff;
}

/* Example Contents */
.dso-example-contents {
    position: relative;
    min-height: 200px;
}

.example-content-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.example-content-panel.active {
    display: block;
}

/* Terminal Styling */
.example-terminal {
    background: #05040a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.light-theme .example-terminal {
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.example-terminal .terminal-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.example-terminal .terminal-header .circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.example-terminal .terminal-header .circle.red { background: #ef4444; }
.example-terminal .terminal-header .circle.yellow { background: #f59e0b; }
.example-terminal .terminal-header .circle.green { background: #10b981; }

.example-terminal .terminal-header .terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.example-terminal .terminal-body-code {
    padding: 1.2rem;
    margin: 0;
    overflow-x: auto;
}

.example-terminal .terminal-body-code pre {
    margin: 0;
}

.example-terminal .terminal-body-code code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.5;
    color: #e2e8f0;
    white-space: pre;
}

.example-terminal .line-num {
    color: rgba(255, 255, 255, 0.2);
    margin-right: 0.8rem;
    user-select: none;
    display: inline-block;
    width: 15px;
    text-align: right;
}

.example-terminal .log-info {
    color: #38bdf8;
}

.example-terminal .log-error {
    color: #f87171;
    font-weight: 500;
}

/* Comparison Grid */
.example-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.comp-card {
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-ai {
    background: rgba(239, 68, 68, 0.03);
    border-color: rgba(239, 68, 68, 0.1);
}

.light-theme .card-ai {
    background: rgba(239, 68, 68, 0.02);
}

.card-expert {
    background: rgba(16, 185, 129, 0.03);
    border-color: rgba(16, 185, 129, 0.1);
}

.light-theme .card-expert {
    background: rgba(16, 185, 129, 0.02);
}

.comp-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-ai .card-title {
    color: #ef4444;
}

.card-expert .card-title {
    color: #10b981;
}

.comp-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
}

.comp-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.25rem;
    line-height: 1.4;
}

.comp-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-size: 0.75rem;
    top: 2px;
}

.card-verdict {
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(239, 68, 68, 0.08);
}

.expert-solution {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.expert-solution code {
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

.expert-solution strong {
    color: #10b981;
    font-weight: 600;
}

/* Responsive overrides for success examples */
@media (max-width: 768px) {
    .example-comparison-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .dso-example-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .dso-example-tabs {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 242, 254, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 254, 0);
    }
}

@keyframes pulse-amber {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

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

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        width: 100%;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* DSO Responsive 1024 */
    .dso-title {
        font-size: 3rem;
    }

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

    .dso-steps-grid {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .dso-step-connector {
        display: none;
    }

    .dso-step-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        padding: 3rem 0;
        transition: left 0.4s ease;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }

    .nav-menu.hidden {
        display: none !important;
    }

    .nav-menu.hidden.open {
        display: none !important;
    }

    .page-switcher {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timeline::before {
        left: 21px;
    }
    
    .timeline-dot {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .timeline-header-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    /* DSO Responsive 768 */
    .dso-title {
        font-size: 2.5rem;
    }

    .dso-price {
        font-size: 2.8rem;
    }

    .dso-expertise-grid {
        grid-template-columns: 1fr;
    }

    .dso-comparison-table {
        flex-direction: column;
        gap: 1.5rem;
    }

    .dso-comparison-vs {
        width: auto;
        padding: 0.5rem 0;
    }

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

    .dso-form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .lab-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .lab-content-wrapper {
        padding: 1rem;
    }

    /* DSO Responsive 480 */
    .dso-title {
        font-size: 2rem;
    }

    .page-switch-btn span {
        display: none;
    }

    .page-switch-btn {
        padding: 0.5rem 0.75rem;
    }


    .dso-section {
        padding-top: calc(var(--header-height) + 2rem);
    }

    .dso-audience-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .dso-audience-card {
        justify-content: center;
    }
}

/* ==========================================================================
   MODERN DYNAMIC STYLES
   ========================================================================== */

/* 1. Spotlight Mouse Glow Effect for Cards */
.resource-card, 
.skill-card, 
.cert-card, 
.info-card, 
.dso-step-card, 
.dso-expertise-card, 
.dso-audience-card {
    position: relative;
    overflow: hidden;
}

.resource-card::before, 
.skill-card::before, 
.cert-card::before, 
.info-card::before, 
.dso-step-card::before, 
.dso-expertise-card::before, 
.dso-audience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(200px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(99, 102, 241, 0.08), transparent 80%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.light-theme .resource-card::before, 
.light-theme .skill-card::before, 
.light-theme .cert-card::before, 
.light-theme .info-card::before, 
.light-theme .dso-step-card::before, 
.light-theme .dso-expertise-card::before, 
.light-theme .dso-audience-card::before {
    background: radial-gradient(200px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(59, 130, 246, 0.05), transparent 80%);
}

.resource-card:hover::before, 
.skill-card:hover::before, 
.cert-card:hover::before, 
.info-card:hover::before, 
.dso-step-card:hover::before, 
.dso-expertise-card:hover::before, 
.dso-audience-card:hover::before {
    opacity: 1;
}

/* Ensure contents stay clickable and above spotlight background */
.resource-card > *, 
.skill-card > *, 
.cert-card > *, 
.info-card > *, 
.dso-step-card > *, 
.dso-expertise-card > *, 
.dso-audience-card > * {
    position: relative;
    z-index: 2;
}

/* 2. Interactive Terminal Commands */
.terminal-cmd-btn {
    color: var(--accent-cyan);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    transition: color var(--transition-speed);
}

.terminal-cmd-btn:hover {
    color: var(--text-primary);
}

/* 3. Section Scroll Reveal Transitions */
.reveal-init {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-init.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   AI IDEA GENERATOR STYLES
   ========================================================================== */
.idea-generator-container {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

@media (max-width: 992px) {
    .idea-generator-container {
        grid-template-columns: 1fr;
    }
}

.idea-inputs-card, .idea-output-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

.idea-inputs-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.8rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.idea-select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition-speed);
}

.light-theme .idea-select {
    background: rgba(0,0,0,0.02);
    color: var(--text-primary);
}

.idea-select:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.25);
}

/* Complexity selector options */
.complexity-options {
    display: flex;
    gap: 8px;
    width: 100%;
}

.complexity-btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
    white-space: nowrap;
}

.light-theme .complexity-btn {
    background: rgba(0,0,0,0.015);
}

.complexity-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.complexity-btn.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

/* Output Card details */
.idea-output-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
}

.idea-output-empty i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.idea-output-empty h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.idea-output-empty p {
    font-size: 0.95rem;
    max-width: 320px;
}

/* Loading logs spinner */
.loading-spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

.spinner {
    width: 45px;
    height: 45px;
    border: 3px solid rgba(59, 130, 246, 0.1);
    border-top: 3px solid var(--accent-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

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

.loading-logs {
    width: 100%;
    max-width: 480px;
    background: #06080c;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: left;
    height: 140px;
    overflow-y: auto;
}

.loading-logs p {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Output Content styling */
.idea-card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.8rem;
}

.idea-badge-container {
    display: flex;
    gap: 8px;
    margin-bottom: 0.8rem;
}

.idea-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.idea-badge.complexity-junior {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.idea-badge.complexity-mid {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.idea-badge.complexity-senior {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.idea-badge.badge-cloud {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.idea-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.idea-section-block {
    margin-bottom: 1.8rem;
}

.idea-section-block h5 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.idea-section-block p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Blueprint Grid layout */
.idea-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.8rem;
}

@media (max-width: 576px) {
    .idea-grid-two {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Tech stacks and steps */
.tech-stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-stack-list li {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-primary);
}

.light-theme .tech-stack-list li {
    background: rgba(0,0,0,0.015);
}

.implementation-steps {
    padding-left: 1.25rem;
}

.implementation-steps li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

/* Output actions footer */
.idea-actions-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 1.8rem;
    margin-top: 2rem;
}

@media (max-width: 576px) {
    .idea-actions-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .idea-actions-footer button, .idea-actions-footer a {
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================
   DEVELOPER PRODUCTS DASHBOARD & TILES
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.product-tile {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 3rem 2.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.product-tile-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(300px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(99, 102, 241, 0.08), transparent 80%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.light-theme .product-tile-glow {
    background: radial-gradient(300px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(59, 130, 246, 0.05), transparent 80%);
}

.product-tile:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-neon-purple);
}

.product-tile:hover .product-tile-glow {
    opacity: 1;
}

.product-tile > * {
    position: relative;
    z-index: 2;
}

.product-tile-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
    transition: all var(--transition-speed);
}

/* Give the tiles custom gradient icons to make it look premium */
.product-tile[data-target-product="idea-generator"] .product-tile-icon {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(99, 102, 241, 0.12) 100%);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.product-tile[data-target-product="viral-generator"] .product-tile-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    color: #f43f5e;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.product-tile:hover .product-tile-icon {
    transform: scale(1.05);
}

.product-tile h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.product-tile p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.product-tile-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-speed);
}

.product-tile[data-target-product="viral-generator"] .product-tile-link {
    color: #f43f5e;
}

.product-tile-link i {
    transition: transform var(--transition-speed);
}

.product-tile:hover .product-tile-link i {
    transform: translateX(4px);
}

/* DSO and Products navigation bar styling */
.product-back-bar {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.back-to-products-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: color var(--transition-speed);
}

.back-to-products-btn:hover {
    color: var(--accent-cyan);
}

.back-to-products-btn i {
    font-size: 0.8rem;
}

/* Viral Generator Specific Button and Output Styles */
.viral-tone-btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
    white-space: nowrap;
}

.light-theme .viral-tone-btn {
    background: rgba(0,0,0,0.015);
}

.viral-tone-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.viral-tone-btn.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

.viral-post-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: pre-wrap;
    line-height: 1.6;
    word-break: break-word;
    margin-top: 0.5rem;
}

.light-theme .viral-post-box {
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-primary);
    border-color: rgba(0,0,0,0.08);
}

/* Viroscope AI Style elements */
.viral-score-container {
    margin-bottom: 2rem;
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}
.light-theme .viral-score-container {
    background: rgba(0,0,0,0.01);
}
.viral-score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.viral-score-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.viral-score-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--accent-cyan);
}
.viral-score-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
    overflow: hidden;
}
.light-theme .viral-score-bar-bg {
    background: rgba(0,0,0,0.06);
}
.viral-score-bar-fill {
    width: 0%; /* Dynamic animation */
    height: 100%;
    background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    border-radius: 4px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.viral-visual-concept {
    font-style: italic;
    background: rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.light-theme .viral-visual-concept {
    background: rgba(0,0,0,0.015);
}

