/* ==========================================================================
   GV Systems Technologies - Premium Visual Theme (Built from Scratch)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   1. Theme Variable Definitions
   -------------------------------------------------------------------------- */
:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Light Mode - Cyber Light Theme */
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-header: rgba(255, 255, 255, 0.8);
    --bg-calc-summary: #f1f5f9;
    --bg-secondary: #f1f5f9;
    
    --text-title: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    
    --border-color: rgba(148, 163, 184, 0.15);
    --border-highlight: rgba(79, 70, 229, 0.1);
    
    /* Brand Colors */
    --primary: #4f46e5;         /* Deep Indigo */
    --primary-hover: #4338ca;
    --primary-glow: rgba(79, 70, 229, 0.15);
    
    --secondary: #06b6d4;       /* Cyan */
    --secondary-hover: #0891b2;
    --secondary-glow: rgba(6, 182, 212, 0.15);
    
    --accent: #10b981;          /* Emerald */
    --accent-hover: #059669;
    --accent-glow: rgba(16, 185, 129, 0.15);
    
    --purple: #8b5cf6;
    --purple-glow: rgba(139, 92, 246, 0.15);
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --grad-card-hover: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    --grad-text: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.09);
    --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.15);
}

[data-theme="dark"] {
    /* Dark Mode - Cyber Space Theme */
    --bg-main: #060814;
    --bg-surface: #0b0f19;
    --bg-card: rgba(11, 15, 25, 0.65);
    --bg-header: rgba(6, 8, 20, 0.75);
    --bg-calc-summary: #111827;
    --bg-secondary: #0b111e;
    
    --text-title: #f8fafc;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-highlight: rgba(99, 102, 241, 0.15);
    
    --primary: #6366f1;         /* Bright Indigo */
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.3);
    
    --secondary: #22d3ee;       /* Bright Cyan */
    --secondary-hover: #06b6d4;
    --secondary-glow: rgba(34, 211, 238, 0.3);
    
    --accent: #34d399;          /* Bright Emerald */
    --accent-hover: #10b981;
    --accent-glow: rgba(52, 211, 153, 0.3);
    
    --purple: #a78bfa;
    --purple-glow: rgba(167, 139, 250, 0.3);
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
    --grad-card-hover: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(34, 211, 238, 0.08) 100%);
    --grad-text: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.25);
}

/* --------------------------------------------------------------------------
   2. Core Reset & Global Styles
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    position: relative;
}

/* Grid overlay to add depth */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(var(--border-highlight) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    opacity: 0.6;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-title);
    font-weight: 700;
    line-height: 1.25;
    transition: color 0.3s ease;
}

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

a:hover {
    color: var(--primary-hover);
}

/* --------------------------------------------------------------------------
   3. Buttons & UI Elements
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-title);
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-title);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    background-color: var(--border-highlight);
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.btn-small {
    padding: 6px 16px;
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   4. Floating Island Navbar
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
}

/* Float style on scroll */
.navbar.scrolled {
    padding: 0.65rem 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    width: 95%;
    transition: all 0.4s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.logo-text h2 {
    font-size: 1.15rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02rem;
}

.logo-text span {
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b !important;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.75rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155 !important;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

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

.navbar .btn-secondary {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
}

.navbar .btn-secondary:hover {
    background-color: #e2e8f0 !important;
}

.hamburger .bar {
    width: 22px;
    height: 2px;
    background-color: #1e293b !important;
    border-radius: 2px;
    transition: all 0.3s ease;
}
/* User Account Dropdown in Nav */
.user-nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
    min-width: 180px;
    z-index: 1010;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    color: var(--text-body);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background-color: var(--border-highlight);
    color: var(--primary);
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 4px;
}

.hamburger .bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-title);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animation for Hamburger X */
.hamburger.toggle .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.toggle .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.toggle .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* --------------------------------------------------------------------------
   5. Immersive Hero Carousel
   -------------------------------------------------------------------------- */
.hero-carousel-container {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    background-color: #030712;
    overflow: hidden;
}

.hero-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.12);
    transition: transform 7s cubic-bezier(0.1, 1, 0.1, 1);
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

/* Improved modern overlay with colors and gradients */
.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
                linear-gradient(180deg, rgba(3, 7, 18, 0.7) 0%, rgba(3, 7, 18, 0.5) 40%, rgba(3, 7, 18, 0.95) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    color: white;
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.1, 1, 0.1, 1) 0.3s;
}

.hero-slide.active .hero-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.06rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-slide-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 2.5rem;
}

