/* ==========================================================================
   Base & Variables (Ethereal Glassmorphism Theme)
   ========================================================================== */
:root {
    --col-bg: #050814;
    /* Deep Space Blue */
    --col-glass: rgba(255, 255, 255, 0.03);
    /* Frosted Glass */
    --col-glass-hover: rgba(255, 255, 255, 0.08);
    --col-glass-border: rgba(255, 255, 255, 0.1);
    --col-primary: #00E5FF;
    /* Neon Cyan */
    --col-secondary: #BD00FF;
    /* Deep Purple */
    --col-text: #F8FAFC;
    /* Crisp White */
    --col-text-muted: #94A3B8;
    /* Slate Gray */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --header-height: 90px;
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--col-bg);
    color: var(--col-text);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Animated Aurora Background */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--col-bg);
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--col-secondary) 0%, transparent 70%);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--col-primary) 0%, transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, #0055ff 0%, transparent 70%);
    animation-delay: -10s;
    opacity: 0.3;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 10%) scale(1.1);
    }

    100% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--col-primary), var(--col-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    text-align: center;
    color: var(--col-text-muted);
    max-width: 650px;
    margin: 0 auto 4rem;
    font-size: 1.15rem;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(189, 0, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--col-primary), var(--col-secondary));
    z-index: -1;
    opacity: 0;
    transition: var(--transition-fast);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(189, 0, 255, 0.4);
    border-color: transparent;
}

.btn-glass {
    background: var(--col-glass);
    border-color: var(--col-glass-border);
    color: #fff;
}

.btn-glass:hover {
    background: var(--col-glass-hover);
    border-color: var(--col-primary);
    transform: translateY(-3px);
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

section {
    padding: 7rem 0;
    position: relative;
}

/* Glassmorphism Panel Base */
.glass-panel {
    background: var(--col-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--col-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Header & Nav (STRICTLY CONSISTENT SITE-WIDE)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 8, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--col-glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.site-header.scrolled {
    height: 75px;
    background: rgba(5, 8, 20, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-container img {
    height: 50px;
    filter: invert(1);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--col-primary);
    transition: var(--transition-fast);
    box-shadow: 0 0 10px var(--col-primary);
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    transform: translateX(-50%) scale(1);
}

.header-cta {
    padding: 0.6rem 1.5rem;
    background: var(--col-glass);
    border: 1px solid var(--col-glass-border);
    border-radius: 50px;
    color: #fff !important;
}

.header-cta::after {
    display: none;
}

.header-cta:hover {
    background: var(--col-primary);
    border-color: var(--col-primary);
    color: var(--col-bg) !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 30px;
    height: 2px;
    background: #fff;
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.2s;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--col-text-muted);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.4s;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.6s;
}

/* 3D Floating Glass Cards in Hero */
.hero-visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards 0.8s;
}

.glass-card-float {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
}

.gc-1 {
    top: 10%;
    left: 10%;
    width: 280px;
    z-index: 3;
    animation: floatCard 8s infinite alternate ease-in-out;
}

.gc-2 {
    top: 40%;
    right: 0;
    width: 250px;
    z-index: 2;
    animation: floatCard 10s infinite alternate-reverse ease-in-out;
    border-color: rgba(0, 229, 255, 0.3);
}

.gc-3 {
    bottom: 5%;
    left: 20%;
    width: 300px;
    z-index: 1;
    animation: floatCard 12s infinite alternate ease-in-out;
    border-color: rgba(189, 0, 255, 0.3);
}

.gc-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    color: var(--col-primary);
}

.gc-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gc-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}

.gc-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--col-primary), var(--col-secondary));
    width: 70%;
}

@keyframes floatCard {
    0% {
        transform: translateY(0) rotateX(5deg) rotateY(0);
    }

    100% {
        transform: translateY(-20px) rotateX(-5deg) rotateY(10deg);
    }
}

/* ==========================================================================
   2. Trust Logos Section
   ========================================================================== */
.trust-section {
    padding: 3rem 0;
    border-top: 1px solid var(--col-glass-border);
    border-bottom: 1px solid var(--col-glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.trust-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.5;
    transition: var(--transition-fast);
}

.trust-flex:hover {
    opacity: 1;
}

.trust-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--col-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   3. Metrics / Stats Section
   ========================================================================== */
.metrics-section {
    z-index: 2;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.metric-card {
    text-align: center;
    padding: 3rem 2rem;
    transition: var(--transition-fast);
}

.metric-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--col-primary);
}

.metric-number {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--col-primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-label {
    font-size: 1.1rem;
    color: var(--col-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   4. Services Section (3D Glass Tilt)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    perspective: 1000px;
}

.service-card {
    padding: 3rem;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

/* JS will apply inline transform for tilt. Adding a glow effect inside */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--col-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transform: translateZ(30px);
    /* 3D pop out */
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    transform: translateZ(20px);
}

.service-card p {
    color: var(--col-text-muted);
    margin-bottom: 1.5rem;
    transform: translateZ(10px);
}

.service-link {
    color: var(--col-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transform: translateZ(20px);
}

.service-link svg {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    transition: 0.3s;
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* ==========================================================================
   5. Industries Section (Expanding Accordion/Cards)
   ========================================================================== */
.industries-grid {
    display: flex;
    gap: 1rem;
    height: 450px;
}

.ind-panel {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    border: 1px solid var(--col-glass-border);
}

.ind-panel:hover {
    flex: 3;
    border-color: var(--col-secondary);
}

.ind-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) opacity(0.3);
    transition: 0.6s;
}

/* Pseudo background patterns for visual interest */
.ind-panel:nth-child(1) .ind-bg {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.ind-panel:nth-child(2) .ind-bg {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%);
    background-size: 30px 30px;
}

.ind-panel:nth-child(3) .ind-bg {
    background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05), transparent 2px, transparent 10px);
}

