/* ============================================
   NoxiumForge - Premium Digital Experience
   Aesthetic: Dark/Neon Glassmorphism
   ============================================ */

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

:root {
    /* Core Palette - Modern & Electric */
    --primary-hue: 250;
    /* Indigo/Violet */
    --secondary-hue: 190;
    /* Cyan */
    --accent-hull: 330;
    /* Pink/Magenta */

    --color-primary: hsl(var(--primary-hue), 80%, 60%);
    --color-primary-dark: hsl(var(--primary-hue), 80%, 40%);
    --color-secondary: hsl(var(--secondary-hue), 90%, 50%);
    --color-accent: hsl(var(--accent-hull), 80%, 60%);

    /* Semantic Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;

    /* Light Theme (Clean, Swiss-inspired) */
    --bg-main: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(148, 163, 184, 0.25);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

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

    /* Layout */
    --container-width: 1280px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Navbar */
    --nav-bg: rgba(255, 255, 255, 0.7);
}

/* Dark Mode - The Real "Premium" View */
body.dark-mode {
    --bg-main: #030712;
    /* Deepest Navy/Black */
    --bg-secondary: #0b101b;
    --bg-tertiary: #111827;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-light: #64748b;

    --card-bg: rgba(15, 23, 42, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    --nav-bg: rgba(3, 7, 18, 0.7);
}

/* Base Reset */
*,
*::before,
*::after {
    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-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Modern Gradient Text Utility */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Navigation - Glass Island
   ============================================ */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--container-width);
    z-index: 1000;
    padding: 0.75rem 1.5rem;
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.03);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
}

body.dark-mode .nav-links {
    background: rgba(255, 255, 255, 0.03);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
}

/* Animated Underline for Nav */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Controls */
.nav-controls {
    display: flex;
    gap: 0.5rem;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.dark-mode .toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
}

/* Dropdown Menu */


/* ============================================
   Hero Section - Cyberpunk / Future
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    filter: blur(60px);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    z-index: -1;
    transform: perspective(1000px) rotateX(60deg) translateY(-100px) scale(2);
    animation: gridFlow 20s linear infinite;
}

@keyframes gridFlow {
    0% {
        transform: perspective(1000px) rotateX(60deg) translateY(-100px) scale(2);
    }

    100% {
        transform: perspective(1000px) rotateX(60deg) translateY(0px) scale(2);
    }

    /* Move texture */
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 2;
    position: relative;
    animation: fadeUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-main) 20%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

body.dark-mode .hero-title {
    background: linear-gradient(135deg, #FFFFFF 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons - Premium Feel */
.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.dark-mode .btn-primary {
    background: var(--color-primary);
    /* Electric indigo */
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

/* Floating Shapes - Redone Subtle */
.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -10%;
    left: -10%;
    background: #4f46e5;
    animation: float 10s infinite alternate;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: -5%;
    background: #ec4899;
    animation: float 14s infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ============================================
   Services - Cards with Glass
   ============================================ */
.services {
    padding: var(--space-lg) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--color-primary);
    color: white;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-muted);
}


/* ============================================
   Portfolio - Modern Grid
   ============================================ */
.portfolio {
    padding: var(--space-lg) 0;
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

/* ... existing styles ... */
.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    /* aspect-ratio removed here as logo-card defines it, 
       or keep generic but strict override is better */
    cursor: pointer;
}

.portfolio-image-content {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Logo/Client Mode */
.portfolio-item.logo-card {
    background: var(--bg-tertiary);
    /* Subtle background */
    border: none;
    border-radius: var(--radius-md);
    width: 140px;
    /* Fixed small size like an icon */
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-item.logo-card:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--card-bg);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.portfolio-item.logo-card .portfolio-image-content {
    object-fit: contain;
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    /* Make logos consistent */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.portfolio-item.logo-card:hover .portfolio-image-content {
    filter: grayscale(0%);
    opacity: 1;
}

/* "Your Logo Here" Placeholder */
.portfolio-item.placeholder-card {
    border: 2px dashed var(--text-light);
    background: transparent;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
}

.portfolio-item.placeholder-card:hover {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.05);
}

.placeholder-icon {
    color: var(--text-light);
    transition: color 0.3s;
}

.portfolio-item.placeholder-card:hover .placeholder-icon {
    color: var(--color-primary);
}

.placeholder-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.2;
}

/* Hide standard overlay for these small icons */
.portfolio-item.logo-card .portfolio-overlay {
    display: none;
}

/* ============================================
   About / Stats
   ============================================ */
.about {
    padding: var(--space-lg) 0;
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stat-item {
    margin-top: 2rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-muted);
    position: relative;
}

.stat-number::before {
    content: '2';
    position: absolute;
    color: var(--color-primary);
    width: 0%;
    overflow: hidden;
    transition: width 1s ease;
    -webkit-text-stroke: 0;
}

.about-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.visual-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--card-border);
}

