/* Import retro gaming fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=JetBrains+Mono:wght@300;400;500;600&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', 'JetBrains Mono', monospace;
    line-height: 1.6;
    color: #1e293b;
    background: #f8fafc;
    overflow-x: hidden;
    position: relative;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Enhanced retro grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(79, 70, 229, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.12) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -2;
    animation: subtleGridShift 20s ease-in-out infinite;
}

/* Subtle animated background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: subtlePulse 8s ease-in-out infinite alternate;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 2px 20px rgba(99, 102, 241, 0.1);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    border-radius: 6px;
}

.nav-link:hover {
    color: #4f46e5;
    border: 2px solid rgba(79, 70, 229, 0.4);
    background: rgba(79, 70, 229, 0.08);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
    text-shadow: 0 0 8px rgba(79, 70, 229, 0.4);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Services Dropdown Menu */
.nav-item {
    position: relative;
}

.has-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    min-width: 320px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content {
    display: flex;
    flex-direction: column;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.dropdown-link:hover {
    background: rgba(79, 70, 229, 0.08);
    transform: translateX(4px);
}

.dropdown-item-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.dropdown-item-content {
    flex: 1;
}

.dropdown-item-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    text-transform: none;
    letter-spacing: normal;
}

.dropdown-item-description {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

/* Mobile hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #334155;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: 
        linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #0f172a;
    text-shadow: 0 0 15px rgba(79, 70, 229, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gradient-text {
    background: linear-gradient(45deg, #4f46e5, #ec4899, #059669);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: subtleGradientShift 4s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(79, 70, 229, 0.5));
}

.hero-description {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.8;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    border: 2px solid;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    border-color: #6366f1;
    box-shadow: 
        0 4px 15px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #06d6a0;
    border-color: #06d6a0;
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.2);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: #f0fdf4;
    box-shadow: 0 8px 25px rgba(6, 214, 160, 0.3);
    transform: translateY(-2px);
}

/* Hero Visual - Gaming Console Style */
.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #6366f1;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    animation: gentleFloat 8s ease-in-out infinite;
    box-shadow: 
        0 15px 35px rgba(99, 102, 241, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
}

.floating-card::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.8), transparent);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 12px currentColor) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.floating-card span {
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
    border-color: #06d6a0;
    box-shadow: 
        0 10px 25px rgba(6, 214, 160, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card-2 {
    top: 30%;
    right: 10%;
    animation-delay: 2s;
    border-color: #06d6a0;
    box-shadow: 
        0 10px 25px rgba(6, 214, 160, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card-3 {
    bottom: 30%;
    left: 10%;
    animation-delay: 4s;
    border-color: #f59e0b;
    box-shadow: 
        0 10px 25px rgba(245, 158, 11, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.card-4 {
    bottom: 10%;
    right: 25%;
    animation-delay: 6s;
    border-color: #ec4899;
    box-shadow: 
        0 10px 25px rgba(236, 72, 153, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Client Logos Section */
.clients {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 0;
    border-top: 2px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 -5px 20px rgba(99, 102, 241, 0.1);
    overflow: hidden;
    position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 4px,
            rgba(99, 102, 241, 0.03) 4px,
            rgba(99, 102, 241, 0.03) 8px
        );
    pointer-events: none;
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.clients-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(79, 70, 229, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    mask: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.client-logo {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    min-width: 150px;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: #6366f1;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.logo-img {
    height: 100%;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0.8) contrast(1.2);
    transition: filter 0.3s ease;
}

.client-logo:hover .logo-img {
    filter: brightness(0.6) contrast(1.4);
}

/* AI Advantage Section */
.ai-advantage {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
    padding: 6rem 0;
    border-top: 2px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 -5px 20px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.ai-advantage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 80px,
            rgba(99, 102, 241, 0.03) 80px,
            rgba(99, 102, 241, 0.03) 82px
        );
    pointer-events: none;
}

.ai-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.ai-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.2rem;
    animation: subtleRobotPulse 3s ease-in-out infinite;
}

.badge-text {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    color: #4f46e5;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(79, 70, 229, 0.4), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ai-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(79, 70, 229, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
    animation: subtleTitleGlow 4s ease-in-out infinite alternate;
}

.ai-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    color: #374151;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.ai-content {
    display: grid;
    gap: 3rem;
}

.ai-philosophy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.1);
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.philosophy-card:hover::before {
    opacity: 1;
}

.philosophy-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.2),
        0 0 30px rgba(99, 102, 241, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 8px currentColor);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    text-shadow: 0 0 5px rgba(99, 102, 241, 0.2);
    text-align: center;
}

.card-description {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.speed-metric, .quality-metric {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.quality-metric {
    background: rgba(6, 214, 160, 0.05);
    border-color: rgba(6, 214, 160, 0.2);
}

.metric-value {
    font-size: 2rem;
    font-weight: 900;
    color: #6366f1;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

.quality-metric .metric-value {
    color: #059669;
    text-shadow: 0 0 8px rgba(5, 150, 105, 0.3);
}

.metric-label {
    font-size: 0.9rem;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.development-pipeline {
    text-align: center;
    margin: 2rem 0;
}

.pipeline-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2rem;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

.pipeline-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    position: relative;
}

.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    position: relative;
    transition: all 0.4s ease;
    animation: subtleStageActivate 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.1);
}

.stage[data-stage="1"] { animation-delay: 0s; }
.stage[data-stage="2"] { animation-delay: 1s; }
.stage[data-stage="3"] { animation-delay: 2s; }
.stage[data-stage="4"] { animation-delay: 3s; }

.stage:hover {
    transform: scale(1.05);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
}

.stage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px currentColor);
}

.stage-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px rgba(99, 102, 241, 0.2);
}

