/* ==========================================================================
   AGILEX SOLUTIONS - APPLE LIQUID GLASS DESIGN SYSTEM
   Brand Colors: Gold (#D4AF37, #E6C86A), Cyber Navy (#041A4A, #0A2B75), Midnight (#02050A, #050B14)
   ========================================================================== */

:root {
    /* Brand Colors */
    --gold-primary: #D4AF37;
    --gold-glow: #E6C86A;
    --gold-dark: #9A7B1C;
    --gold-soft: rgba(212, 175, 55, 0.15);
    
    --navy-deep: #041A4A;
    --navy-glow: #0A2B75;
    --navy-dark: #020D26;
    
    --bg-midnight: #02050A;
    --bg-dark: #050B14;
    --bg-card: rgba(4, 26, 74, 0.25);
    
    /* Typography */
    --text-white: #FFFFFF;
    --text-slate: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dim: #64748B;

    /* Apple Liquid Glass Tokens */
    --glass-bg: rgba(4, 26, 74, 0.2);
    --glass-bg-hover: rgba(6, 34, 94, 0.35);
    --glass-border: rgba(212, 175, 55, 0.18);
    --glass-border-bright: rgba(230, 200, 106, 0.5);
    --glass-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    --glass-shadow-glow: 0 0 40px rgba(212, 175, 55, 0.25);
    --glass-reflection: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(212, 175, 55, 0.08) 100%);
    --liquid-blur: blur(28px) saturate(210%);
    
    --radius-pill: 9999px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 12px;

    --transition-fluid: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-midnight);
    color: var(--text-slate);
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-midnight);
    color: var(--text-slate);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    selection-background-color: var(--gold-primary);
    selection-color: var(--bg-midnight);
}

::selection {
    background: var(--gold-primary);
    color: var(--bg-midnight);
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--transition-fluid);
}

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

/* Background Liquid Canvas */
#liquid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Ambient Ambient Glow Orbs */
.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.45;
    animation: orbFloat 18s ease-in-out infinite alternate;
}

.ambient-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-primary) 0%, rgba(4, 26, 74, 0) 70%);
    top: -100px;
    right: -100px;
}

.ambient-orb-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--navy-glow) 0%, rgba(2, 5, 10, 0) 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -9s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
    100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* Custom Interactive Liquid Cursor */
.liquid-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold-glow);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    box-shadow: 0 0 15px var(--gold-glow);
}

.liquid-cursor-ring {
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(230, 200, 106, 0.4);
    background: rgba(212, 175, 55, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.3s var(--transition-fluid), height 0.3s var(--transition-fluid), border-color 0.3s;
}

body.cursor-hover .liquid-cursor-dot {
    width: 14px;
    height: 14px;
    background-color: var(--text-white);
}

body.cursor-hover .liquid-cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--gold-glow);
    background: rgba(212, 175, 55, 0.15);
}

/* Scroll Progress Line */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-glow));
    z-index: 10000;
    box-shadow: 0 0 12px var(--gold-glow);
    transition: width 0.1s linear;
}

/* Containers */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
}

/* Apple Liquid Glass Card Base */
.liquid-glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--transition-fluid), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.liquid-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glass-reflection);
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

/* Dynamic Specular Light Follower */
.liquid-glass-card .specular-highlight {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(230, 200, 106, 0.25) 0%, rgba(212, 175, 55, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.liquid-glass-card:hover .specular-highlight {
    opacity: 1;
}

.liquid-glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--glass-border-bright);
    box-shadow: var(--glass-shadow), var(--glass-shadow-glow);
    background: var(--glass-bg-hover);
}

/* Typography & Gradient Accents */
.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--gold-glow) 50%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold-glow) 0%, var(--gold-primary) 60%, #B89020 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--gold-glow);
    font-size: 0.825rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--text-white);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

/* Liquid Glass Buttons */
.btn-liquid-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-glow) 100%);
    color: var(--bg-midnight);
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-fluid);
    z-index: 1;
}

.btn-liquid-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.8s ease;
}

