/* PixelRise.ai - Titanium Dark Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Share+Tech+Mono&display=swap');

:root {
    /* Brand Colors (OLED Deep Space) */
    --primary-color: #FF5500;
    --primary-hover: #FF7733;
    --secondary-color: #000000;
    --accent-glow: #00FFFF;
    /* Cyber Cyan for subtle glows */

    /* Backgrounds - OLED & Glass */
    --bg-body: #000000;
    --bg-surface: rgba(255, 255, 255, 0.03);
    /* Glass 1 */
    --bg-card: rgba(255, 255, 255, 0.05);
    /* Glass 2 */
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    /* Glass Hover */

    /* Text */
    --text-main: #FFFFFF;
    --text-muted: #A3A3A3;
    --text-dark: #000000;

    /* Borders & Effects */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(255, 85, 0, 0.6);
    --glass-blur: blur(20px);
    --glow-shadow: 0 0 20px rgba(255, 85, 0, 0.15);

    /* Config */
    --particle-color: 255, 85, 0;
    --particle-accent: 0, 255, 255;
    --grid-overlay: none;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-body);
    background-image: var(--grid-overlay);
    /* For Cyberpunk */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    width: 100%;
}

.text-orange {
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.grid-cols-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-main);
    box-shadow: 0 4px 14px rgba(255, 85, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 85, 0, 0.6);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Header & Nav */
.site-header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Footer */
.site-footer {
    background-color: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    background: radial-gradient(circle at 50% 50%, rgba(255, 85, 0, 0.08) 0%, rgba(5, 5, 5, 0) 60%);
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}







/* --- Problems Section (Refined) --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.problem-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    /* Glass Effect */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

/* Subtle corner glow */
.problem-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.problem-card:hover::before {
    opacity: 0.2;
}

/* --- Holographic HUD Icons --- */
.problem-icon {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    /* Circular HUD */
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Subtle Glass */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Rotating Data Ring */
.problem-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(0, 255, 255, 0.3) 50%, transparent 100%);
    animation: hud-spin 4s linear infinite;
    opacity: 0.3;
    z-index: -1;
}

/* Inner Pulse Core */
.problem-icon::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    animation: hud-pulse 3s ease-in-out infinite alternate;
}

.problem-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--text-muted);
    stroke-width: 1.5;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

@keyframes hud-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes hud-pulse {
    0% {
        opacity: 0.3;
        transform: scale(0.95);
    }

    100% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Hover State: Activation */
.problem-card:hover .problem-icon {
    transform: scale(1.1);
    border-color: var(--accent-glow);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2), inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.problem-card:hover .problem-icon::before {
    opacity: 0.8;
    background: conic-gradient(from 0deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
    animation-duration: 1.5s;
    /* Speed up on interaction */
}

.problem-card:hover .problem-icon svg {
    stroke: #FFFFFF;
    filter: drop-shadow(0 0 8px var(--primary-color));
    transform: scale(1.1);
}

/* Cleaned up redundant hover styles */

.problem-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.problem-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile is handled by general grid-cols-1 override in media query below */

/* CTA Section */
.cta-section {
    background: linear-gradient(180deg, var(--bg-body) 0%, rgba(255, 85, 0, 0.05) 100%);
    text-align: center;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* JS will handle toggle */
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-body);
        flex-direction: column;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border-subtle);
        align-items: flex-start;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}



/* --- Holographic SVG Containers --- */
.hologram-container {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    /* Glass Effect */
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.hologram-container:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 85, 0, 0.1), inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.holo-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.1));
}

/* Animations using SVG transforms/opacity */