.visual-card:nth-child(3) {
    grid-column: span 2;
}


/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--space-lg) 0;
}

.contact-content {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    padding: 6rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Prevent transitions on load */
.preload * {
    transition: none !important;
}

/* Remove forced white text - let theme variables handle it */
/* .contact-content h2... removed */

/* .contact-content::before removed to prevent obstruction */

.contact-item {
    background: var(--bg-tertiary);
    /* Adapts to theme */
    padding: 1rem 1.5rem;
    color: var(--text-main);
    /* Explicitly set text color to theme main */
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    transition: background 0.2s;
}

.contact-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.dark-mode .contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-description {
    margin-bottom: 3rem;
}

/* ... existing styles ... */
/* ============================================
   Contact Form - Premium Glassmorphism
   ============================================ */

.contact-form-wrapper {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
}

.input-wrapper {
    position: relative;
}

/* Glass Input Field */
.glass-input {
    width: 100%;
    padding: 1.2rem 1rem 1.2rem 3rem;
    /* Left padding for icon */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

body.dark-mode .glass-input {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Focus State */
.glass-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

/* Floating Label */
.floating-label {
    position: absolute;
    left: 3rem;
    top: 1.2rem;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 0.3rem;
}

/* Float Logic: Focus or Has Content */
.glass-input:focus~.floating-label,
.glass-input:not(:placeholder-shown)~.floating-label {
    top: -0.7rem;
    left: 0.8rem;
    font-size: 0.85rem;
    color: var(--color-primary);
    background: var(--card-bg);
    /* Mask the line behind label */
    border-radius: 4px;
    font-weight: 600;
}

/* Input Icon */
.input-icon {
    position: absolute;
    left: 1rem;
    top: 1.2rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-input:focus~.input-icon {
    color: var(--color-primary);
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5));
}

/* Textarea Specifics */
textarea.glass-input {
    resize: vertical;
    min-height: 150px;
}

/* Button Glow */
.btn-glow {
    position: relative;
    overflow: hidden;
    background-size: 200% auto;
    background-image: linear-gradient(45deg, var(--color-primary) 0%, var(--color-secondary) 51%, var(--color-primary) 100%);
    border: none;
    transition: 0.5s;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.btn-glow:hover {
    background-position: right center;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
    transform: translateY(-3px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: rgba(0, 0, 0, 0.2);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    background: rgba(0, 0, 0, 0.4);
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    display: none;
    text-align: center;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: block;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-error);
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: block;
}

/* Button Loading State */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Previous Styles / Utilities for inner pages
   ============================================ */
/* Rental Model Tables and Pricing Cards adapted to new variables automatically */

.comparison-table-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on iOS */
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    /* Equal width distribution */
}

.comparison-table th {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
}

.comparison-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-main);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table th.rental-col {
    color: var(--color-success);
}


/* ============================================
   Pricing Packages Section
   ============================================ */
.package-pricing-section {
    padding: var(--space-lg) 0;
    background: var(--bg-secondary);
    position: relative;
}

.package-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.package-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 60px -15px rgba(99, 102, 241, 0.3);
}

/* Recommended Package */
.package-card.recommended {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    transform: scale(1.05);
}

body.dark-mode .package-card.recommended {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
}

.package-card.recommended:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 25px 70px -15px rgba(99, 102, 241, 0.5);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.package-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--card-border);
}

.package-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.package-price {
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.price-currency {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-left: 0.5rem;
}

.package-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.package-features svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-success);
}

.package-card.recommended .package-features svg {
    color: var(--color-primary);
}

.package-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.package-note {
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.package-note a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.2s;
}

.package-note a:hover {
    color: var(--color-primary-dark);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--card-border);
    margin-top: 4rem;
    text-align: center;
    color: var(--text-muted);
}

.footer-brand .logo-text {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Utilities */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--text-muted);
    opacity: 0.5;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   Inner Pages Support (Rental, Pricing, etc)
   ============================================ */

