/*
Theme Name: AI Agency Theme
Theme URI: https://kodzee.com
Author: Antigravity
Author URI: https://kodzee.com
Description: A high-converting, premium dark-mode theme for AI Agencies and SaaS products. Features glassmorphism, neon accents, and conversion-optimized layouts.
Version: 1.1 (Cinematic Upgrade)
Text Domain: ai-agency
*/

:root {
    /* Cinematic Dark Palette */
    --bg-deep: #030305;
    --bg-space: #0b0b14;

    /* Glass Layers */
    --glass-base: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --glass-blur: 40px;

    /* Neons */
    --neon-blue: #00f0ff;
    --neon-purple: #bd00ff;
    --neon-cyan: #00fff0;

    /* Primary / Accent */
    --primary: var(--neon-blue);
    --accent: var(--neon-purple);

    /* Text */
    --text-main: #ffffff;
    --text-muted: #8b9bb4;
    --text-dim: #4a5568;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    /* Tech/Sci-Fi */
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1400px;
    /* Wider for cinematic feel */
    --header-height: 90px;
    --section-spacing: 160px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(189, 0, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 25%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 500;
}

.hero-title {
    text-shadow: 0 0 80px rgba(255, 255, 255, 0.2);
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* BUTTONS - Holographic Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: transparent;
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1), inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--neon-blue);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary:hover {
    color: var(--bg-deep);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover::before {
    transform: scaleX(1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-main);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* ULTRA GLASS CARD */
.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Shine effect on hover */
.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.03),
            transparent);
    transform: skewX(-25deg);
    transition: 0.7s;
    pointer-events: none;
}

.glass-card:hover::after {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-top-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    /* Inner border simulation */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    /* JS handles triggering usually, but here default */
}

.visible {
    opacity: 1;
}

/* HUD / Tech Details */
code,
pre {
    font-family: 'JetBrains Mono', monospace;
    color: var(--neon-cyan);
}

/* Override existing structure checks */
.site-header {
    background: rgba(3, 3, 5, 0.7) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}