/* Scanline Animation */
@keyframes scanline {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.scan-line-anim {
    animation: scanline 3s linear infinite;
    opacity: 0.5;
}

/* Voice Pulse Animation */
@keyframes voice-pulse {
    0% {
        r: 20;
        opacity: 1;
    }

    100% {
        r: 35;
        opacity: 0;
    }
}

.voice-pulse-anim {
    animation: voice-pulse 1.5s ease-out infinite;
}

/* Wave Animations */
@keyframes wave-flow {
    0% {
        stroke-dashoffset: 0;
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: -20;
        opacity: 0.5;
    }
}

.wave-anim-1,
.wave-anim-2 {
    stroke-dasharray: 5 5;
    animation: wave-flow 2s linear infinite;
}

.wave-anim-2 {
    animation-duration: 3s;
    opacity: 0.3;
}

/* Data Packet Animation */
/* animateMotion is handled by SMIL in SVG, but we can add glow here */
.packet-anim {
    filter: drop-shadow(0 0 5px white);
}

/* --- Process Pipeline (How It Works) --- */
.process-pipeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .process-pipeline {
        flex-direction: column;
        gap: 3rem;
    }
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    max-width: 300px;
}

.holo-node-container {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Base Ring */
.holo-node-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1), inset 0 0 20px rgba(0, 255, 255, 0.05);
}

/* Spinning Parts */
.holo-node-container::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    border-left: 2px solid transparent;
    animation: holo-spin 3s linear infinite;
}

.holo-node-container::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border-bottom: 2px solid var(--accent-glow);
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    animation: holo-spin 2s linear reverse infinite;
}

.holo-node-core {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: #000;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 0 10px var(--primary-color);
    z-index: 10;
    transform: translate(25%, -25%);
    /* Offset positioning */
    border: 2px solid #000;
}

.holo-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    z-index: 5;
}

.pipeline-connector {
    flex: 1;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

@media (max-width: 768px) {
    .pipeline-connector {
        transform: rotate(90deg);
        width: 60px;
        height: 60px;
        flex: none;
        margin: -1rem 0;
        /* Tighten up verification on mobile */
    }
}

.connector-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.data-flow-anim {
    stroke-dasharray: 10 10;
    animation: data-flow 1s linear infinite;
}

@keyframes data-flow {
    from {
        stroke-dashoffset: 20;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes holo-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Small HUD Icons (Services) --- */
.hud-icon-small {
    width: 60px;
    height: 60px;
    background: rgba(0, 20, 40, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(0, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hud-icon-small:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.2);
    transform: translateY(-2px);
}

.hud-icon-small svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-color);
    stroke-width: 1.5;
    fill: none;
    filter: drop-shadow(0 0 5px rgba(255, 85, 0, 0.3));
}

/* Scanning effect for icons */
.hud-icon-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    animation: icon-scan 4s infinite;
}

@keyframes icon-scan {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 200%;
    }
}

/* --- Autopilot Section (formerly About) --- */
.autopilot-section-bg {
    position: relative;
    background: radial-gradient(circle at center, #0a0a0a, #000000);
    overflow: hidden;
}

.autopilot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .autopilot-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent-glow);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
}

/* Top accent bar */
.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.stat-card:hover::after {
    left: 0;
    right: 0;
    opacity: 1;
}

.stat-value {
    font-size: 4rem;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.stat-value.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 85, 0, 0.4);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

/* --- High-Tech Feature Cards (Solutions) --- */
.solution-section {
    background: #000000;
    position: relative;
    overflow: hidden;
}

/* Add grid background to solution section via pseudo-element */
.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 85, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 85, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.feature-card {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 85, 0, 0.1);
    transform: translateY(-5px);
    background: rgba(20, 20, 20, 0.8);
}