.btn-liquid-primary:hover::after {
    transform: rotate(45deg) translateY(100%);
}

.btn-liquid-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 40px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #000;
}

.btn-liquid-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: var(--radius-pill);
    background: var(--glass-bg);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border: 1px solid var(--glass-border-bright);
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.4s var(--transition-fluid);
}

.btn-liquid-secondary:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-glow);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(4, 26, 74, 0.5);
}

/* Floating Capsule Navbar */
.navbar-wrapper {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 1.5rem;
    transition: transform 0.4s var(--transition-fluid), top 0.4s ease;
}

.navbar-capsule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    padding: 12px 28px;
    background: rgba(4, 26, 74, 0.35);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.4s var(--transition-fluid);
}

.navbar-capsule.scrolled {
    padding: 10px 24px;
    background: rgba(2, 5, 10, 0.75);
    border-color: var(--glass-border-bright);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.15);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.brand-logo:hover img {
    transform: scale(1.05);
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-white);
}

.brand-accent {
    color: var(--gold-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-glow));
    border-radius: 2px;
    transition: width 0.3s ease, left 0.3s ease;
}

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

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

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 160px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.hero-badge {
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.75rem;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Dynamic Floating Feature Cards in Hero */
.hero-floater-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 5rem;
}

.hero-floater-card {
    padding: 24px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.hero-floater-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-glow);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.hero-floater-text h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.hero-floater-text p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* About Section & Interactive Counter Cards */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.about-text-card {
    padding: 48px;
}

.about-paragraph {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.stat-card {
    padding: 28px;
    text-align: center;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold-glow);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    color: var(--text-slate);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-visual-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.visual-glass-box {
    padding: 32px;
    position: relative;
}

.visual-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(4, 26, 74, 0.4));
    border: 1px solid var(--glass-border-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--gold-glow);
    margin-bottom: 20px;
}

.visual-glass-box h3 {
    font-size: 1.35rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.visual-glass-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Services Grid & Touch Swipe Feature */
.services-header {
    text-align: center;
}

.services-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    background: rgba(4, 26, 74, 0.3);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--transition-fluid);
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold-glow);
    color: var(--text-white);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.services-swipe-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    padding-bottom: 20px;
}

.service-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.service-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold-glow);
    margin-bottom: 24px;
    transition: transform 0.4s var(--transition-fluid), background 0.4s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-glow));
    color: var(--bg-midnight);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-glow);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.service-card:hover .service-link {
    gap: 14px;
}

/* Process Timeline (Liquid Glowing Line) */
.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: rgba(212, 175, 55, 0.15);
    transform: translateX(-50%);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 0%;
    background: linear-gradient(to bottom, var(--gold-primary), var(--gold-glow));
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--gold-glow);
    transition: height 0.2s ease-out;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 60px;
    position: relative;
    margin-bottom: 60px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 60px;
    margin-left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 24px;
    right: -11px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-midnight);
    border: 3px solid var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
    z-index: 5;
    transition: background 0.3s ease, transform 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -11px;
}

.timeline-item.active .timeline-dot {
    background: var(--gold-glow);
    transform: scale(1.25);
}

.timeline-card {
    padding: 32px;
    width: 100%;
}

.timeline-step {
    color: var(--gold-glow);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.timeline-card h4 {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.timeline-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact & Inquiry Glass Portal */
.contact-glass-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    padding: 56px;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 2.5rem;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-method-card:hover {
    transform: translateX(8px);
    border-color: var(--gold-glow);
}

.method-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-glow);
    font-size: 1.35rem;
    flex-shrink: 0;
}

.method-text h5 {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.method-text a, .method-text span {
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.05rem;
}

.method-text a:hover {
    color: var(--gold-glow);
}

/* Form Controls */
.liquid-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.875rem;
    color: var(--text-slate);
    font-weight: 500;
}

.liquid-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(2, 5, 10, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.liquid-input:focus {
    outline: none;
    border-color: var(--gold-glow);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
    background: rgba(4, 26, 74, 0.4);
}

textarea.liquid-input {
    resize: vertical;
    min-height: 130px;
}

.form-status-alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-status-alert.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34D399;
}