/* Page Headers - Softer glow */
.page-header {
    padding: var(--space-xl) 0 var(--space-lg);
    text-align: center;
    background: radial-gradient(ellipse closest-side at center, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0));
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ... existing styles ... */

/* Final Polish - Softer CTA glow */
.cta-section {
    margin-top: var(--space-lg);
    padding: var(--space-lg) 0;
    background: radial-gradient(ellipse closest-side at center, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0));
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    margin-top: 1.5rem;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Problem Section */
.problem-section,
.solution-section,
.how-it-works,
.ownership-section,
.faq-section {
    padding: var(--space-lg) 0;
}

.transparency-left h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.transparency-left p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow);
}

.problem-icon {
    width: 50px;
    height: 50px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-error);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.problem-card p {
    color: var(--text-muted);
}

/* Solution Visuals */
.solution-content {
    margin-top: 4rem;
}

.comparison-visual {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.old-model,
.new-model {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    text-align: center;
}

.old-model {
    border-top: 4px solid var(--color-error);
}

.new-model {
    border-top: 4px solid var(--color-success);
    transform: scale(1.05);
    box-shadow: 0 10px 40px -10px rgba(16, 185, 129, 0.2);
    z-index: 10;
}

.cost-bar {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.cost-bar.traditional {
    background: rgba(239, 68, 68, 0.05);
    color: var(--color-error);
}

.cost-bar.rental {
    background: rgba(16, 185, 129, 0.05);
    color: var(--color-success);
}

/* Benefits List */
.solution-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: border 0.3s;
}

.benefit-item:hover {
    border-color: var(--card-border);
}

.benefit-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How it Works steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-primary);
    opacity: 0.1;
    position: absolute;
    top: -10px;
    right: 10px;
}

.step-card h3 {
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.step-card p {
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

/* FAQ */
.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    gap: 1.5rem;
}

.faq-icon-wrapper {
    color: var(--text-muted);
}

.faq-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Ownership */
.ownership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ownership-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
}

.ownership-card.own {
    border-top: 4px solid var(--color-success);
}

.ownership-card.licensed {
    border-top: 4px solid var(--color-info);
}

.ownership-card h3 {
    margin-bottom: 1.5rem;
}

.ownership-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.ownership-card li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ownership-card li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: bold;
}

.ownership-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-light);
    font-style: italic;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

/* Transparency */
.transparency-deep-dive {
    padding: var(--space-lg) 0;
    background: var(--bg-tertiary);
}

.transparency-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.cost-breakdown-example {
    background: var(--bg-main);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    box-shadow: var(--glass-shadow);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-muted);
}

.breakdown-item.highlight {
    background: rgba(99, 102, 241, 0.05);
    /* indigo tint */
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
    border-bottom: none;
    font-weight: 700;
    color: var(--color-primary);
}

.breakdown-total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--text-main);
}

/* Pricing Cards */
.pricing-section {
    padding: var(--space-lg) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-card.infrastructure {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    text-align: left;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.pricing-card.infrastructure:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.2);
}

/* Add a subtle top accent bar */
.pricing-card.infrastructure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.pricing-card.infrastructure:hover::before {
    opacity: 1;
}

.pricing-header {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center align items vertically */
}

.title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.infra-icon {
    width: 42px;
    height: 42px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-card.infrastructure:hover .infra-icon {
    background: var(--color-primary);
    color: white;
}

.pricing-card .price {
    font-size: 1.5rem;
    /* Slightly smaller to fit better */
    font-weight: 800;
    color: var(--text-main);
    display: block;
    line-height: 1;
    text-align: right;
}

.pricing-amount .period {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: block;
    margin-top: 0.25rem;
    text-align: right;
}

.pricing-header h3 {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 0;
}

.pricing-amount .period {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
}

.pricing-features {
    list-style: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
    text-align: left;
}

.pricing-features li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: '•';
    color: var(--color-primary);
}

.infrastructure-total {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-main);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-main);
    box-shadow: var(--glass-shadow);
}

/* Included Services Grid */
.included-services {
    padding: var(--space-lg) 0;
    background: var(--bg-secondary);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.included-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: transform 0.3s;
}

.included-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.included-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.included-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.included-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Guarantee Section */
.transparency-guarantee {
    padding: var(--space-lg) 0;
}

.guarantee-content {
    text-align: center;
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
    text-align: left;
}

