:root {
    /* Colors */
    --bg-color: #050505;
    --surface-color: #0a0a0a;
    --surface-hover: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --primary-color: #00E5FF;
    /* Cyan */
    --primary-glow: rgba(0, 229, 255, 0.5);
    --secondary-color: #2979FF;
    /* Electric Blue */
    --accent-color: #FF0055;
    /* Subtle pink/red */
    --border-color: #333333;
    --glass-bg: rgba(10, 10, 10, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.1;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary-glow);
    background: #33efff;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Glow Cards */
.glow-card {
    position: relative;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    overflow: hidden;
}

.glow-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 229, 255, 0.2);
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-card:hover::before {
    opacity: 1;
}

/* Section Spacing */
section {
    padding: var(--spacing-xl) 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Hero & Images */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.hero-image-container {
    width: 100%;
    max-width: 900px;
    margin: 4rem auto 0;
    perspective: 1000px;
}

.hero-dashboard-mockup {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 229, 255, 0.2);
    transform: rotateX(5deg) scale(0.95);
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-dashboard-mockup:hover {
    transform: rotateX(0deg) scale(1);
    box-shadow: 0 30px 60px rgba(0, 229, 255, 0.3);
}

.navbar-logo img {
    height: 40px;
    width: auto;
}

/* Navbar specific override */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    /* Ensure full width */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.nav-links li a:hover {
    color: var(--primary-color);
}

/* Mobile Navigation */
.desktop-nav {
    display: flex;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.mobile-nav-links li a {
    color: var(--text-primary);
    font-weight: 600;
    font-family: var(--font-heading);
}

.mobile-nav-links li a:hover {
    color: var(--primary-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .navbar-fixed {
        padding: 1rem 1.5rem;
    }

    /* Layout Adjustments */
    section {
        padding: var(--spacing-lg) 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    /* Grid & Flex Stacking */
    .glow-card {
        flex: 1 1 100% !important;
        /* Stack cards */
    }

    /* Contact Form & Buttons */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        width: 100%;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .btn,
    button[type="submit"] {
        width: 100%;
        justify-content: center;
    }

    /* Hero Image */
    .hero-image-container {
        margin-top: 2rem;
    }

    /* Footer */
    footer .container>div {
        flex-direction: column;
        gap: 1.5rem;
    }

    footer .container a {
        display: block;
        margin: 0.5rem 0;
    }
}

/* Responsive Steps */
@media (min-width: 768px) {
    .step-card {
        flex-direction: row !important;
    }

    .step-card.right-aligned {
        flex-direction: row-reverse !important;
        text-align: right !important;
    }

    .step-card.right-aligned .text-content {
        align-items: flex-end;
    }
}

/* FAQ Styles */
details>summary {
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

details[open] summary~* {
    animation: fadeIn 0.3s ease;
}

/* Mobile Nav Toggle (Simple Implementation) */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    h1 {
        font-size: 2.5rem !important;
    }
}