.feature-icon-container {
    width: 56px;
    height: 56px;
    background: rgba(255, 85, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 85, 0, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-container {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.4);
}

.feature-icon-container svg {
    width: 28px;
    height: 28px;
    fill: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-container svg {
    fill: #ffffff;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- Contact Form --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition-normal);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a3a3a3' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: #111;
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* --- Testimonials / Social Proof --- */
.testimonials-section {
    background: transparent;
    position: relative;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 85, 0, 0.08);
    transform: translateY(-3px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 4rem;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-glow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-stars {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

/* --- Pricing Cards (CSS Classes) --- */
.pricing-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.pricing-card.featured {
    background: linear-gradient(145deg, var(--bg-card), rgba(255, 85, 0, 0.05));
    border-color: var(--primary-color);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.pricing-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.pricing-value span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* CSS removed: Refactored to use inline SVG for consistency with other cards */

/* =====================================================
   AUDIT IMPROVEMENTS — Scroll Reveal Animations
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children for grids */
.reveal-stagger>.reveal {
    transition-delay: calc(var(--reveal-i, 0) * 0.1s);
}

/* =====================================================
   Hero Badge
   ===================================================== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 85, 0, 0.1);
    border: 1px solid rgba(255, 85, 0, 0.25);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    animation: badge-pulse 3s ease-in-out infinite alternate;
}

@keyframes badge-pulse {
    0% {
        border-color: rgba(255, 85, 0, 0.25);
    }

    100% {
        border-color: rgba(255, 85, 0, 0.5);
        box-shadow: 0 0 20px rgba(255, 85, 0, 0.1);
    }
}

/* =====================================================
   Trusted By Bar
   ===================================================== */
.trusted-bar {
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.trusted-bar p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Marquee infinite scroll */
.marquee-wrapper {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.trusted-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.trusted-logo:hover {
    opacity: 1;
}

.trusted-logo svg {
    opacity: 0.7;
    flex-shrink: 0;
}

/* =====================================================
   Service Row / Checklist Utility Classes
   ===================================================== */
.service-row {
    align-items: center;
    margin-bottom: 4rem;
}

.service-description {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.service-list {
    color: var(--text-muted);
    line-height: 2;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.check-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-right: 4px;
}

/* =====================================================
   Pricing Card Classes (Replacing Inline Styles)
   ===================================================== */
.pricing-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(145deg, var(--bg-card), rgba(255, 85, 0, 0.05));
    border-color: var(--primary-color);
}

.pricing-card.featured:hover {
    box-shadow: 0 10px 40px rgba(255, 85, 0, 0.15);
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-card.featured .pricing-title {
    color: var(--primary-color);
}

.pricing-subtitle {
    margin-bottom: 2rem;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.pricing-value {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.pricing-value span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
}

.pricing-btn {
    width: 100%;
}

/* =====================================================
   Section Gradient Dividers
   ===================================================== */
.section-divider {
    height: 1px;
    border: none;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 85, 0, 0.3) 30%,
            rgba(0, 255, 255, 0.2) 70%,
            transparent);
    margin: 0;
}

/* =====================================================
   Testimonial CTA
   ===================================================== */
.testimonial-cta {
    text-align: center;
    margin-top: 3rem;
}

/* =====================================================
   Stat Count-Up
   ===================================================== */
.stat-value[data-target] {
    transition: color 0.3s ease;
}

/* =====================================================
   Social Links in Footer
   ===================================================== */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.social-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.2);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* =====================================================
   Sticky Mobile CTA
   ===================================================== */
.sticky-mobile-cta {
    display: none;
}

/* =====================================================
   RESPONSIVE OVERHAUL
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 2.4rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .trusted-logos {
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
    }

    .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .grid-cols-4,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    /* Service rows: remove order so content stacks naturally */
    .service-row>div {
        order: unset !important;
    }

    .autopilot-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 3rem;
    }

    .trusted-logos {
        gap: 1.5rem;
    }

    .trusted-logos span {
        font-size: 0.9rem;
    }

    /* Sticky Mobile CTA */
    .sticky-mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 12px 16px;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--border-subtle);
        justify-content: center;
    }

    .sticky-mobile-cta .btn {
        width: 100%;
        max-width: 400px;
        padding: 14px 24px;
    }

    /* Add bottom padding to body so footer isn't hidden behind sticky CTA */
    body {
        padding-bottom: 70px;
    }
}

/* Small phone */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .feature-card {
        padding: 2rem;
    }

    .problem-card {
        padding: 1.5rem;
    }
}