.hero-slide-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 12px var(--primary);
}

/* --------------------------------------------------------------------------
   6. Sections & Structured Layouts
   -------------------------------------------------------------------------- */
.services, .offers-section, .pricing-section, .contact {
    padding: 100px 0;
    position: relative;
    transition: background-color 0.4s ease;
    scroll-margin-top: 90px;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.06rem;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.services-grid, .offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Custom premium card design */
.service-card, .offer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

/* Card Glow Overlay on Hover */
.service-card::before, .offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-card-hover);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover::before, .offer-card:hover::before {
    opacity: 1;
}

.service-card:hover, .offer-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-icon {
    width: 54px;
    height: 54px;
    background: var(--border-highlight);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--grad-primary);
    transform: scale(1.05);
}

.service-icon i {
    font-size: 1.35rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon i {
    color: white;
}

.service-card h3, .offer-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--text-title);
}

.service-card p, .offer-card p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Offers Card Details */
.offer-badge {
    background-color: var(--primary-glow);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    padding: 6px 14px;
    border-radius: 20px;
    align-self: flex-start;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

/* --------------------------------------------------------------------------
   8. E360 License Pricing & Calculator
   -------------------------------------------------------------------------- */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    background: var(--bg-card);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-tab {
    padding: 10px 24px;
    border-radius: 30px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-tab:hover {
    color: var(--text-title);
}

.pricing-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.calculator-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: 28px;
    padding: 3.5rem;
    max-width: 950px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
}

/* Radial graphic highlight in calculator */
.calculator-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
}

.calc-sliders {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-label {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-title);
}

.slider-value {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.25rem;
    background: var(--bg-calc-summary);
    padding: 6px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.custom-range {
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.3s;
}

.custom-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    border-radius: 10px;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--bg-surface);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: -8px; /* Alignment for track */
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 12px var(--primary-glow);
}

.calc-summary {
    background: var(--bg-calc-summary);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.summary-title {
    font-weight: 800;
    color: var(--text-title);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.price-display {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-title);
    margin-bottom: 1.25rem;
    line-height: 1;
    letter-spacing: -0.05rem;
}

.price-display span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.plan-features-list {
    text-align: left;
    margin: 1.25rem 0;
    list-style: none;
    font-size: 0.92rem;
    color: var(--text-body);
}

.plan-features-list li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features-list li i {
    color: var(--accent);
    font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   9. Form Controls & Contact Layout
   -------------------------------------------------------------------------- */
.contact-content {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: start;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background: var(--border-highlight);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-title);
}

.contact-item p {
    color: var(--text-body);
}

.contact-map {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 350px;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-title);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    background-color: var(--bg-surface);
    color: var(--text-title);
    border: 2px solid var(--border-color);
    outline: none;
    font-family: inherit;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* --------------------------------------------------------------------------
   10. Compact Authentication Dialog Modals
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 24px !important;
    width: 90% !important;
    max-width: 400px !important; /* Strictly Compact Sizing */
    padding: 1.75rem !important;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(-30px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.35rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-title);
}

.modal-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.modal-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    font-family: var(--font-heading);
}

