@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens & CSS Variables --- */
:root {
    --bg-dark: #030305;
    --bg-card: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
    --border-glass: rgba(255, 255, 255, 0.04);
    --border-glass-glow: rgba(59, 130, 246, 0.22);
    
    --primary: #2563eb;       /* Royal Blue */
    --primary-glow: rgba(37, 99, 235, 0.12);
    --accent-cyan: #06b6d4;   /* Cyber Cyan */
    --accent-violet: #8b5cf6; /* Cyber Violet */
    --accent-amber: rgba(245, 158, 11, 0.15);  /* Inset Amber Rim Light */
    --accent-amber-glow: rgba(245, 158, 11, 0.25);
    
    --violet-glow: rgba(139, 92, 246, 0.25);
    --cyan-glow: rgba(6, 182, 212, 0.25);
    --amber-glow: rgba(245, 158, 11, 0.25);
    
    --text-main: #f9fafb;     /* High-contrast Off-White */
    --text-muted: #9ca3af;    /* Light Gray */
    --text-dim: #6b7280;      /* Darker Gray */
    
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Resets & Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

.sub-page-wrapper {
    padding-top: clamp(8rem, 12vw, 11rem);
    padding-bottom: clamp(6rem, 10vw, 9rem);
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
}

/* --- Blueprint Grid and Ambient Light Background --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background-image: 
        radial-gradient(circle, rgba(6, 182, 212, 0.15) 1.5px, transparent 1.5px),
        linear-gradient(rgba(6, 182, 212, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.02) 1px, transparent 1px);
    background-size: 60px 60px, 60px 60px, 60px 60px;
    background-position: center center;
    pointer-events: none;
}

/* Radial dark mask over grid for center-focus and edge fadeout */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 50% 50%, transparent 10%, rgba(3, 3, 5, 0.75) 85%);
    pointer-events: none;
}

/* Volumetric Blur Lighting with Slow Floating Drift */
.ambient-glow {
    position: fixed;
    width: clamp(500px, 45vw, 900px);
    height: clamp(500px, 45vw, 900px);
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.28;
    pointer-events: none;
    mix-blend-mode: screen;
}

.ambient-blue {
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px;
    left: -150px;
    animation: ambient-drift-1 25s ease-in-out infinite alternate;
}

.ambient-cyan {
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation: ambient-drift-2 30s ease-in-out infinite alternate;
}

.ambient-violet {
    background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
    top: 45%;
    left: 55%;
    transform: translate(-50%, -50%);
    opacity: 0.16;
    animation: ambient-drift-3 28s ease-in-out infinite alternate;
}

@keyframes ambient-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, -60px) scale(1.15); }
}

@keyframes ambient-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-90px, 70px) scale(0.9); }
}

@keyframes ambient-drift-3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-40%, -60%) scale(1.1); }
}

/* --- Layout Wrappers --- */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}

section {
    padding: clamp(4.5rem, 8vw, 8rem) 0;
    position: relative;
}

/* --- Typographical Utilities --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 {
    text-shadow: 0 0 60px rgba(37, 99, 235, 0.18);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 10%, #93c5fd 60%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary) 50%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Glassmorphism Component Base --- */
.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.005) 50%, rgba(255, 255, 255, 0.015) 100%);
    background-size: 200% 200%;
    background-position: 0% 0%;
    backdrop-filter: blur(30px) saturate(190%);
    -webkit-backdrop-filter: blur(30px) saturate(190%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: 
        inset 1px 1px 0px rgba(255, 255, 255, 0.1),             /* sharp top-left edge highlight */
        inset -1px -1px 0px rgba(255, 255, 255, 0.02),
        0 20px 45px -15px rgba(0, 0, 0, 0.85);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    background-position: 100% 100%;
}

/* --- Header / Navigation --- */
.header-nav {
    position: fixed;
    top: clamp(1rem, 2vw, 2.5rem);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - clamp(2rem, 5vw, 6rem));
    max-width: 1200px;
    z-index: 100;
    padding: 0.85rem clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 100px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.logo-icon {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15), inset 0 0 8px rgba(6, 182, 212, 0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}

.brand-logo:hover .logo-icon {
    border-color: rgba(6, 182, 212, 0.35);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4), inset 0 0 10px rgba(6, 182, 212, 0.2);
    transform: translateY(-1px) scale(1.05);
}

.logo-img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(6, 182, 212, 0.3));
    transition: var(--transition-smooth);
}