.guarantee-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.guarantee-card-icon {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.guarantee-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.guarantee-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Final Polish - Softer CTA glow with no cutoff */
.cta-section {
    margin-top: var(--space-lg);
    padding: var(--space-lg) 0;
    position: relative;
    /* Ensure no background on the element itself to avoid clipping */
}

/* Pseudo-element bloom for perfect soft edges */
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 2rem;
}

.cta-content p {
    margin-bottom: 3rem;
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* ============================================
   Services Detail Page (services.html)
   ============================================ */
.services-detail,
.comparison-section {
    padding: var(--space-lg) 0;
}

.services-detail .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-detail-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--glass-shadow);
}

.service-detail-card.highlight {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--color-primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

.service-detail-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.service-detail-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-detail-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-detail-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-detail-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-detail-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.service-cost {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
}

.cost-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.cost-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Service Highlight Specifics */
.service-cost.highlight-cost .old-price {
    text-decoration: line-through;
    color: var(--color-error);
    font-size: 1rem;
    margin-right: 0.5rem;
}

.service-cost.highlight-cost .new-price {
    color: var(--color-success);
    font-size: 1.5rem;
}

/* Responsive adjustments for services grid */
@media (max-width: 768px) {
    .services-detail .container {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Response / Mobile Styles
   ============================================ */

/* Menu Open State (Blurs content behind) */
body.menu-open {
    overflow: hidden;
    /* Prevent scrolling */
}

/* Blur targets when menu is open */
body.menu-open>*:not(nav):not(.navbar):not(script) {
    filter: blur(10px);
    pointer-events: none;
    transition: filter 0.3s ease;
}

@media (max-width: 968px) {

    /* Navigation - Solid Top Bar for Mobile */
    .navbar {
        width: 100%;
        max-width: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 1rem 1.5rem;
        background: var(--bg-main);
        /* Solid background to prevent overlap issues */
    }

    .nav-content {
        align-items: center;
        /* Force vertical centering */
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        /* Center spans inside */
        justify-content: center;
        z-index: 1002;
        margin-left: 0.75rem;
        height: 40px;
        /* Explicit height for easy alignment */
        width: 40px;
    }

    .nav-controls {
        align-items: center;
        /* Ensure toggles align with hamburger */
        display: flex;
    }

    .nav-links {
        position: fixed;
        /* Force fixed to cover screen */
        top: 70px;
        /* Attach below navbar */
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        margin-top: 0;

        /* Appearance - Invisible Container */
        background-color: transparent !important;
        background: transparent !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        border: none;

        /* Layout */
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 1.5rem;
        gap: 1.5rem;

        border-top: none;
        z-index: 9999;
        isolation: isolate;

        /* Animation State */
        display: flex;
        transform: translateY(20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1.1rem;

        /* Premium Glass Surface - Slightly Darker */
        background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.05) 0%,
                rgba(0, 0, 0, 0.05) 100%);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        /* Crisp Border */
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        /* Highlight on top edge */
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        /* Shadow on bottom edge */

        border-radius: var(--radius-lg);

        /* Elegant Typography */
        font-size: 1.35rem;
        font-family: 'Outfit', sans-serif;
        font-weight: 500;
        letter-spacing: 0.02em;
        line-height: 1.2;
        /* Tighten line height to prevent layout shift */
        color: var(--text-main);

        /* Depth */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);

        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        opacity: 0;
        transform: translateY(15px);
        position: relative;
        z-index: 10000;
        /* overflow: hidden; Removed to fix text clipping */
    }

    /* Remove the desktop underline animation on mobile */
    .nav-link::after {
        display: none !important;
        content: none !important;
    }

    .nav-link:active {
        transform: scale(0.98);
        background: linear-gradient(135deg, var(--color-primary), rgba(99, 102, 241, 0.8));
        color: #ffffff;
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
    }

    .nav-link:hover {
        background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.04) 100%);
        border-color: rgba(255, 255, 255, 0.2);
        color: var(--text-main);
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    }

    /* Dark mode refinements */
    body.dark-mode .nav-link {
        background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.05) 0%,
                rgba(255, 255, 255, 0.01) 100%);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.dark-mode .nav-link:hover {
        background: linear-gradient(135deg,
                rgba(255, 255, 255, 0.08) 0%,
                rgba(255, 255, 255, 0.02) 100%);
        border-color: var(--color-primary);
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
        /* Subtle glow */
    }

    /* Staggered Animation for Items */
    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active .nav-link:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav-links.active .nav-link:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav-links.active .nav-link:nth-child(3) {
        transition-delay: 0.15s;
    }

    .nav-links.active .nav-link:nth-child(4) {
        transition-delay: 0.2s;
    }

    .nav-links.active .nav-link:nth-child(5) {
        transition-delay: 0.25s;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Hero Adjustments */
    .hero-title {
        font-size: 2.25rem;
        /* Smaller base to prevent weird wrapping */
        font-size: clamp(2rem, 8vw, 3.5rem);
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
        line-height: 1.5;
    }

    /* Grid Stacking */
    .about-content,
    .transparency-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact Needs Breathing Room */
    /* Contact Needs Breathing Room */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        /* Balanced gap */
        padding: 3rem 1.5rem;
    }

    .contact-details {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        /* Tighter but distinct */
        margin-top: 2rem;
    }

    .contact-description {
        margin-bottom: 2rem;
    }

    .cta-box p {
        margin-bottom: 2.5rem;
        /* Push button down */
        line-height: 1.6;
        color: var(--text-muted);
    }

    /* Adjust Container Padding */
    .container {
        padding: 0 1.5rem;
    }

    /* Contact Form specifics */
    /* Contact Form specifics - merged above */

    /* CTA Section Mobile Fixes */
    .cta-content {
        padding: 3rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .cta-content p {
        margin-bottom: 2.5rem;
        /* Space between text and buttons */
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }

    .cta-buttons {
        display: flex;
        /* Ensure gap works */
        flex-direction: column;
        width: 100%;
        gap: 1.25rem;
        /* Explicit gap between buttons */
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* ============================================
   Comparison Visuals (Traditional vs Rental)
   ============================================ */
    .old-model {
        background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, rgba(3, 7, 18, 0) 100%);
        border-color: rgba(239, 68, 68, 0.2);
        opacity: 0.85;
        /* Visual downgrade */
        position: relative;
        overflow: hidden;
    }

    /* Add a visual "Cross" or watermark feel if desired, but tint is good start */
    .old-model::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.2);
        /* Darken slightly further */
        pointer-events: none;
        z-index: 0;
    }

    .old-model>* {
        position: relative;
        z-index: 1;
        /* Keep content above overlay */
    }

    .old-model h4 {
        color: var(--color-error) !important;
    }

    .new-model {
        border-color: var(--color-primary);
        background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, rgba(3, 7, 18, 0) 100%);
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
        transform: scale(1.02);
        z-index: 2;
    }

    /* Pricing & Rental adjustments */
    .comparison-table th,
    .comparison-table td {
        font-size: 0.85rem;
        padding: 1rem 0.5rem;
    }

    /* Portfolio */
    .portfolio-grid {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-controls {
        gap: 0.25rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stat-number {
        font-size: 3rem;
    }
}

/* ============================================
   Toast Notifications
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.toast {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    font-size: 0.95rem;
    border-left: 4px solid transparent;
}

.toast.visible {
    transform: translateX(0);
}

.toast.success {
    border-left-color: var(--color-success);
}

.toast.error {
    border-left-color: var(--color-error);
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast.success .toast-icon {
    color: var(--color-success);
}


.toast.error .toast-icon {
    color: var(--color-error);
}

/* ============================================
   Cookie Popup - Glass Island
   ============================================ */
.cookie-popup {
    position: fixed;
    bottom: -200px;
    right: 2rem;
    max-width: 550px;
    z-index: 2000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    padding: 1.5rem 2rem;
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    visibility: hidden;
}

.cookie-popup.visible {
    bottom: 2rem;
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 1.25rem;
    align-items: start;
}

.cookie-icon {
    grid-row: 1 / span 2;
    font-size: 2.2rem;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    margin-top: 0.2rem;
}

.cookie-text {
    grid-column: 2;
}

.cookie-text h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.cookie-popup .btn {
    grid-column: 2;
    width: fit-content;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-popup {
        left: 1rem;
        right: 1rem;
        bottom: -300px;
        max-width: calc(100% - 2rem);
        padding: 1.25rem;
    }

    .cookie-content {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas: 
            "icon text"
            "button button";
        gap: 1rem 0.75rem;
        align-items: start;
    }

    .cookie-icon {
        grid-area: icon;
        font-size: 1.8rem;
    }

    .cookie-text {
        grid-area: text;
        text-align: left;
    }

    .cookie-text p {
        margin-bottom: 0;
    }

    .cookie-popup .btn {
        grid-area: button;
        width: 100%;
        margin-top: 0.5rem;
    }

    .cookie-popup.visible {
        bottom: 1rem;
    }
}