/* Custom Variables */
:root {
    --brand-color: #0ea5e9;
    --brand-dark: #0284c7;
    --brand-light: #e0f2fe;
    --accent-color: #8b5cf6;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

.font-heading {
    font-family: var(--font-heading);
}

/* Color Utilities */
.text-brand {
    color: var(--brand-color) !important;
}

.text-brand-dark {
    color: var(--brand-dark) !important;
}

.text-brand-light {
    color: var(--brand-light) !important;
}

.bg-brand {
    background-color: var(--brand-color) !important;
    color: white;
}

.bg-brand-dark {
    background-color: var(--brand-dark) !important;
    color: white;
}

.bg-darker {
    background-color: var(--darker-bg) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.bg-success {
    background-color: #10b981 !important;
}

.bg-warning {
    background-color: #f59e0b !important;
}

/* Gradients for Icons */
.bg-gradient-brand {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #38bdf8 0%, #0891b2 100%);
}

.bg-gradient-pink {
    background: linear-gradient(135deg, #f472b6 0%, #db2777 100%);
}

.btn-brand {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-brand:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.4);
    color: white;
}

.bg-brand-soft {
    background-color: rgba(14, 165, 233, 0.08);
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-white-20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.6);
}

.border-white-20 {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.bg-brand-gradient {
    background: linear-gradient(135deg, #0369a1 0%, #0f172a 100%);
}

.gradient-text {
    background: linear-gradient(to right, #60a5fa, #0ea5e9, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shadow-brand {
    box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

.shadow-brand-glow {
    box-shadow: 0 0 40px -10px rgba(14, 165, 233, 0.5);
}

/* Animations & Transitions */
.transition-all {
    transition: all 0.3s ease;
}

.transition-colors {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

.hover-lift-sm {
    transition: transform 0.3s ease;
}

.hover-lift-sm:hover {
    transform: translateY(-2px);
}

.hover-scale-sm {
    transition: transform 0.2s ease;
}

.hover-scale-sm:hover {
    transform: scale(1.05);
}

/* Navbar */
.navbar {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-mobile-menu {
    background-color: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 0 0 1rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
}

.hover-brand:hover {
    color: var(--brand-color) !important;
}

/* Hero Section */
.hero-section {
    background-color: var(--dark-bg);
    min-height: 80vh;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.shape-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--brand-color);
    animation: pulse 6s infinite alternate;
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-color);
    animation: pulse 8s infinite alternate-reverse;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.35;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float-slow {
    animation: float 8s ease-in-out infinite;
}

.animate-float-slower {
    animation: float 12s ease-in-out infinite;
}

/* Buttons */
.btn-outline-light-custom {
    color: #cbd5e1;
    border-color: #334155;
    background-color: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(4px);
}

.btn-outline-light-custom:hover {
    color: white;
    background-color: #334155;
    border-color: #475569;
}

/* Cards & Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.border-start-brand {
    border-left: 3px solid var(--brand-color);
}

/* MODERN FEATURE CARDS 2.0 */
.feature-card-modern {
    background-color: rgba(30, 41, 59, 0.4);
    /* Dark translucent background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.5);
    /* Brand color border on hover */
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.feature-card-modern:hover::before {
    opacity: 1;
}

.feature-icon-container {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.feature-card-modern:hover .feature-icon-container {
    transform: scale(1.1) rotate(3deg);
}

/* Benefit Items */
.hover-border-brand:hover {
    border-color: var(--brand-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* FAQ Accordion */
.custom-accordion .accordion-button {
    border-radius: 1rem !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--brand-dark);
    box-shadow: none;
}

.custom-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(14, 165, 233, 0.15);
}

.custom-accordion .accordion-item {
    background: transparent;
}

/* Pricing */
.bg-dark-glass {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.transform-scale-md {
    z-index: 10;
}

@media (min-width: 992px) {
    .transform-scale-md {
        transform: scale(1.08);
    }

    .transform-scale-md:hover {
        transform: scale(1.1);
    }
}

.form-check-input:checked {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
}

/* Blobs for Pricing BG */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.blob-1 {
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--brand-color);
}

.blob-2 {
    top: 40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-color);
}

/* Utilities */
.hover-white:hover {
    color: white !important;
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.animate-ping {
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Scroll Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.animate-fade-down {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Simple reveal on scroll utility (handled in JS usually, but here as fallback) */
@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll {
        opacity: 1;
    }

    /* Fallback if JS fails */
}

/* Inputs */
.focus-ring-brand:focus {
    box-shadow: 0 0 0 0.25rem rgba(14, 165, 233, 0.25);
    border-color: var(--brand-color);
}

.w-4 {
    width: 1rem;
    height: 1rem;
}

.w-5 {
    width: 1.25rem;
    height: 1.25rem;
}

.w-8 {
    width: 2rem;
    height: 2rem;
}

.h-8 {
    height: 2rem;
}