.stage-desc {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #475569;
    text-align: center;
    line-height: 1.4;
}


.ai-visual {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.neural-network {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.network-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.node-core {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #4f46e5;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.25), rgba(255, 255, 255, 0.95));
    position: relative;
    animation: subtleNodeCore 4s ease-in-out infinite;
    box-shadow: 0 0 25px rgba(79, 70, 229, 0.4), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.human-node .node-core {
    border-color: #059669;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.2), rgba(255, 255, 255, 0.9));
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.3);
}

.node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    animation: subtleNodePulse 4s ease-in-out infinite;
}

.human-node .node-pulse {
    border-color: rgba(5, 150, 105, 0.6);
}

.node-label {
    margin-top: 1rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: #6366f1;
    text-shadow: 0 0 5px rgba(99, 102, 241, 0.3);
}

.human-node .node-label {
    color: #059669;
    text-shadow: 0 0 5px rgba(5, 150, 105, 0.3);
}

.network-connection {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #ec4899, #059669);
    border-radius: 2px;
    position: relative;
    animation: subtleConnectionFlow 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.network-connection::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 6px;
    background: #ffffff;
    border-radius: 3px;
    animation: subtleDataFlow 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.synergy-output {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.output-glow {
    width: 140px;
    height: 50px;
    background: linear-gradient(45deg, #6366f1, #ec4899, #059669);
    border-radius: 25px;
    filter: blur(10px);
    animation: subtleOutputGlow 4s ease-in-out infinite;
    opacity: 0.4;
}

.output-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #0f172a;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Featured Work Section */
.featured-work {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    padding: 6rem 0;
    border-top: 2px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 -5px 20px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.featured-work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 60px,
            rgba(99, 102, 241, 0.02) 60px,
            rgba(99, 102, 241, 0.02) 62px
        );
    pointer-events: none;
}

.work-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(79, 70, 229, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
    animation: subtleTitleGlow 4s ease-in-out infinite alternate;
}

.section-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    color: #475569;
    letter-spacing: 0.5px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.work-item {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 
        0 10px 25px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(236, 72, 153, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.work-item:hover::before {
    opacity: 1;
}

.work-item:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 25px 50px rgba(99, 102, 241, 0.2),
        0 0 40px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.work-item.featured {
    grid-column: span 2;
    border-color: rgba(5, 150, 105, 0.3);
}

.work-item.featured:hover {
    border-color: rgba(5, 150, 105, 0.5);
    box-shadow: 
        0 25px 50px rgba(5, 150, 105, 0.2),
        0 0 40px rgba(5, 150, 105, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.work-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(1.1) contrast(1.1);
}

.work-item:hover .work-img {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(99, 102, 241, 0.2) 50%,
        rgba(236, 72, 153, 0.2) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.95);
    color: #4f46e5;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(79, 70, 229, 0.4);
    box-shadow: 0 0 8px rgba(79, 70, 229, 0.3);
    backdrop-filter: blur(10px);
}

.work-content {
    padding: 2rem;
}

.work-category {
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.work-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.2);
}

.work-description {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.work-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 2px solid rgba(99, 102, 241, 0.1);
    border-bottom: 2px solid rgba(99, 102, 241, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #6366f1;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.case-study-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #059669;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.8rem 1.5rem;
    border: 2px solid #059669;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
    backdrop-filter: blur(10px);
}

.case-study-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.1), transparent);
    transition: left 0.5s;
}

.case-study-link:hover::before {
    left: 100%;
}

.case-study-link:hover {
    background: #f0fdf4;
    box-shadow: 
        0 8px 25px rgba(5, 150, 105, 0.3),
        inset 0 0 15px rgba(5, 150, 105, 0.05);
    transform: translateX(5px);
}

.link-arrow {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.case-study-link:hover .link-arrow {
    transform: translateX(3px) translateY(-3px);
}

/* Animations - Subtle versions */
@keyframes subtlePulse {
    0% { opacity: 0.5; }
    100% { opacity: 0.7; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(0.5deg);
    }
}

@keyframes subtleGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes subtleRobotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes subtleTitleGlow {
    0% {
        text-shadow: 0 0 15px rgba(79, 70, 229, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
    }
    100% {
        text-shadow: 0 0 20px rgba(79, 70, 229, 0.6), 0 3px 8px rgba(0, 0, 0, 0.15);
    }
}

@keyframes subtleStageActivate {
    0%, 80%, 100% { 
        border-color: rgba(99, 102, 241, 0.2);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.1);
    }
    40% { 
        border-color: rgba(99, 102, 241, 0.4);
        box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
    }
}

@keyframes subtleNodeCore {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes subtleNodePulse {
    0% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes subtleConnectionFlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes subtleDataFlow {
    0% { left: 0; }
    100% { left: 80px; }
}

@keyframes subtleOutputGlow {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.6; transform: translateX(-50%) scale(1.05); }
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .work-item.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(20px);
        border-top: 2px solid rgba(99, 102, 241, 0.2);
        box-shadow: 0 10px 25px rgba(99, 102, 241, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-visual {
        height: 300px;
        order: -1;
    }

    .floating-card {
        padding: 1rem;
        min-width: 100px;
    }

    .card-icon {
        font-size: 1.5rem;
    }

    .floating-card span {
        font-size: 0.7rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .cta-button {
        flex: 1;
        max-width: 200px;
        min-width: 150px;
    }

    .clients {
        padding: 3rem 0;
    }

    .clients-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

    .carousel-track {
        gap: 3rem;
        animation-duration: 25s;
    }

    .client-logo {
        min-width: 120px;
        height: 50px;
    }

    .logo-img {
        max-width: 120px;
    }

    .ai-advantage {
        padding: 4rem 0;
    }
    
    .ai-container {
        padding: 0 1rem;
    }
    
    .ai-philosophy {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .philosophy-card {
        padding: 1.5rem;
    }
    
    .pipeline-stages {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    
    .neural-network {
        flex-direction: column;
        gap: 2rem;
    }
    
    .network-connection {
        width: 4px;
        height: 50px;
        background: linear-gradient(180deg, #6366f1, #ec4899, #059669);
    }
    
    .network-connection::before {
        width: 6px;
        height: 12px;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        animation: subtleDataFlowVertical 3s ease-in-out infinite;
    }
    
    .synergy-output {
        position: static;
        transform: none;
        margin-top: 2rem;
    }

    .featured-work {
        padding: 4rem 0;
    }
    
    .work-container {
        padding: 0 1rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .work-grid {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
    
    .work-image {
        height: 200px;
    }
    
    .work-content {
        padding: 1.5rem;
    }
    
    .work-title {
        font-size: 1.5rem;
    }
    
    .work-stats {
        gap: 1rem;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }

    /* Testimonials responsive improvements for tablets */
    .testimonial-track {
        min-height: 420px;
        overflow: visible;
    }

    .testimonial-content {
        padding: 2.5rem;
        min-height: 420px;
    }

    .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .author-image {
        width: 70px;
        height: 70px;
    }

    .trust-indicators {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }
}

@keyframes subtleDataFlowVertical {
    0% { top: 0; }
    100% { top: 38px; }
}

@keyframes subtleGridShift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(2px, 2px); }
}

@media (max-width: 480px) {
    .nav {
        padding: 1rem;
    }
    
    .logo {
        height: 40px;
        max-width: 150px;
    }

    .hero-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .floating-card {
        padding: 0.75rem;
        min-width: 80px;
    }

    .card-icon {
        font-size: 1.2rem;
    }

    .floating-card span {
        font-size: 0.6rem;
    }

    .clients {
        padding: 2rem 0;
    }

    .clients-container {
        padding: 0 1rem;
    }

    .carousel-track {
        gap: 2rem;
        animation-duration: 20s;
    }

    .client-logo {
        min-width: 100px;
        height: 40px;
    }

    .logo-img {
        max-width: 100px;
    }


    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .work-content {
        padding: 1rem;
    }
    
    .work-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stat {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .case-study-link {
        width: 100%;
        justify-content: center;
    }

    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonials-container {
        padding: 0 1rem;
    }
    
    .testimonial-carousel {
        margin: 3rem 0;
    }
    
    .testimonial-track {
        min-height: 450px;
        overflow: visible;
    }
    
    .testimonial-content {
        padding: 2rem;
        min-height: 450px;
    }
    
    .quote-mark {
        font-size: 4rem;
        left: 1rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .author-image {
        width: 60px;
        height: 60px;
    }
    
    .author-name {
        font-size: 1.1rem;
    }
    
    .nav-arrow {
        display: none;
    }
    
    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .trust-number {
        font-size: 2rem;
    }

    .footer-container {
        padding: 3rem 1rem 1rem;
    }
    
    .footer-hero {
        margin-bottom: 3rem;
        padding: 2rem 0;
    }
    
    .footer-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .footer-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .footer-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
    padding: 6rem 0;
    border-top: 2px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 -5px 20px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(99, 102, 241, 0.02) 100px,
            rgba(99, 102, 241, 0.02) 102px
        );
    pointer-events: none;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(99, 102, 241, 0.1));
    border: 2px solid rgba(236, 72, 153, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.15);
    backdrop-filter: blur(10px);
}

.testimonial-badge .badge-icon {
    font-size: 1.2rem;
    animation: subtleTestimonialPulse 3s ease-in-out infinite;
}

.testimonial-badge .badge-text {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ec4899;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(236, 72, 153, 0.4), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-carousel {
    position: relative;
    margin: 4rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-track {
    position: relative;
    min-height: 400px;
    overflow: visible;
    border-radius: 16px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 400px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 3rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
}

.testimonial-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #ec4899, #059669);
    border-radius: 16px 16px 0 0;
}

.quote-mark {
    position: absolute;
    top: -10px;
    left: 2rem;
    font-size: 6rem;
    color: #6366f1;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    opacity: 0.3;
    line-height: 1;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.testimonial-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    color: #374151;
    line-height: 1.8;
    font-weight: 500;
    font-style: normal;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(99, 102, 241, 0.1);
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #6366f1;
    box-shadow: 
        0 0 20px rgba(99, 102, 241, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.author-image:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 25px rgba(99, 102, 241, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.2);
}

.author-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.company-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #f59e0b;
    font-size: 1.1rem;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.rating-text {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 600;
}

/* Navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.4);
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: #6366f1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-dot.active::before,
.nav-dot:hover::before {
    width: 8px;
    height: 8px;
}

.nav-dot.active {
    border-color: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #6366f1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.nav-arrow:hover {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.nav-prev {
    left: -70px;
}

.nav-next {
    right: -70px;
}

.nav-arrow svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

/* Trust Indicators */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(99, 102, 241, 0.2);
}

.trust-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.1);
}

.trust-stat::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.3));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.trust-stat:hover::before {
    opacity: 1;
}

.trust-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #6366f1;
    font-family: 'Orbitron', monospace;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
    animation: subtleNumberGlow 4s ease-in-out infinite alternate;
}

.trust-label {
    font-size: 0.9rem;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Animations */
@keyframes subtleTestimonialPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes subtleNumberGlow {
    0% {
        text-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
    }
    100% {
        text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    }
}

/* Footer Section */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 120px,
            rgba(99, 102, 241, 0.05) 120px,
            rgba(99, 102, 241, 0.05) 122px
        );
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

/* Footer Hero Section */
.footer-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
    position: relative;
}

.footer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #6366f1, #ec4899, #059669, transparent);
    border-radius: 2px;
    animation: subtleFooterGlow 4s ease-in-out infinite alternate;
}

.footer-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.greeting-text {
    color: #e2e8f0;
    text-shadow: 0 0 20px rgba(226, 232, 240, 0.3);
    animation: subtleGreetingPulse 6s ease-in-out infinite alternate;
}

.footer-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(203, 213, 225, 0.2);
}

.footer-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-cta-button {
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 200px;
    justify-content: center;
    border: 2px solid;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.footer-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s;
}

.footer-cta-button:hover::before {
    left: 100%;
}

.footer-cta-button.primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    border-color: #6366f1;
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.4),
        0 0 40px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.footer-cta-button.primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(99, 102, 241, 0.5),
        0 0 60px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.footer-cta-button.secondary {
    background: rgba(6, 214, 160, 0.1);
    color: #06d6a0;
    border-color: #06d6a0;
    box-shadow: 
        0 8px 25px rgba(6, 214, 160, 0.3),
        inset 0 1px 0 rgba(6, 214, 160, 0.1);
}

.footer-cta-button.secondary:hover {
    background: rgba(6, 214, 160, 0.2);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(6, 214, 160, 0.4),
        0 0 60px rgba(6, 214, 160, 0.2),
        inset 0 1px 0 rgba(6, 214, 160, 0.2);
}

.cta-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.footer-cta-button:hover .cta-icon {
    transform: translateX(3px) translateY(-3px);
}

/* Contact Section */
.footer-contact {
    margin-bottom: 4rem;
    padding: 3rem 0;
    border-top: 2px solid rgba(99, 102, 241, 0.2);
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #f1f5f9;
    text-shadow: 0 0 15px rgba(241, 245, 249, 0.3);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(236, 72, 153, 0.4));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-item:hover::before {
    opacity: 1;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.contact-icon {
    font-size: 2rem;
    min-width: 2.5rem;
    text-align: center;
    filter: drop-shadow(0 0 10px currentColor);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

.contact-link:hover {
    color: #8b5cf6;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    transform: translateX(3px);
}

.contact-text {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Footer Navigation */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.nav-section {
    position: relative;
}

.nav-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(241, 245, 249, 0.3);
    position: relative;
}

.nav-section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    border-radius: 1px;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.3rem;
    width: 0;
    height: 1px;
    background: #6366f1;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #6366f1;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
    transform: translateX(5px);
}

.nav-link:hover::before {
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(99, 102, 241, 0.2);
    flex-wrap: wrap;
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    color: #94a3b8;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    color: #6366f1;
    border-color: #6366f1;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.footer-copyright {
    text-align: center;
    color: #94a3b8;
}

.footer-copyright p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.footer-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* Animated Background Elements */
.footer-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: subtleGridFloat 20s ease-in-out infinite;
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: subtleFooterGlowFloat 15s ease-in-out infinite;
}

.glow-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #6366f1, transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.glow-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #ec4899, transparent);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.glow-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #059669, transparent);
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

/* Footer Animations */
@keyframes subtleFooterGlow {
    0% {
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    }
}

@keyframes subtleGreetingPulse {
    0% {
        text-shadow: 0 0 20px rgba(226, 232, 240, 0.3);
    }
    100% {
        text-shadow: 0 0 30px rgba(226, 232, 240, 0.5);
    }
}

@keyframes subtleGridFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, 10px);
    }
}