.modal-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Toast Notifications */
.alert-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    padding: 14px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease-out;
    display: none;
}
.toast-success { background: var(--accent); }
.toast-error { background: #ef4444; }

/* --------------------------------------------------------------------------
   11. Footer Section
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    color: var(--text-body);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 4.5rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    color: var(--text-title);
}

.footer-section h4 {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    color: var(--text-title);
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section ul a {
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.92rem;
}

.footer-section ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. Responsive Design & Animations
   -------------------------------------------------------------------------- */
@keyframes slideInUp {
    from {
        transform: translateY(12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: 50%;
        top: 80px;
        transform: translateX(-50%) translateY(-150%);
        flex-direction: column;
        background-color: #ffffff !important;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        width: calc(100% - 2rem);
        border: 1px solid #e2e8f0 !important;
        border-radius: 24px;
        text-align: center;
        transition: transform 0.4s cubic-bezier(0.1, 1, 0.1, 1);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        z-index: 999;
        gap: 0.75rem;
    }
    
    .nav-menu.active {
        transform: translateX(-50%) translateY(0);
    }
    
    .hero-slide-content h2 {
        font-size: 2.35rem;
    }
    
    .hero-slide-content p {
        font-size: 1.05rem;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .calculator-wrapper {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .pricing-tabs {
        margin-bottom: 2rem;
        gap: 0.5rem;
    }
    
    .pricing-tab {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .calculator-wrapper {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }
    
    .calc-sliders {
        gap: 1.75rem;
    }
    
    .calc-summary {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    #priceBreakdown {
        padding: 1rem 0.85rem !important;
        border-radius: 12px !important;
        margin-bottom: 1.25rem !important;
    }
    
    #priceBreakdown > div {
        font-size: 0.88rem !important;
    }
    
    #priceBreakdown > div:last-child {
        font-size: 1.15rem !important;
    }
    
    .coupon-group {
        margin-bottom: 1.25rem !important;
    }
    
    .coupon-group label {
        font-size: 0.8rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .coupon-group input {
        padding: 0.6rem 0.85rem !important;
        font-size: 0.9rem !important;
        border-radius: 10px !important;
    }
    
    .coupon-group button {
        padding: 0.6rem 1rem !important;
        border-radius: 10px !important;
        font-size: 0.9rem !important;
    }
    
    #btnCheckout, #btnContactSales {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        margin-top: 0.75rem !important;
    }
}

/* Consent Banner Styles - Premium Floating Card on Right */
.consent-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: auto;
    width: calc(100% - 48px);
    max-width: 380px;
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 1.75rem;
    z-index: 10000;
    border-radius: 16px;
    border: 1px solid rgba(79, 70, 229, 0.35); /* Indigo accent highlight */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(79, 70, 229, 0.15);
}

.consent-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
}

.consent-content h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.consent-content h4::before {
    content: "\f563"; /* FontAwesome Cookie icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f59e0b; /* Cookie amber color */
}

.consent-content p {
    margin: 0;
    font-size: 0.88rem;
    opacity: 0.85;
    line-height: 1.5;
}

.consent-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
}

.consent-buttons .btn {
    width: 100%;
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
    border-radius: 10px;
    font-weight: 700;
    justify-content: center;
    box-sizing: border-box;
}

.consent-buttons .btn-primary {
    background: var(--primary, #4f46e5) !important;
    border: none !important;
    color: white !important;
}

.consent-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.consent-buttons .btn-outline {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.consent-buttons .btn-outline:hover {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Consent Banner Mobile Responsive */
@media (max-width: 768px) {
    .consent-banner {
        bottom: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
        padding: 1.25rem;
    }
    
    .consent-content {
        gap: 1rem;
    }
}

/* ==========================================================================
   13. Navbar Products Dropdown Menu Styles (Standard & Responsive)
   ========================================================================== */
.nav-item-dropdown {
    position: relative;
}

@media (min-width: 769px) {
    .nav-item-dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 120%;
        height: 15px;
        background: transparent;
        z-index: 1999;
    }
}

.nav-item-dropdown .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* Global / Desktop Dropdown Styles */
.nav-submenu {
    display: block !important;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    top: calc(100% + 10px);
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg) !important;
    border-radius: 16px !important;
    min-width: 280px !important;
    z-index: 2000;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    transition-delay: 0.2s;
    padding: 8px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
}

.nav-submenu li {
    width: 100%;
    text-align: left;
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-submenu li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 20px !important;
    color: var(--text-body) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
    width: 100%;
    border-radius: 0 !important;
    text-decoration: none !important;
}

.nav-submenu li a i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.nav-submenu li a:hover {
    background-color: var(--border-highlight) !important;
    color: var(--primary) !important;
}

.nav-item-dropdown:hover .nav-submenu {
    display: block !important;
    visibility: visible;
    opacity: 1 !important;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) !important;
    transition-delay: 0s;
}

/* Mobile Dropdown Accordion Styles */
@media (max-width: 768px) {
    .nav-item-dropdown {
        width: 100%;
    }
    
    .nav-submenu {
        display: none;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        box-shadow: none !important;
        border: none !important;
        list-style: none !important;
        list-style-type: none !important;
        padding: 6px 0 !important;
        background: rgba(0, 0, 0, 0.03) !important;
        border-radius: 14px !important;
        margin: 6px auto 0 !important;
        width: 90% !important;
        min-width: unset !important;
    }
    
    .nav-submenu.active {
        display: block !important;
        animation: slideInUp 0.3s ease-out;
    }
    
    .nav-submenu li a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 10px 16px !important;
        font-size: 0.88rem !important;
        color: var(--text-body) !important;
        font-weight: 600 !important;
        background: transparent !important;
        border-radius: 0 !important;
    }
    
    .nav-submenu li a i {
        color: var(--primary);
        font-size: 0.95rem;
    }
}