.ind-panel:nth-child(4) .ind-bg {
    background-image: radial-gradient(rgba(0, 229, 255, 0.1) 2px, transparent 2px);
    background-size: 40px 40px;
}

.ind-panel:hover .ind-bg {
    filter: grayscale(0%) opacity(0.8);
    transform: scale(1.05);
}

.ind-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, var(--col-bg), transparent);
    white-space: nowrap;
    overflow: hidden;
}

.ind-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.ind-content p {
    color: var(--col-text-muted);
    opacity: 0;
    transition: 0.4s;
    transform: translateY(20px);
    white-space: normal;
}

.ind-panel:hover .ind-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* ==========================================================================
   6. Interactive Dashboard / Analytics
   ========================================================================== */
.dashboard-wrapper {
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--col-glass-border);
    padding-bottom: 1.5rem;
}

.dash-title h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.dash-title p {
    color: var(--col-text-muted);
}

.dash-stat h2 {
    font-size: 3rem;
    color: var(--col-primary);
    line-height: 1;
}

.chart-area {
    height: 250px;
    display: flex;
    align-items: flex-end;
    gap: 2%;
    position: relative;
}

.chart-grid-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    left: 0;
}

.cgl-1 {
    bottom: 25%;
}

.cgl-2 {
    bottom: 50%;
}

.cgl-3 {
    bottom: 75%;
}

.cgl-4 {
    top: 0;
}

.bar-wrap {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
}

.bar-glass {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
    height: 0;
    /* Animated via JS */
    transition: height 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(189, 0, 255, 0.5), rgba(0, 229, 255, 0.8));
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5);
}

.bar-label {
    margin-top: 10px;
    color: var(--col-text-muted);
    font-weight: 500;
}

/* ==========================================================================
   7. Methodology (Glowing Timeline)
   ========================================================================== */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.timeline-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--col-primary), var(--col-secondary));
    opacity: 0.3;
    z-index: 0;
}

.time-step {
    position: relative;
    z-index: 1;
}

.step-dot {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--col-bg);
    border: 2px solid var(--col-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
    transition: 0.4s;
}

.time-step:hover .step-dot {
    border-color: var(--col-primary);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
    transform: scale(1.1);
}

.time-step h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.time-step p {
    color: var(--col-text-muted);
}

/* ==========================================================================
   8. Showcase / Tech Integration
   ========================================================================== */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 2rem;
    border: 1px solid var(--col-glass-border);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.code-block {
    font-family: monospace;
    color: var(--col-primary);
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.8;
}

.code-comment {
    color: var(--col-text-muted);
}

.code-string {
    color: var(--col-secondary);
}

/* ==========================================================================
   9. Testimonials (Glass Carousel)
   ========================================================================== */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testi-card {
    padding: 3rem;
    position: relative;
}

.quote-mark {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
    line-height: 1;
}

.testi-text {
    font-size: 1.1rem;
    color: var(--col-text);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testi-client {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--col-primary), var(--col-secondary));
}

.client-info h4 {
    font-size: 1rem;
}

.client-info p {
    font-size: 0.85rem;
    color: var(--col-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   10. CTA Section
   ========================================================================== */
.cta-section {
    text-align: center;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(189, 0, 255, 0.2) 0%, transparent 60%);
    z-index: 0;
    border-radius: 50%;
    filter: blur(60px);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   11. Footer (STRICTLY CONSISTENT SITE-WIDE)
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--col-glass-border);
    padding: 5rem 0 2rem;
    background: rgba(5, 8, 20, 0.8);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    filter: invert(1);
}

.footer-col p {
    color: var(--col-text-muted);
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--col-text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--col-primary);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--col-glass-border);
    border-radius: 8px 0 0 8px;
    color: #fff;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--col-primary);
}

.newsletter-form button {
    padding: 1rem 1.5rem;
    background: var(--col-primary);
    color: var(--col-bg);
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background: #fff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--col-glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--col-text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links a {
    margin-left: 20px;
    transition: 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--col-primary);
}

/* ==========================================================================
   Internal Pages (Legal & Contact)
   ========================================================================== */
.page-header {
    padding: 12rem 0 6rem;
    text-align: center;
    border-bottom: 1px solid var(--col-glass-border);
    background: linear-gradient(to bottom, rgba(5, 8, 20, 0) 0%, rgba(5, 8, 20, 0.8) 100%);
}

.page-header h1 {
    font-size: 4rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-content h2 {
    font-size: 2rem;
    color: var(--col-primary);
    margin: 3rem 0 1rem;
}

.legal-content p {
    color: var(--col-text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    color: var(--col-text-muted);
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 0;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--col-primary);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-text p {
    color: var(--col-text-muted);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--col-text-muted);
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--col-glass-border);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--col-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   Animations & Media Queries
   ========================================================================== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
        /* Hide complex 3D on tablet for cleaner UX */
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        flex-direction: column;
        height: auto;
        gap: 1rem;
    }

    .ind-panel {
        height: 150px;
    }

    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem 2rem;
    }

    .timeline-grid::before {
        display: none;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(5, 8, 20, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-fast);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .testi-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}