@keyframes subtleFooterGlowFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
        opacity: 0.5;
    }
}

/* Contact Page Styles */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 80px,
            rgba(99, 102, 241, 0.03) 80px,
            rgba(99, 102, 241, 0.03) 82px
        );
    pointer-events: none;
}

.contact-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(10px);
}

.contact-badge .badge-icon {
    font-size: 1.2rem;
    animation: subtleContactPulse 3s ease-in-out infinite;
}

.contact-badge .badge-text {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    color: #6366f1;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Code Snippet Preview */
.code-snippet {
    background: var(--ide-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(99, 102, 241, 0.2);
    animation: gentleCodeFloat 6s ease-in-out infinite;
}

.code-header {
    background: #2d2d30;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #3e3e42;
}

.code-tabs {
    display: flex;
}

.code-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--ide-bg);
    color: #cccccc;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    border-radius: 4px 4px 0 0;
    border-right: 1px solid #3e3e42;
}

.code-tab.active {
    background: var(--ide-bg);
    color: #ffffff;
}

.code-content {
    padding: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.2rem;
}

.line-number {
    color: var(--ide-line-numbers);
    width: 2rem;
    text-align: right;
    margin-right: 1rem;
    user-select: none;
}

.keyword {
    color: var(--ide-syntax-keyword);
}