.form-status-alert.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #F87171;
}

/* Apple-Style Liquid AI Assistant Widget */
.ai-widget-bubble {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary), var(--navy-glow));
    border: 1.5px solid var(--gold-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.3);
    z-index: 2000;
    transition: all 0.4s var(--transition-fluid);
}

.ai-widget-bubble:hover {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.5);
}

.ai-badge-pulse {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gold-glow);
    color: var(--bg-midnight);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 10px;
    border: 2px solid var(--bg-midnight);
}

.ai-glass-window {
    position: fixed;
    bottom: 115px;
    right: 32px;
    width: 400px;
    height: 540px;
    background: rgba(4, 26, 74, 0.45);
    backdrop-filter: var(--liquid-blur);
    -webkit-backdrop-filter: var(--liquid-blur);
    border: 1px solid var(--glass-border-bright);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 2001;
    overflow: hidden;
    transform: translateY(30px) scale(0.92);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--transition-fluid);
}

.ai-glass-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.ai-window-header {
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-bot-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
}

.ai-bot-info h4 {
    color: var(--gold-glow);
    font-size: 1.05rem;
    font-weight: 600;
}

.ai-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ai-close-btn:hover {
    color: var(--text-white);
}

.ai-messages-list {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-msg-bubble {
    max-width: 82%;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: fadeInMsg 0.3s ease;
}

.ai-msg-bubble.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-slate);
    border-bottom-left-radius: 4px;
}

.ai-msg-bubble.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-glow));
    color: var(--bg-midnight);
    font-weight: 500;
    border-bottom-right-radius: 4px;
}

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

.ai-chips-container {
    padding: 10px 20px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-chip-btn {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold-glow);
    font-size: 0.775rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-chip-btn:hover {
    background: var(--gold-glow);
    color: var(--bg-midnight);
}

.ai-input-form {
    padding: 16px 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--glass-border);
    background: rgba(2, 5, 10, 0.4);
}

.ai-input-form input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    padding: 10px 18px;
    color: var(--text-white);
    font-size: 0.9rem;
}

.ai-input-form input:focus {
    outline: none;
    border-color: var(--gold-glow);
}

.ai-input-form button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gold-primary);
    border: none;
    color: var(--bg-midnight);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.ai-input-form button:hover {
    transform: scale(1.08);
}

