/* =========================================
   1. VARIABLES & THEME SETUP
   ========================================= */
:root {
    /* Core Colors */
    --bg-dark: #050507;
    --bg-darker: #020203;
    --bg-card: rgba(20, 20, 30, 0.6);
    --bg-input: rgba(255, 255, 255, 0.05);

    /* Brand Colors */
    --primary: #6366f1;
    /* Indigo-500 */
    --primary-hover: #4f46e5;
    /* Indigo-600 */
    --accent: #06b6d4;
    /* Cyan-500 */
    --accent-glow: rgba(6, 182, 212, 0.5);
    --purple: #a855f7;

    /* Text Colors */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-hover: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    --gradient-text: linear-gradient(90deg, #818cf8, #22d3ee);
    --gradient-border: linear-gradient(to right, var(--primary), var(--purple));

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 20px rgba(99, 102, 241, 0.4);
    --glow-accent: 0 0 20px rgba(6, 182, 212, 0.4);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-highlight: 1px solid rgba(255, 255, 255, 0.15);
}

/* =========================================
   2. GLOBAL RESET & BASE STYLES
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 8rem 0;
}

/* Helper Classes */
.text-center {
    text-align: center;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* =========================================
   3. COMPONENTS & UTILITIES
   ========================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-main);
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-glow {
    background: var(--bg-darker);
    color: white;
    border: 1px solid var(--primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.btn-glow:hover {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.btn-white {
    background: white;
    color: var(--bg-dark);
}

.btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.full-width {
    width: 100%;
}

/* Glass Card */
.card-glass {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-top: var(--glass-highlight);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Badge */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #818cf8;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   4. ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
    }
}

@keyframes rotate-cube {
    0% {
        transform: rotateX(-15deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(-15deg) rotateY(360deg);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 {
    animation-delay: 0.1s;
    transition-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

/* Scroll Animation Classes */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   5. HEADER & NAVIGATION (STRICT)
   ========================================= */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.main-header.scrolled {
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.site-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Desktop Nav */
.desktop-nav {
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-item {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: white;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

/* Header Buttons */
.header-cta-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobile Toggle */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1100;
    flex-direction: column;
    justify-content: space-between;
}

.line {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Mobile Menu Interaction States */
.mobile-nav-overlay.active+.header-cta-group .line-1 {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-nav-overlay.active+.header-cta-group .line-2 {
    opacity: 0;
}

.mobile-nav-overlay.active+.header-cta-group .line-3 {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-links {
    text-align: center;
}

.mobile-links li {
    margin: 25px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-nav-overlay.active .mobile-links li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delay via nth-child logic in CSS (Hardcoded for 5 links) */
.mobile-nav-overlay.active .mobile-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav-overlay.active .mobile-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav-overlay.active .mobile-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav-overlay.active .mobile-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-links a {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
}

.mobile-links a:hover {
    color: var(--accent);
}

/* =========================================
   6. HERO SECTION (Advanced 3D & Grid)
   ========================================= */
.hero-section {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: -1;
}

.orb-1 {
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: var(--primary);
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: var(--accent);
    animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.25rem;
    max-width: 540px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.trust-metrics {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-item .counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
}

.metric-item span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.metric-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* 3D Cube Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.cube-container {
    width: 250px;
    height: 250px;
    transform-style: preserve-3d;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(-20deg) rotateY(-20deg);
    animation: rotate-cube 20s linear infinite;
}

.face {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 2px solid var(--accent);
    background: rgba(6, 182, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15) inset;
    backdrop-filter: blur(2px);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.front {
    transform: translateZ(125px);
}

.back {
    transform: rotateY(180deg) translateZ(125px);
}

.right {
    transform: rotateY(90deg) translateZ(125px);
}

.left {
    transform: rotateY(-90deg) translateZ(125px);
}

.top {
    transform: rotateX(90deg) translateZ(125px);
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.15);
}

.bottom {
    transform: rotateX(-90deg) translateZ(125px);
    border-color: var(--primary);
}

/* =========================================
   7. SERVICES SECTION
   ========================================= */
.services-section {
    background: var(--bg-darker);
    position: relative;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-light);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .icon-box {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-list {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.service-list i {
    color: var(--accent);
    font-size: 0.8rem;
}

/* =========================================
   8. ROI CALCULATOR (Dashboard Style)
   ========================================= */
.roi-section {
    background: radial-gradient(circle at 50% 50%, #11111d 0%, var(--bg-dark) 80%);
}

.roi-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.roi-content h2 {
    margin-bottom: 1.5rem;
}

.roi-features .feature {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 3px solid var(--accent);
    transition: transform 0.3s;
}

.roi-features .feature:hover {
    transform: translateX(10px);
}

.roi-features i {
    color: var(--accent);
    font-size: 1.25rem;
}

.roi-tool {
    background: rgba(20, 20, 25, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

.roi-result {
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.result-row.highlight {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    align-items: center;
}

.result-row.highlight strong {
    font-size: 1.5rem;
    color: var(--accent);
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

/* =========================================
   9. PROCESS & TESTIMONIALS
   ========================================= */
.process-section {
    position: relative;
    overflow: hidden;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

/* Connecting line */
.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    /* Aligns with center of number */
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    z-index: 0;
}

.process-step {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    flex-shrink: 0;
}

.step-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: var(--glass-border);
    flex-grow: 1;
    transition: transform 0.3s;
}

.step-content:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.step-content h3 {
    color: var(--primary-hover);
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: var(--glass-border);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 5rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 2rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-main);
    text-align: center;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* =========================================
   10. INNER PAGES (Contact, Legal)
   ========================================= */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(to bottom, #020203 0%, #0f0f18 100%);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.breadcrumbs {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.breadcrumbs i {
    font-size: 0.7rem;
    color: var(--primary);
}

.breadcrumbs span {
    color: var(--primary);
}

/* Contact Specifics */
.contact-wrapper {
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info-panel {
    height: 100%;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: background 0.3s;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.03);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    font-size: 1.2rem;
}

.form-container form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: var(--glass-border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

/* Legal Content */
.legal-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
}

.legal-content-wrapper h2 {
    color: var(--primary-hover);
    margin-top: 3rem;
    font-size: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.legal-content-wrapper p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-content-wrapper ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.legal-content-wrapper li {
    margin-bottom: 0.5rem;
}

/* =========================================
   11. FOOTER (Strict)
   ========================================= */
.main-footer {
    background: #000;
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

.brand-col p {
    max-width: 300px;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
}

.links-col ul li {
    margin-bottom: 0.8rem;
}

.links-col a {
    color: var(--text-muted);
    transition: all 0.3s;
}

.links-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

.contact-details i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* =========================================
   12. RESPONSIVENESS
   ========================================= */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text p,
    .hero-buttons {
        margin-left: auto;
        margin-right: auto;
    }

    .trust-metrics {
        justify-content: center;
    }

    .hero-visual {
        display: none;
        /* Hide complex 3D on smaller tablets to focus on content */
    }

    .roi-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-section {
        padding-top: 140px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .process-timeline::before {
        left: 30px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .process-step {
        gap: 1.5rem;
    }

    .step-content {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-container form {
        padding: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}