.variable {
    color: var(--ide-syntax-variable);
}

.property {
    color: #9cdcfe;
}

.string {
    color: var(--ide-syntax-string);
}

.function {
    color: var(--ide-syntax-function);
}

.method {
    color: #dcdcaa;
}

.cursor-line {
    position: relative;
    margin-left: 3rem;
}

.blinking-cursor {
    display: none; /* Hide distracting cursor animation */
}

/* Contact Main Section */
.contact-main {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 4rem 0;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

/* IDE-Style Form Container */
.ide-container {
    background: var(--ide-bg);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    height: 700px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(99, 102, 241, 0.2);
    border: 1px solid #3e3e42;
}

.ide-sidebar {
    width: 250px;
    background: var(--ide-sidebar);
    border-right: 1px solid #3e3e42;
    display: flex;
    flex-direction: column;
}

.ide-logo {
    padding: 1rem;
    border-bottom: 1px solid #3e3e42;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px #6366f1);
}

.file-explorer {
    flex: 1;
    padding: 1rem 0;
}

.explorer-header {
    padding: 0 1rem 0.5rem;
    color: #cccccc;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-tree {
    padding: 0 0.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem;
    color: #cccccc;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.file-item.active {
    background: var(--ide-selection);
    color: #ffffff;
}

.file-icon {
    font-size: 0.9rem;
}

.ide-status {
    padding: 1rem;
    border-top: 1px solid #3e3e42;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #858585;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-dot.online {
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

/* IDE Main Editor */
.ide-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ide-tabs {
    background: #2d2d30;
    border-bottom: 1px solid #3e3e42;
    display: flex;
    padding: 0 1rem;
}

.ide-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: var(--ide-bg);
    color: #cccccc;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    border-radius: 4px 4px 0 0;
    border-right: 1px solid #3e3e42;
    position: relative;
}

.ide-tab.active {
    background: var(--ide-editor);
    color: #ffffff;
}

.tab-close {
    background: none;
    border: none;
    color: #858585;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
    font-size: 1rem;
    line-height: 1;
}

.tab-close:hover {
    color: #ffffff;
}

.ide-editor {
    flex: 1;
    background: var(--ide-editor);
    overflow-y: auto;
    position: relative;
}

/* Code Form Styles */
.code-form {
    height: 100%;
    padding: 1rem;
}

.code-editor-content {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #cccccc;
}

.code-line {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.3rem;
    min-height: 1.8rem;
    position: relative;
    transition: background-color 0.2s ease;
}

.code-line.active-line {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.code-line:hover {
    background: rgba(255, 255, 255, 0.02);
}

.line-number {
    color: var(--ide-line-numbers);
    width: 2.5rem;
    text-align: right;
    margin-right: 1rem;
    user-select: none;
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.code-syntax {
    flex: 1;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.3rem;
}

/* Form Input Styles */
.code-input {
    background: transparent;
    border: 1px solid transparent;
    color: var(--ide-syntax-string);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    outline: none;
    transition: all 0.2s ease;
    min-width: 200px;
}

.code-input:focus {
    border-color: var(--ide-syntax-keyword);
    background: rgba(86, 156, 214, 0.1);
    box-shadow: 0 0 8px rgba(86, 156, 214, 0.3);
}

.code-input::placeholder {
    color: rgba(206, 145, 120, 0.7);
    font-style: italic;
}

.string-input {
    color: var(--ide-syntax-string);
}

.select-input {
    color: var(--ide-syntax-string);
    cursor: pointer;
}

.select-input option {
    background: var(--ide-bg);
    color: #cccccc;
}

.textarea-container {
    align-items: flex-start;
}

.code-textarea {
    background: transparent;
    border: 1px solid transparent;
    color: var(--ide-syntax-string);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 3px;
    outline: none;
    resize: vertical;
    min-height: 120px;
    width: 100%;
    margin-left: 1rem;
    transition: all 0.2s ease;
}

.code-textarea:focus {
    border-color: var(--ide-syntax-keyword);
    background: rgba(86, 156, 214, 0.1);
    box-shadow: 0 0 8px rgba(86, 156, 214, 0.3);
}

.code-textarea::placeholder {
    color: rgba(206, 145, 120, 0.7);
    font-style: italic;
}

/* Submit Button */
.submit-line {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #3e3e42;
}

.run-button {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border: none;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
    margin-left: 0.5rem;
}

.run-button:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.4);
}

.run-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.play-icon {
    font-size: 0.8rem;
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

/* IDE Footer */
.ide-footer {
    background: #007acc;
    color: #ffffff;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    color: #4ade80;
    font-size: 0.6rem;
}

/* Location Card */
.location-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.location-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.2);
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    color: #6366f1;
}

