:root {
    --bg-primary: #030712;
    --bg-secondary: #0f1419;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-soft: rgba(255, 255, 255, 0.08);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #94a3b8;
    --accent-primary: #10b981;
    --accent-secondary: #059669;
    --accent-danger: #ef4444;
    --accent-purple: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --deep-slate: #1E293B;
    --rich-black: #020617;
    --neon-emerald: #10B981;
}

/* Layer 1: Deep Base - Radial Gradient "Halo" Effect */
body {
    background: radial-gradient(ellipse at 50% -10%, var(--deep-slate) 0%, var(--rich-black) 70%);

    /* Layer 2: Technical Grid Texture */
    background-image:
        radial-gradient(ellipse at 50% -10%, var(--deep-slate) 0%, var(--rich-black) 70%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 40px);
    background-blend-mode: normal, overlay, overlay;

    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    position: relative;
}



/* Grid Fade Mask - Sharp center, fades at edges */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 30%, transparent 0%, transparent 40%, var(--rich-black) 100%);
    pointer-events: none;
    z-index: 0;
}

.logo {
    width: auto;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo-horizontal {
    height: 100px;
    width: auto;
}



.text-muted {
    color: var(--text-primary) !important;
}   

/* Card styles matching Secuarden"s card-dark */
.card-dark {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
}

.glass-card {
    /* Glassmorphism Spec */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1050px;
}

.badge-pill {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    position: relative;
}

/* Security Glow Effect for Primary Badges */
.badge-pill::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--neon-emerald);
    border-radius: 50px;
    filter: blur(50px);
    opacity: 0.25;
    z-index: -1;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.05em;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* CTA Buttons - matching Secuarden"s btn styles */
.btn-primary-custom {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    color: white;
    transition: all 0.2s;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
    color: white;
}

.btn-outline-custom {
    border: 1px solid var(--border-color);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    color: var(--text-primary);
    background: transparent;
    transition: all 0.2s;
}

.btn-outline-custom:hover {
    border-color: var(--accent-primary);
    background: rgba(16, 185, 129, 0.1);
    color: var(--text-primary);
}

/* Problem/Solution boxes */
.problem-box {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
}

.solution-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 60px rgba(16, 185, 129, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Stats */
.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    font-family: 'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Social Proof */
.proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Progress bar */
.progress {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 8px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 8px;
}

/* Badge styles matching Secuarden */
.badge {
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}

.bg-success {
    background-color: rgba(16, 185, 129, 0.2) !important;
    color: var(--success) !important;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Navbar positioning */
.navbar {
    position: relative;
    z-index: 10;
}

/* Navbar button overrides */
.navbar .btn-outline-custom {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.navbar .btn-primary-custom {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.nav-link {
    color: var(--text-secondary) !important;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text-primary) !important;
}

/* Ensure all sections are above grid mask */
section {
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 5rem;
    text-align: center;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1.1rem;
    }
}

/* Testimonial Section */
.testimonial-quote {
    position: relative;
    padding: 2rem 0;
}

.testimonial-quote p {
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* AI Assistant Links in Footer */
.framer-1cpfyxt {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.framer-1uv5xtw {
    position: relative;
    width: 32px;
    height: 32px;
    display: block;
    transition: transform 0.2s ease;
}

.framer-1uv5xtw:hover {
    transform: scale(1.1);
}

.framer-9onvgn,
.framer-1b6305o,
.framer-hv5wzi,
.framer-1g8rx2g,
.framer-raru4q {
    opacity: 0.8;
}

.framer-9onvgn:hover,
.framer-1b6305o:hover,
.framer-hv5wzi:hover,
.framer-1g8rx2g:hover,
.framer-raru4q:hover {
    opacity: 1;
}

@media (max-width: 576px) {
    .framer-1cpfyxt {
        gap: 0.75rem;
    }

    .framer-1uv5xtw {
        width: 28px;
        height: 28px;
    }
}

/* CCR™ and Data Metrics Styling */
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 800;
    letter-spacing: -0.05em;
}

/* Monospace for live system data */
.glass-card .display-3,
.glass-card .stat-number {
    font-family: 'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace;
    letter-spacing: -0.02em;
}

/* Enhanced Security Glow for CCR Score */
.glass-card .display-3 {
    position: relative;
    text-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
}

/* Neon Emerald accent for primary buttons */
.btn-primary-custom {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary-custom:hover {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.5), 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* <!-- Index Page Styling --> */
.text-emerald-500 {
    --tw-text-opacity: 1;
    color: rgb(16 185 129 / var(--tw-text-opacity, 1));
}

.tracking-tight {
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .md\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }
}

.text-gray-400 {
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.leading-relaxed {
    line-height: 1.625;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.object-contain {
    -o-object-fit: contain;
    object-fit: contain;
}

.h-16 {
    height: 4rem;
}

/* <!-- Rotating hero text styles --> */
.hero-rotating-container {
    display: block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
    margin-top: 0.1em;
}

.hero-rotating-text {
    position: absolute;
    width: 100%;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.hero-rotating-text.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-rotating-text.exit {
    opacity: 0;
    transform: translateY(-20px);
}

@media (max-width: 768px) {
    .hero-rotating-container {
        height: auto;
        min-height: 2.4em;
    }
}

/* ========================================
   Exit Intent Popup Styles
   ======================================== */

/* Glassmorphism popup container */
.exit-intent-popup {
    background: rgba(3, 7, 18, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    border-radius: 24px !important;
    box-shadow:
        0 0 60px rgba(16, 185, 129, 0.15),
        0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.exit-intent-popup .swal2-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #f3f4f6 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.4 !important;
}

/* Feedback option buttons */
.exit-feedback-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.exit-feedback-option {
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e5e7eb;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.exit-feedback-option:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
}

.exit-feedback-option.selected {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #10b981;
}

/* Badge styling for exit intent */
.exit-intent-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    color: #10b981;
}

.exit-intent-badge i {
    font-size: 0.7rem;
}

/* Override SweetAlert2 input for dark theme */
.exit-intent-popup .swal2-input,
.exit-intent-popup .swal2-textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    color: #f3f4f6 !important;
    padding: 0.875rem 1rem !important;
    font-size: 1rem !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.exit-intent-popup .swal2-input:focus,
.exit-intent-popup .swal2-textarea:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
    outline: none !important;
}

.exit-intent-popup .swal2-input::placeholder,
.exit-intent-popup .swal2-textarea::placeholder {
    color: #6b7280 !important;
}

/* Validation message styling */
.exit-intent-popup .swal2-validation-message {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    border-radius: 8px !important;
    margin-top: 0.5rem !important;
}

/* Button container spacing */
.exit-intent-popup .swal2-actions {
    gap: 1rem !important;
    margin-top: 1.5rem !important;
}

/* Loading spinner color */
.exit-intent-popup .swal2-loader {
    border-color: #10b981 transparent #10b981 transparent !important;
}

/* Timer progress bar */
.exit-intent-popup .swal2-timer-progress-bar {
    background: linear-gradient(90deg, #10b981, #059669) !important;
}