.brand-logo:hover .logo-img {
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.6));
    transform: rotate(10deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.08em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1.5rem, 3vw, 3rem);
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--primary));
    transition: var(--transition-smooth);
    border-radius: 10px;
}

.nav-link:hover {
    color: #fff;
}

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

.nav-link.active {
    color: #fff;
}

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

/* Menu Toggle for Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile Nav Active States */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* --- Premium Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45), 0 0 15px rgba(6, 182, 212, 0.3);
    background: linear-gradient(135deg, #3b82f6 0%, var(--primary) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--border-glass);
    color: #fff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
}

/* --- Hero Section --- */
.hero-sec {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: clamp(8rem, 15vw, 12rem);
    padding-bottom: clamp(4rem, 8vw, 6rem);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    max-width: 600px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

/* Masterpiece Glass Visual in Hero */
.hero-visual-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.hero-glass-canvas {
    width: 100%;
    max-width: 500px;
    height: 460px;
    position: relative;
    transform-style: preserve-3d;
}

.glass-sphere {
    position: absolute;
    border-radius: 50%;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 
        inset 6px 6px 18px rgba(255, 255, 255, 0.05),
        inset -6px -6px 18px rgba(0, 0, 0, 0.85),
        0 15px 45px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

.sphere-lg {
    width: clamp(14rem, 22vw, 17.5rem);
    height: clamp(14rem, 22vw, 17.5rem);
    top: -5%;
    left: 10%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12) 0%, rgba(37, 99, 235, 0.05) 50%, rgba(0, 0, 0, 0.8) 100%);
    animation: float-animation-lg 12s ease-in-out infinite;
    z-index: 1;
}

.sphere-sm {
    width: clamp(8rem, 12vw, 10rem);
    height: clamp(8rem, 12vw, 10rem);
    bottom: -5%;
    right: 5%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08) 0%, rgba(6, 182, 212, 0.03) 50%, rgba(0, 0, 0, 0.8) 100%);
    animation: float-animation-sm 9s ease-in-out infinite;
    z-index: 1;
    animation-delay: -4s;
}

.glass-refractor-card {
    position: absolute;
    width: 380px;
    height: 250px;
    top: 15%;
    left: 4%;
    z-index: 3;
    border: 1px solid rgba(6, 182, 212, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.005) 100%);
    box-shadow: 
        inset 1.5px 1.5px 0px rgba(255, 255, 255, 0.12),
        inset -1px -1px 0px rgba(6, 182, 212, 0.15), 
        0 25px 50px rgba(0, 0, 0, 0.85);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: float-card 8s ease-in-out infinite;
    transform: rotateX(10deg) rotateY(-15deg);
}

.glass-refractor-mini {
    position: absolute;
    width: 200px;
    height: 140px;
    bottom: 10%;
    right: 6%;
    z-index: 4;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.005) 100%);
    box-shadow: 
        inset 1.5px 1.5px 0px rgba(255, 255, 255, 0.15),
        inset -1px -1px 0px rgba(139, 92, 246, 0.25), 
        0 20px 40px rgba(0, 0, 0, 0.9);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: float-card-mini 7s ease-in-out infinite;
    animation-delay: -2.5s;
    transform: rotateX(10deg) rotateY(-15deg);
}

.refractor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.5rem;
}

.refractor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.refractor-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.refractor-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 1rem 0;
    flex-grow: 1;
    justify-content: center;
}

.refractor-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
}

.refractor-line.half { width: 55%; }
.refractor-line.medium { width: 80%; }
.refractor-line.full { 
    background: linear-gradient(90deg, var(--accent-cyan), var(--primary));
    width: 100%;
}

.refractor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 0.5rem;
}

/* --- Section Heading --- */
.sec-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto clamp(4rem, 8vw, 6rem);
}

.sec-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
}

.sec-desc {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.6;
}

/* --- Product & Services Showcase Grid --- */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
}