/* ASCII Map */
.ascii-map {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #1e1e1e;
    border-radius: 12px;
    overflow-x: auto;
    border: 2px solid #6366f1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.map-display {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.2;
    color: #cccccc;
    margin: 0;
}

.map-border {
    color: #6366f1;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.scotland {
    color: #ec4899;
}

.city {
    color: #94a3b8;
}

.region {
    color: #8b5cf6;
    font-weight: 600;
}

.water {
    color: #06b6d4;
}

.highlight {
    color: #f59e0b;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
    animation: mapPulse 2s ease-in-out infinite;
}

.capital {
    color: #ef4444;
    font-weight: 600;
}

/* Interactive Map */
.interactive-map-container {
    margin: 2rem 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(99, 102, 241, 0.2);
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.05));
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
}

.map-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.map-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.4));
}

.map-coordinates {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.coord-label {
    font-size: 1rem;
}

.coord-value {
    font-weight: 600;
}

.interactive-map {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.interactive-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: sepia(0.1) saturate(1.2) contrast(1.1);
    transition: filter 0.3s ease;
}

.interactive-map:hover iframe {
    filter: sepia(0) saturate(1.3) contrast(1.2);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.location-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.marker-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.3);
    animation: mapPulse 2s ease-in-out infinite;
}

.marker-icon {
    font-size: 2rem;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}

