/* ==========================================================================
   SPARKTRONIX ELECTRONICS - PREMIUM STYLING SYSTEM
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN SYSTEM VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --bg-darker: #060913;
    --bg-dark: #0b0f19;
    --bg-card: rgba(18, 24, 38, 0.6);
    --bg-input: rgba(10, 15, 30, 0.8);
    
    --primary-cyan: #00f2fe;
    --primary-blue: #4facfe;
    --accent-purple: #7f00ff;
    --accent-pink: #e100ff;
    
    --text-pure: #ffffff;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dark: #475569;
    
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-glow: rgba(0, 242, 254, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    
    /* Font System */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout Details */
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   2. GLOWING UTILITIES & BLOBS
   -------------------------------------------------------------------------- */
.glow-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.25;
    pointer-events: none;
    animation: pulseBlobs 12s infinite alternate ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    top: -100px;
    right: -50px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-purple) 0%, var(--accent-pink) 100%);
    bottom: -150px;
    left: -100px;
    animation-delay: -3s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-blue) 0%, var(--accent-purple) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.12;
    animation-delay: -6s;
}

@keyframes pulseBlobs {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(30px, -20px) scale(1.1);
    }
}

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

/* --------------------------------------------------------------------------
   3. BUTTONS & UI CONTROLS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 100%);
    color: var(--bg-darker);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-pure);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.5s ease-out;
    pointer-events: none;
}

.btn-glow:hover::after {
    transform: scale(1);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid var(--border-glow);
    color: var(--primary-cyan);
    border-radius: 50px;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

/* --------------------------------------------------------------------------
   4. SCROLL PROGRESS & HEADER Navigation
   -------------------------------------------------------------------------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-cyan), var(--accent-pink));
    z-index: 1001;
    transition: width 0.1s ease-out;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(6, 9, 19, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 70px;
    background: rgba(6, 9, 19, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-pure);
    background: linear-gradient(135deg, var(--text-pure) 50%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-cyan), var(--primary-blue));
    transition: var(--transition-smooth);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-pure);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 120px;
    min-height: 95vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at bottom, rgba(12, 19, 43, 0.6) 0%, var(--bg-darker) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(0, 242, 254, 0.05) 1px, transparent 1px),
        radial-gradient(rgba(127, 0, 255, 0.04) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-pure);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 460px;
    border-radius: var(--radius-lg);
    padding: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

.glow-ring {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        var(--primary-cyan),
        var(--accent-purple),
        transparent
    );
    animation: rotateGlow 8s linear infinite;
    z-index: 1;
    opacity: 0.4;
    mix-blend-mode: screen;
}

.hero-img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-lg) - 8px);
    display: block;
    z-index: 2;
    filter: brightness(0.85) contrast(1.1);
    transition: var(--transition-smooth);
}

.visual-wrapper:hover .hero-img {
    transform: scale(1.03);
    filter: brightness(1) contrast(1.15);
}

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

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: var(--bg-dark);
}

/* --------------------------------------------------------------------------
   6. STATS SECTION
   -------------------------------------------------------------------------- */
.stats-section {
    background-color: var(--bg-dark);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-glass);
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-pure) 50%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. SOLUTIONS & SERVICES
   -------------------------------------------------------------------------- */
.solutions-section {
    padding: 120px 0;
    background-color: var(--bg-darker);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 80px auto;
}

.section-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--primary-cyan);
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-pure);
    line-height: 1.25;
    margin-bottom: 20px;
}

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

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-cyan), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 
        0 15px 40px var(--glass-shadow),
        0 0 25px rgba(0, 242, 254, 0.05);
}

.solution-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.solution-card:hover .solution-icon {
    background: var(--primary-cyan);
    color: var(--bg-darker);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.solution-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-pure);
    margin-bottom: 16px;
}

.solution-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-cyan);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.solution-link svg {
    transition: transform var(--transition-fast);
}

.solution-link:hover {
    color: var(--text-pure);
}

.solution-link:hover svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
    padding: 120px 0;
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 480px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-frame {
    position: absolute;
    border-radius: var(--radius-md);
    padding: 6px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid var(--border-glass);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-md) - 4px);
    display: block;
    filter: brightness(0.8) contrast(1.1);
}

.frame-1 {
    width: 75%;
    height: 75%;
    top: 0;
    left: 0;
    z-index: 2;
}

.frame-2 {
    width: 70%;
    height: 70%;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.image-stack:hover .frame-1 {
    transform: translate(-10px, -10px) scale(1.02);
    z-index: 1;
}

.image-stack:hover .frame-2 {
    transform: translate(15px, 15px) scale(1.03);
    z-index: 3;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
}

.about-content .section-tagline {
    text-align: left;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content > p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.about-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-points li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.point-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
}

.about-points h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-pure);
    margin-bottom: 6px;
}