/* Footer Section */
.liquid-footer {
    padding: 5rem 0 2.5rem;
    background: var(--bg-midnight);
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand-slogan {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

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

.footer-links a:hover {
    color: var(--gold-glow);
}

.footer-social-icons {
    display: flex;
    gap: 14px;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(4, 26, 74, 0.3);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-slate);
    transition: all 0.3s ease;
}

.social-icon-btn:hover {
    background: var(--gold-primary);
    color: var(--bg-midnight);
    border-color: var(--gold-primary);
    transform: translateY(-4px);
}

.footer-bottom-bar {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    font-size: 0.875rem;
}

/* Ambient Cyber Grid & Background Glow Pattern */
.liquid-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(212, 175, 55, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.65;
}

/* Section Page Transition Animation Effects */
section.section, section.hero-section, section.showcase-section {
    transition: transform 0.8s var(--transition-fluid), opacity 0.8s var(--transition-fluid), filter 0.8s var(--transition-fluid);
    will-change: transform, opacity, filter;
}

.section-transition-out {
    opacity: 0.2;
    transform: scale(0.96) translateY(-40px);
    filter: blur(8px);
}

.section-transition-in {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
}

/* Scroll Reveal Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px) scale(0.94);
    transition: opacity 0.9s var(--transition-fluid), transform 0.9s var(--transition-fluid);
    will-change: opacity, transform;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==========================================================================
   3D GLASS LAPTOP SHOWCASE & DASHBOARD TELEMETRY
   ========================================================================== */
.showcase-section {
    padding: 5rem 0 7rem;
    position: relative;
}

.laptop-3d-stage {
    perspective: 1400px;
    perspective-origin: 50% 50%;
    margin: 3rem auto 0;
    max-width: 980px;
    position: relative;
    transform: rotateX(32deg) translateY(120px) scale(0.85);
    opacity: 0.2;
    transition: transform 1.1s var(--transition-fluid), opacity 1.1s var(--transition-fluid);
}

.laptop-3d-stage.scroll-revealed {
    transform: rotateX(0deg) translateY(0) scale(1);
    opacity: 1;
}

.laptop-3d-device {
    transform-style: preserve-3d;
    transition: transform 0.25s var(--transition-fluid);
    position: relative;
    width: 100%;
}

.laptop-screen-bezel {
    background: #020610;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px 20px 6px 6px;
    padding: 12px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 50px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.laptop-camera-notch {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #000;
    border-radius: 4px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laptop-camera-lens {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #0A2B75;
    box-shadow: 0 0 6px #D4AF37;
}

.laptop-screen-display {
    background: linear-gradient(135deg, #030A1A 0%, #051333 100%);
    border-radius: 12px;
    min-height: 480px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
}

.laptop-gloss-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
    z-index: 8;
}

.screen-top-bar {
    background: rgba(4, 26, 74, 0.7);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.screen-tabs {
    display: flex;
    gap: 8px;
}

.screen-tab-btn {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.screen-tab-btn.active, .screen-tab-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold-glow);
    color: var(--gold-glow);
}

.screen-live-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #34D399;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    animation: statusPulse 1.5s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.screen-body {
    padding: 24px;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.dashboard-panel {
    display: none;
    animation: fadeInDashboard 0.4s var(--transition-fluid);
}

.dashboard-panel.active {
    display: block;
}

@keyframes fadeInDashboard {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.dash-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.dash-card {
    background: rgba(4, 26, 74, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 16px;
    backdrop-filter: blur(10px);
}

.dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.775rem;
    margin-bottom: 8px;
}

.dash-card-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-glow);
    font-family: 'Outfit', sans-serif;
}

.dash-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.dash-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-glow));
    border-radius: 3px;
    transition: width 1s var(--transition-fluid);
}

.dash-main-chart-box {
    background: rgba(4, 26, 74, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 14px;
    padding: 20px;
    margin-top: 16px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

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

.chart-legend {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.chart-wave-svg {
    width: 100%;
    height: 140px;
}

.laptop-keyboard-base {
    height: 24px;
    background: linear-gradient(to bottom, #0A1633 0%, #030814 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-top: none;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.15);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laptop-notch-cutout {
    width: 80px;
    height: 6px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 0 0 6px 6px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.8rem; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-glass-wrapper { grid-template-columns: 1fr; padding: 36px; }
    .hero-floater-grid { grid-template-columns: 1fr; }
    .dash-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar-capsule { padding: 10px 18px; }
    .nav-menu {
        position: fixed;
        top: 90px;
        left: 20px;
        right: 20px;
        background: rgba(2, 5, 10, 0.95);
        backdrop-filter: var(--liquid-blur);
        -webkit-backdrop-filter: var(--liquid-blur);
        border: 1px solid var(--glass-border-bright);
        border-radius: var(--radius-lg);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.4s var(--transition-fluid);
    }
    .nav-menu.active { clip-path: circle(140% at 100% 0); }
    .mobile-toggle { display: block; }
    .hero-title { font-size: 2.75rem; }
    .hero-description { font-size: 1.1rem; }
    .section-title { font-size: 2.25rem; }
    .timeline-line, .timeline-progress { left: 20px; transform: none; }
    .timeline-item { width: 100%; padding-left: 60px; padding-right: 0; margin-left: 0 !important; }
    .timeline-dot { left: 9px !important; right: auto !important; }
    .ai-glass-window { width: calc(100vw - 40px); right: 20px; bottom: 100px; height: 480px; }
    .dash-grid-4 { grid-template-columns: 1fr; }
    .laptop-screen-display { min-height: 520px; }
}