.location-info {
    position: absolute;
    top: 20px;
    right: 20px;
    pointer-events: auto;
}

.info-bubble {
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    min-width: 200px;
    font-size: 0.9rem;
}

.bubble-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
    font-weight: 700;
}

.bubble-icon {
    font-size: 1.1rem;
}

.bubble-content p {
    margin: 0.25rem 0;
    color: #374151;
    font-size: 0.85rem;
}

.bubble-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.map-link {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.map-link:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.map-footer {
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.05);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.transport-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #374151;
}

.transport-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 4px currentColor);
}

.transport-text {
    font-weight: 500;
}

/* Contact Details */
.contact-details {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-detail-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(5px);
}

.detail-icon {
    font-size: 1.5rem;
    min-width: 2rem;
    text-align: center;
    filter: drop-shadow(0 0 8px currentColor);
}

.detail-content {
    flex: 1;
}

.detail-label {
    display: block;
    font-size: 0.8rem;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.detail-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.detail-link:hover {
    color: #6366f1;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.detail-text {
    color: #374151;
    line-height: 1.6;
}

.emergency-note {
    color: #ef4444;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Timezone Info */
.timezone-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(99, 102, 241, 0.2);
}

.timezone-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.tz-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #6366f1;
    font-weight: 600;
}

.tz-time {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

/* Why Choose Card */
.why-choose-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 40px rgba(99, 102, 241, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2rem;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.2);
    text-align: center;
}