.showcase-card {
    padding: clamp(1.75rem, 2.5vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: auto;
    min-height: 485px;
    border-radius: 24px;
}

.showcase-card > div:not([class]) {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.showcase-card:hover {
    transform: translateY(-6px);
}

/* Card Visual Mockup Screens */
.card-visual {
    width: 100%;
    height: 180px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    margin-bottom: 1.75rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
    transition: var(--transition-smooth);
}

.showcase-card:hover .card-visual {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Colored Glass Masterpiece Card Variations */
.card-cyan {
    border: 1px solid rgba(6, 182, 212, 0.12);
}
.card-cyan:hover {
    border-color: rgba(6, 182, 212, 0.45);
    box-shadow: 
        inset 1.5px 1.5px 0px rgba(255, 255, 255, 0.15),
        inset -1.5px -1.5px 0px rgba(6, 182, 212, 0.25),
        0 0 35px rgba(6, 182, 212, 0.15),
        0 20px 45px -15px rgba(0, 0, 0, 0.9);
}

.card-violet {
    border: 1px solid rgba(139, 92, 246, 0.12);
}
.card-violet:hover {
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 
        inset 1.5px 1.5px 0px rgba(255, 255, 255, 0.15),
        inset -1.5px -1.5px 0px rgba(139, 92, 246, 0.25),
        0 0 35px rgba(139, 92, 246, 0.15),
        0 20px 45px -15px rgba(0, 0, 0, 0.9);
}

.card-amber {
    border: 1px solid rgba(245, 158, 11, 0.12);
}
.card-amber:hover {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 
        inset 1.5px 1.5px 0px rgba(255, 255, 255, 0.15),
        inset -1.5px -1.5px 0px rgba(245, 158, 11, 0.25),
        0 0 35px rgba(245, 158, 11, 0.15),
        0 20px 45px -15px rgba(0, 0, 0, 0.9);
}

/* Dashboard Mockup Layout Elements */
.dash-bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 15px 15px;
    opacity: 0.65;
    pointer-events: none;
    z-index: 1;
}

.dash-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Mockup Specific Styles */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
}

.dash-tag.tag-amber { color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }
.dash-tag.tag-cyan { color: var(--accent-cyan); border: 1px solid rgba(6, 182, 212, 0.2); }
.dash-tag.tag-violet { color: var(--accent-violet); border: 1px solid rgba(139, 92, 246, 0.2); }

.dash-pulse-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: dash-pulse-anim 1.5s infinite ease-in-out;
}

.dash-pulse.pulse-amber { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }
.dash-pulse.pulse-cyan { background: var(--accent-cyan); box-shadow: 0 0 6px var(--accent-cyan); }
.dash-pulse.pulse-violet { background: var(--accent-violet); box-shadow: 0 0 6px var(--accent-violet); }

@keyframes dash-pulse-anim {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.4; }
}

.dash-chart-svg {
    width: 100%;
    height: 65px;
    margin-top: auto;
}

.dash-chart-path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw-chart-path 4s ease-in-out infinite alternate;
}

@keyframes draw-chart-path {
    to { stroke-dashoffset: 0; }
}

/* Network Nodes styling */
.nodes-container {
    width: 90%;
    height: 90px;
    position: relative;
    margin: auto;
}

.node-point {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: var(--transition-smooth);
}