.about-points p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   9. LOCATION & MAP SECTION
   -------------------------------------------------------------------------- */
.location-section {
    padding: 120px 0;
    background-color: var(--bg-darker);
}

.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 60px;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    height: 450px;
}

.map-container iframe {
    /* Magic Dark Mode filter for standard embedded map */
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.map-container:hover iframe {
    opacity: 1;
    filter: invert(90%) hue-rotate(180deg) brightness(100%) contrast(95%);
}

.location-info {
    display: flex;
    flex-direction: column;
}

.info-card {
    height: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-pure);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 2px;
}

.address-box {
    margin-bottom: 30px;
}

.address-box p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.address-box .street {
    font-weight: 600;
    color: var(--text-pure);
}

.address-box .city-zip {
    color: var(--text-pure);
}

.address-box .county {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.address-box .country {
    color: var(--primary-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.detail-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
}

.detail-item h5 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.detail-link {
    font-size: 1rem;
    color: var(--text-pure);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.detail-link:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

/* --------------------------------------------------------------------------
   10. INTERACTIVE CONTACT FORM
   -------------------------------------------------------------------------- */
.contact-section {
    padding: 120px 0;
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    position: relative;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-text {
    max-width: 500px;
}

.contact-text .section-tagline {
    text-align: left;
}

.contact-text .section-title {
    margin-bottom: 24px;
}

.contact-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
}

.benefit-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 48px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    position: relative;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.3s ease;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-input {
    width: 100%;
    padding: 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-pure);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

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

/* Floating Labels Styling */
.form-label {
    position: absolute;
    left: 16px;
    top: 18px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-fast);
    transform-origin: left top;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    transform: translateY(-28px) scale(0.85);
    color: var(--primary-cyan);
}

/* Adjust select options & label */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Specific styling for select active states */
.select-label {
    top: 18px;
}

.form-select:focus ~ .select-label,
.form-select:valid ~ .select-label {
    transform: translateY(-28px) scale(0.85);
    color: var(--primary-cyan);
}

.error-msg {
    font-size: 0.8rem;
    color: var(--accent-pink);
    margin-top: 6px;
    display: none;
    font-family: var(--font-heading);
}

.form-input.invalid {
    border-color: var(--accent-pink);
    box-shadow: 0 0 15px rgba(225, 0, 255, 0.1);
}

.form-input.invalid ~ .error-msg {
    display: block;
}

.btn-submit {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: none;
    font-size: 1.05rem;
}

/* Spinner inside button */
.spinner {
    display: none;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(6, 9, 19, 0.3);
    border-radius: 50%;
    border-top-color: var(--bg-darker);
    animation: spin 0.8s linear infinite;
    position: absolute;
}

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

/* Success State View */
.form-success-state {
    display: none;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon-box {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    color: var(--primary-cyan);
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

.form-success-state h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-pure);
    margin-bottom: 12px;
}

.form-success-state p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    max-width: 320px;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. PREMIUM FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-glass);
    position: relative;
}

.footer-top {
    padding: 80px 0 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.7fr 1.4fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.1);
}

.footer-nav h4, .footer-address h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-pure);
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-nav ul a:hover {
    color: var(--primary-cyan);
    padding-left: 4px;
}

.footer-address {
    display: flex;
    flex-direction: column;
}

.footer-address .address-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact-info {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    white-space: nowrap;
}

.footer-contact-info strong {
    color: var(--text-pure);
}

.footer-contact-info a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-contact-info a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid var(--border-glass);
    background-color: rgba(4, 6, 12, 0.8);
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.bottom-container p:first-child {
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. SCROLL TO TOP & ANIMATIONS
   -------------------------------------------------------------------------- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(18, 24, 38, 0.8);
    border: 1px solid var(--border-glass);
    color: var(--text-pure);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-cyan);
    color: var(--bg-darker);
    border-color: var(--primary-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.3);
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-property: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Specific delay reveals */
.solutions-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.solutions-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.solutions-grid .reveal:nth-child(4) { transition-delay: 0.45s; }

/* --------------------------------------------------------------------------
   13. MEDIA QUERIES (RESPONSIVENESS)
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-container {
        gap: 30px;
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .about-visual {
        height: 380px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 768px) {
    /* Nav Menu Collapse */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(6, 9, 19, 0.95);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-glass);
        flex-direction: column;
        padding: 100px 40px;
        gap: 24px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    /* Menu Icon Morphing */
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
        padding-top: 40px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1; /* visual on top for mobile layout */
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        order: 1;
        max-width: 450px;
        width: 100%;
        margin: 0 auto;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 320px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .solution-card {
        padding: 30px 20px;
    }
    
    .about-visual {
        height: 300px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}