.benefits-list {
    display: grid;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.benefit-icon {
    font-size: 2rem;
    min-width: 2.5rem;
    text-align: center;
    filter: drop-shadow(0 0 8px currentColor);
}

.benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact CTA Section */
.contact-cta {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%);
    padding: 4rem 0;
    border-top: 2px solid rgba(99, 102, 241, 0.2);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.cta-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #06d6a0;
    border-color: #06d6a0;
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.2);
}

.cta-btn.secondary:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 214, 160, 0.3);
}

/* Consultation Preview */
.consultation-preview {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
}

.preview-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
}

.preview-title {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    color: #6366f1;
    font-size: 1.1rem;
}

.preview-content {
    display: grid;
    gap: 1rem;
}

.participant {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 8px;
}

.avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.participant .name {
    font-weight: 600;
    color: #0f172a;
}

.call-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(74, 222, 128, 0.1);
    border: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Animations */
@keyframes subtleContactPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes gentleCodeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes mapPulse {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 20px rgba(245, 158, 11, 0.9);
        transform: scale(1.05);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
    .contact-hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ide-container {
        height: auto;
        flex-direction: column;
    }
    
    .ide-sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #3e3e42;
    }
    
    .contact-detail-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timezone-info {
        grid-template-columns: 1fr;
    }
    
    .cta-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .ascii-map .map-display {
        font-size: 0.6rem;
    }
}

/* ===== INSIGHTS PAGES STYLES ===== */

/* Insights Hero Section */
.insights-hero {
    padding: 6rem 0 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.insights-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.insights-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.insights-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subtitle-text {
    display: block;
    font-size: 2rem;
    font-weight: 500;
    opacity: 0.9;
}

.insights-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Filters */
.insights-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Insights Grid */
.insights-grid {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
    text-align: center;
}


.insights-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Insight Cards */
.insight-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.insight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.2);
}


.insight-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}


.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.insight-card:hover .insight-image img {
    transform: scale(1.05);
}

.insight-type {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(79, 70, 229, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.insight-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.insight-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}


.insight-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.insight-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.insight-title a:hover {
    color: #4f46e5;
}


.insight-description {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
    font-weight: 400;
}

.insight-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
}


.insight-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Insight Actions */
.insight-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Orbitron', monospace;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    background: linear-gradient(135deg, #5b5bd6, #8b5cf6);
}

.read-more-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover .read-more-icon {
    transform: translateX(2px);
}