.node-point.node-cyan { background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.node-point.node-violet { background: var(--accent-violet); box-shadow: 0 0 10px var(--accent-violet); }
.node-point.node-amber { background: #f59e0b; box-shadow: 0 0 10px #f59e0b; }

.node-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    height: 1.5px;
    transform-origin: left center;
}

.node-line.active {
    background: linear-gradient(90deg, var(--accent-cyan), var(--primary));
    opacity: 0.6;
}

/* Code mockup styling */
.ide-wrapper {
    width: 100%;
    height: 100%;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.7rem;
    color: #a7f3d0;
    padding: 0.5rem;
    line-height: 1.4;
    overflow: hidden;
    text-align: left;
}

.ide-header {
    display: flex;
    gap: 4px;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.25rem;
}

.ide-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.ide-dot:nth-child(1) { background: #ef4444; }
.ide-dot:nth-child(2) { background: #f59e0b; }
.ide-dot:nth-child(3) { background: #10b981; }

.ide-line {
    display: block;
    white-space: nowrap;
}

.ide-kw { color: #f472b6; }
.ide-fn { color: #60a5fa; }
.ide-str { color: #fbbf24; }
.ide-num { color: #34d399; }
.ide-com { color: #6b7280; font-style: italic; }

/* Gantt Chart styling */
.gantt-chart {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0.5rem 0;
}

.gantt-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gantt-row-title {
    font-size: 0.65rem;
    color: var(--text-dim);
    width: 35px;
    text-align: right;
}

.gantt-bar-bg {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 3px;
    position: relative;
}

.gantt-bar {
    position: absolute;
    height: 100%;
    border-radius: 3px;
}

.gantt-bar.bar-cyan { background: linear-gradient(90deg, var(--accent-cyan), var(--primary)); }
.gantt-bar.bar-violet { background: linear-gradient(90deg, var(--accent-violet), var(--primary)); }
.gantt-bar.bar-amber { background: linear-gradient(90deg, #f59e0b, #b45309); }

.card-icon-container {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
    transition: var(--transition-smooth);
    color: var(--accent-cyan);
}

.showcase-card:hover .card-icon-container {
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 18px rgba(6, 182, 212, 0.35);
}

.card-title {
    font-size: clamp(1.25rem, 1.6vw, 1.45rem);
    margin-bottom: 0.75rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: clamp(1.25rem, 2vw, 2rem);
    line-height: 1.6;
    flex-grow: 1;
}

.card-link {
    margin-top: auto; /* Aligns the link to the bottom of the card */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.card-link svg {
    transition: var(--transition-smooth);
}

.showcase-card:hover .card-link {
    color: #fff;
}

.showcase-card:hover .card-link svg {
    transform: translateX(5px);
}

/* --- Metrics Grid --- */
.metrics-sec {
    background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.01) 50%, transparent);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 3.5rem);
}

.metric-card {
    padding: clamp(2.5rem, 4vw, 4rem) 2rem;
    text-align: center;
    border-radius: 24px;
}

.metric-num {
    font-size: clamp(3.2rem, 5vw, 4.5rem);
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.metric-label {
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Contact Section / Page Layout --- */
.contact-wrapper {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem);
    border-radius: 28px;
}

.contact-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid var(--border-glass-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.contact-email-container {
    margin: clamp(2rem, 4vw, 3.5rem) 0;
}

/* Bot Protected Email CSS Styles */
.email-display {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    text-decoration: none;
    padding: 0.65rem clamp(1.5rem, 3vw, 3rem);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed var(--border-glass);
    display: inline-block;
    transition: var(--transition-smooth);
}

.email-display:hover {
    color: var(--accent-cyan);
    border-color: var(--border-glass-glow);
    background: rgba(59, 130, 246, 0.04);
    transform: scale(1.015);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.1);
}

.contact-helper-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Generic Legal / Content Pages Layout --- */
.legal-wrapper {
    padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
    max-width: 900px;
    margin: 0 auto;
    border-radius: 28px;
}

.legal-header {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 2.25rem;
    margin-bottom: 3.5rem;
}

.legal-title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    margin-bottom: 1.25rem;
}

.legal-date {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.legal-content h3 {
    font-size: clamp(1.3rem, 1.8vw, 1.55rem);
    margin-top: 3.5rem;
    margin-bottom: 1.25rem;
    color: #fff;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.legal-content ul {
    list-style: none;
    margin-bottom: 1.75rem;
    padding-left: 0.5rem;
}

.legal-content li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.legal-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border-glass);
    background: rgba(3, 3, 6, 0.85);
    backdrop-filter: blur(12px);
    padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    max-width: 280px;
    line-height: 1.5;
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

.footer-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

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

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

.copy-text {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: var(--text-dim);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* --- 404 Error Page --- */
.error-sec {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-card {
    max-width: 550px;
    padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 4vw, 3rem);
    border-radius: 28px;
}

.error-code {
    font-size: clamp(5rem, 8vw, 7.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-violet) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.error-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1.25rem;
}

.error-desc {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Keyframe Animations --- */
@keyframes float-animation-lg {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-18px) rotate(4deg) scale(1.02);
    }
}

@keyframes float-animation-sm {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(14px) rotate(-8deg) scale(0.97);
    }
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0px) rotate(-6deg) scale(1);
    }
    50% {
        transform: translateY(-15px) rotate(-4deg) scale(1.02);
    }
}

@keyframes float-card-mini {
    0%, 100% {
        transform: translateY(0px) rotate(4deg) scale(1);
    }
    50% {
        transform: translateY(14px) rotate(6deg) scale(1.03);
    }
}

/* --- Intersection Observer Scroll Fade-ins --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: 
        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers for stagger animation */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .hero-layout {
        gap: 3rem;
    }
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(3, 3, 6, 0.97);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        border-left: 1px solid var(--border-glass);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual-wrapper {
        margin-top: 1rem;
        height: 360px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-layout {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