/* Load More */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.load-icon {
    width: 20px;
    height: 20px;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.loading-spinner svg {
    width: 40px;
    height: 40px;
    color: #4f46e5;
}

/* Insights CTA */
.insights-cta {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.cta-icon {
    width: 20px;
    height: 20px;
}

/* ===== INSIGHT DETAIL PAGE STYLES ===== */

/* Insight Detail Header */
.insight-header {
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    color: white;
    padding: 6rem 0 4rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.separator {
    opacity: 0.6;
}

.current {
    color: white;
    font-weight: 500;
}

.insight-type-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.insight-header .insight-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.insight-excerpt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 800px;
}

.insight-header .insight-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.meta-item svg {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.insight-header .insight-image {
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

/* Content Layout */
.insight-detail .insight-content {
    padding: 4rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

.main-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Prose Styles */
.prose {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
    font-weight: 400;
}

.prose h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 2.5rem 0 1.5rem 0;
    line-height: 1.3;
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2rem 0 1rem 0;
    line-height: 1.4;
}

.prose h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin: 1.5rem 0 0.5rem 0;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose blockquote {
    background: #f8fafc;
    border-left: 4px solid #4f46e5;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    font-style: italic;
    color: #475569;
}

.prose strong {
    color: #1e293b;
    font-weight: 600;
}

/* Insight Footer */
.insight-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
    margin-top: 3rem;
}

.tags-section {
    margin-bottom: 2rem;
}

.tags-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.tags-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid #d1d5db;
    border-radius: 25px;
    text-decoration: none;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.share-btn:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    transform: translateY(-2px);
}

.share-btn svg {
    width: 16px;
    height: 16px;
}

.share-btn.twitter:hover {
    border-color: #1da1f2;
    color: #1da1f2;
}

.share-btn.linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.related-insights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-insight {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: #f8fafc;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.related-insight:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.related-insight img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.related-content {
    flex: 1;
}

.related-type {
    font-size: 0.8rem;
    color: #4f46e5;
    font-weight: 500;
    text-transform: uppercase;
}

.related-insight h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.25rem 0;
    line-height: 1.3;
}

.related-date {
    font-size: 0.8rem;
    color: #64748b;
}

.cta-widget {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
}

.cta-widget h3 {
    color: white;
}

.cta-widget p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.sidebar-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    justify-content: center;
}

.sidebar-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.sidebar-cta svg {
    width: 16px;
    height: 16px;
}

/* More Insights Section */
.more-insights {
    background: #f8fafc;
    padding: 4rem 0;
}

.more-insights .insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.view-all-cta {
    text-align: center;
    margin-top: 3rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.view-all-btn svg {
    width: 18px;
    height: 18px;
}

/* Reading Progress */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(79, 70, 229, 0.1);
    z-index: 1000;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    width: 0%;
    transition: width 0.1s ease;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .insights-title {
        font-size: 2.5rem;
    }
    
    .subtitle-text {
        font-size: 1.5rem;
    }
    
    
    .insights-list {
        grid-template-columns: 1fr;
    }
    
    .insight-header .insight-title {
        font-size: 2rem;
    }
    
    .insight-excerpt {
        font-size: 1rem;
    }
    
    .insight-header .insight-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .insight-header .insight-image {
        height: 250px;
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    .prose {
        font-size: 1rem;
    }
    
    .prose h2 {
        font-size: 1.5rem;
    }
    
    .prose h3 {
        font-size: 1.3rem;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .more-insights .insights-grid {
        grid-template-columns: 1fr;
    }
}

/* Privacy Policy and Terms of Service Pages */
.privacy-hero,
.terms-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before,
.terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><path d="M0,160L48,154.7C96,149,192,139,288,149.3C384,160,480,192,576,197.3C672,203,768,181,864,154.7C960,128,1056,96,1152,101.3C1248,107,1344,149,1392,170.7L1440,192L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z" fill="%23f1f5f9" opacity="0.5"/></svg>') no-repeat center center;
    background-size: cover;
}

.privacy-hero-container,
.terms-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.privacy-badge,
.terms-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 2rem;
}

.privacy-title,
.terms-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.privacy-subtitle,
.terms-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content styling */
.privacy-content,
.terms-content {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.privacy-content h2,
.terms-content h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.privacy-content h3,
.terms-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2rem 0 1rem;
}

.privacy-content h4,
.terms-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin: 1.5rem 0 0.75rem;
}

.privacy-content p,
.terms-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1.5rem;
}

.privacy-content ul,
.privacy-content ol,
.terms-content ul,
.terms-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.privacy-content li,
.terms-content li {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 0.75rem;
}

.privacy-content strong,
.terms-content strong {
    font-weight: 600;
    color: #334155;
}

/* Contact box styling */
.privacy-contact-box,
.terms-contact-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e1;
    border-radius: 1rem;
    padding: 2rem;
    margin: 3rem 0;
}

.privacy-contact-box h4,
.terms-contact-box h4 {
    margin-top: 0;
    color: #0f172a;
}

.contact-info {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    font-size: 1.25rem;
}

.contact-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Last updated info */
.privacy-updated,
.terms-updated {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 2rem 0;
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
}

/* Responsive design for privacy and terms pages */
@media (max-width: 768px) {
    .privacy-title,
    .terms-title {
        font-size: 2.5rem;
    }
    
    .privacy-subtitle,
    .terms-subtitle {
        font-size: 1.1rem;
    }
    
    .privacy-content,
    .terms-content {
        padding: 0 1rem;
    }
    
    .privacy-content h2,
    .terms-content h2 {
        font-size: 1.75rem;
    }
    
    .privacy-contact-box,
    .terms-contact-box {
        padding: 1.5rem;
    }
}