/* =========================================
   1. VARIABLES & SETUP
   ========================================= */
:root {
    /* Color Palette */
    --brand-blue: #4F6CFF;
    /* Logo Blue */
    --brand-green: #4ADE80;
    /* Logo Green */
    --brand-orange: #F97316;
    /* Brand Orange */
    --bg-dark: #0B1121;
    /* Deep Dark Background */
    --card-glass: rgba(20, 30, 46, 0.7);
    /* Aurora Glass */

    /* Legacy Mappings to Brand Colors */
    --accent-teal: var(--brand-green);
    --accent-violet: var(--brand-blue);

    --text-light: #F8FAFC;
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Fonts */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* Page Transition Overlay */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 9999;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-overlay.faded-out {
    opacity: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    pointer-events: none;
    /* Let interactions pass through unless explicitly handled */
    background: var(--bg-dark);
}

/* =========================================
   2. GLOBAL LAYOUT & BACKGROUND
   ========================================= */
/* Hero Section Background with Spotlight Effect & Noise */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Spotlight Focus: Lighter center, transparent edges */
    background: radial-gradient(circle at center, #1E293B 0%, transparent 70%);
    overflow: hidden;
    padding-top: var(--header-height);
}

/* Noise/Grain Texture Overlay */
/* Noise/Grain Texture Overlay - REMOVED for Performance
#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,...");
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}
*/

/* Ensure content sits above noise */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 2rem;
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;

    /* Transparent Initial State */
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
    /* backdrop-filter is expensive to animate */
}

header.scrolled {
    /* Glassmorphism Effect when scrolled */
    background: rgba(15, 23, 42, 0.95);
    /* backdrop-filter: blur(12px); <-- Expensive */
    border-bottom: 1px solid var(--glass-border);
}

nav {
    width: 100%;
    max-width: var(--container-width);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.logo a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

/* Nav Link Hover Effect */
.nav-links li a {
    position: relative;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-teal);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.nav-links li a:hover {
    opacity: 1;
}

.nav-links li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-cta {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    /* Blue-Violet Gradient */
    border: none;
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    /* Pill shape */
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
    filter: brightness(1.1);
}

/* =========================================
   4. HERO TYPOGRAPHY & ELEMENTS
   ========================================= */

/* Top Pill Badge */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 99px;
    color: #10B981;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
    /* backdrop-filter: blur(5px); */
}

.pill-icon {
    font-size: 1rem;
}

/* Main Headline */
h1#hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    padding-bottom: 0.2em;
    /* Fix for descender clipping */
}

.gradient-text-main {
    background: linear-gradient(to right, #3B82F6, #10B981, #3B82F6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    /* Reduced shadow intensity */
    animation: gradientFlow 6s linear infinite;
}

/* Subheadline */
.subheadline {
    font-size: 1.25rem;
    color: #94A3B8;
    margin-bottom: 3rem;
    font-weight: 400;
}

.text-green-glow {
    color: #10B981;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* =========================================
   5. BUTTONS & ACTIONS
   ========================================= */
.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

/* Hero Primary Button */
.btn-primary {
    background: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.btn-hero-primary {
    background: #3B82F6;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
    color: white;
}

/* Hero Secondary Button */
.btn-hero-secondary {
    background: transparent;
    color: #CBD5E1;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Features List (Bottom) */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: #64748B;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot-green {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
}

.dot-blue {
    width: 8px;
    height: 8px;
    background: #3B82F6;
    border-radius: 50%;
    box-shadow: 0 0 8px #3B82F6;
}

/* Premium CTA (Index Pricing) */
.btn-premium-cta {
    background: rgba(15, 23, 42, 0.85);
    /* More opaque */
    border: 1px solid rgba(59, 130, 246, 0.5);
    /* Brand Blue border */
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    border-radius: 99px;
    /* Pill shape */
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.btn-premium-cta:hover {
    background: rgba(59, 130, 246, 0.15);
    /* Subtle blue tint */
    border-color: #60A5FA;
    /* Lighter blue */
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

.btn-premium-cta svg {
    transition: transform 0.3s ease;
}

.btn-premium-cta:hover svg {
    transform: translateX(5px);
}

/* =========================================
   6. TRUST BADGE
   ========================================= */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94A3B8;
    padding: 0.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 1rem;
}

.badge-icon {
    color: var(--accent-teal);
}

/* =========================================
   7. INNOVATION CONTAINER (Placeholder)
   ========================================= */
.chaos-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    /* Let clicks pass through */
}

.chaos-shape {
    position: absolute;
    will-change: transform;
    /* Hint for performance */
}

/* =========================================
   8. ANIMATIONS & JS UTILITIES
   ========================================= */

/* Breathing Animation for "tygodniami" */
@keyframes breathe {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }
}

.breathing {
    animation: breathe 4s ease-in-out infinite;
}

/* Shimmer Animation for "w godzinach" */
@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.shimmer {
    background-size: 200% auto !important;
    animation: shimmer 3s linear infinite;
}

/* Entrance Animation initial state helper */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background-color: var(--accent-teal);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 1.5s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, 4px);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Accessibility Focus Ring */
*:focus-visible {
    outline: 2px solid var(--accent-violet);
    outline-offset: 4px;
}

/* =========================================
   9. SECTION 2: WHY US (BENTO GRID)
   ========================================= */
#dlaczego-my {
    position: relative;
    padding: 6rem 1.5rem;
    background-color: transparent;
    z-index: 20;
    /* Above the chaos background if it extends */
}

/* Container Utility (if not global, defining usage here) */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Header Area */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtext {
    color: #94A3B8;
    /* Text muted */
    font-size: 1.125rem;
}

/* Typography Highlights */
.highlight-bad {
    color: #94A3B8;
    /* Muted Slate */
    font-weight: 500;
    /* meaningful weight */
    margin-right: 0.5rem;
}

.highlight-good {
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    /* text-shadow: 0 0 20px rgba(74, 222, 128, 0.3); REMOVED */
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Card Styling */
/* Card Styling */
.bento-card {
    /* Aurora Glass Background */
    background: rgba(20, 30, 46, 0.95);
    /* High opacity dark background instead of blur */
    /* backdrop-filter: blur(12px); REMOVED */

    /* Remove default border, use pseudo-element */
    border: none;
    border-radius: 16px;
    position: relative;
    padding: 2rem;

    /* Flex Layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;

    /* Animation & performance */
    transition: transform 0.2s ease-out, box-shadow 0.3s ease;
    will-change: transform;
    cursor: default;
    overflow: hidden;
    /* Contains glare and border-radius */
    z-index: 1;
}

/* Gradient Border (Pseudo-element Mask) */
.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    /* Border Width */
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 2;
    pointer-events: none;
}

/* Glare Effect */
.glare {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 70%);
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: overlay;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.bento-card:hover {
    box-shadow: 0 10px 40px -10px rgba(11, 17, 33, 0.6);
    /* Aurora glow intensifies */
    background: radial-gradient(circle at top left, rgba(79, 108, 255, 0.25), transparent 60%),
        var(--card-glass);
}

.bento-card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    /* Smooth scale on hover */

    color: var(--text-light);
    background: none;
    -webkit-background-clip: border-box;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.bento-card p {
    color: #94A3B8;
    font-size: 0.95rem;
}

/* Bottom Rows (Wide Cards) */
.bento-rows {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bento-row {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.bento-row:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.row-icon {
    font-size: 2rem;
}

.row-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.row-content p {
    color: #94A3B8;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-row {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

/* =========================================
   11. SECTION 3: SERVICES
   ========================================= */
/* =========================================
   11. SECTION 3: SERVICES
   ========================================= */
#uslugi {
    padding: 6rem 1.5rem;
    background-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Theme Scoping */
.theme-blue {
    --theme-color: #4F6CFF;
}

.theme-green {
    --theme-color: #4ADE80;
}

.theme-violet {
    --theme-color: #8B5CF6;
}

/* Service Card Styling */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--theme-color);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: opacity, transform;
    /* Performance Hint */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: var(--theme-color);
    /* Fallback */
}

/* Icon Area */
.service-icon {
    font-size: 2.5rem;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    /* Neutral glass backing */
    color: var(--theme-color);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-desc {
    color: #94A3B8;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Feature List */
.service-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    /* Bouncy ease */
}

.service-features li::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--theme-color);
    border-radius: 50%;
    margin-right: 0.75rem;
}

/* CTA Button */
.service-card .btn-text {
    display: inline-block;
    width: fit-content;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--theme-color);
    color: var(--theme-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    margin-top: auto;
    transition: all 0.3s ease;
    align-self: center;
}

.service-card .btn-text:hover {
    background: var(--theme-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.service-card .btn-text:active {
    transform: scale(0.98);
}

/* Accessibility Focus */
.service-card:focus-within {
    /* Optional: Highlight card when focusing internal elements? */
}

/* Theme-specific Focus Rings */
.theme-blue *:focus-visible {
    outline: 2px solid var(--theme-color);
}

.theme-green *:focus-visible {
    outline: 2px solid var(--theme-color);
}

.theme-violet *:focus-visible {
    outline: 2px solid var(--theme-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Optimization: Permanent Glow */
    .service-card {
        border-color: var(--theme-color);
        /* Fallback */
        /* To make it subtle/opacity we need color-mix or rgba if var is hex. 
           Since var is hex, we can't add alpha easily without relative-color-syntax (modern).
           Let's just use the hex. Browsers will handle it or we stick to solid. */
        box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.5);
        /* Permanent shadow */
    }

    /* Ensure list items are readable static */
    .service-features li {
        opacity: 1;
        transform: none !important;
    }
}


/* =========================================
   12. SECTION 4: PROCESS (HOLOGRAPHIC PIPELINE)
   ========================================= */
#proces {
    padding: 6rem 1.5rem;
    background-color: transparent;
}

.process-pipeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    min-height: 800px;
    /* Ensure height for scroll */
}

/* --- Central Track --- */
.pipeline-track {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.track-line {
    width: 100%;
    height: 100%;
}

.track-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    /* JS will control this */
    background: linear-gradient(180deg, var(--brand-blue), var(--brand-green));
    box-shadow: 0 0 15px var(--brand-blue);
    transition: height 0.1s linear;
    /* Smooth linear scrub */
}

/* --- Steps Container --- */
.pipeline-steps {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.pipeline-step {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

/* Zigzag Layout */
.step-left {
    justify-content: flex-end;
    padding-right: 50%;
    /* Stop at center */
}

.step-right {
    justify-content: flex-start;
    padding-left: 50%;
    /* Start at center */
}

/* --- The Dot (Connection Point) --- */
.step-dot {
    width: 16px;
    height: 16px;
    background: var(--bg-dark);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    transition: all 0.3s ease;
    z-index: 5;
}

/* Active Dot */
.pipeline-step.active .step-dot {
    background: var(--brand-green);
    border-color: var(--brand-green);
    box-shadow: 0 0 20px var(--brand-green);
    transform: translateX(-50%) scale(1.2);
}

/* --- Step Card --- */
.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    margin: 0 2rem;
    /* Spacing from center line */
    opacity: 0.3;
    /* Dimmed initially */
    transform: translateY(20px);
    transition: all 0.4s ease-out;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Active Card */
.pipeline-step.active .step-card {
    opacity: 1;
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Icon */
.step-icon {
    min-width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    transition: all 0.3s ease;
}

.pipeline-step.active .step-icon {
    background: var(--brand-blue);
    color: white;
    box-shadow: 0 0 20px rgba(79, 108, 255, 0.4);
}

.step-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.step-num {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 0.25rem;
    letter-spacing: 1px;
}

.step-text p {
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {
    .pipeline-track {
        left: 20px;
        /* Move line to left */
        transform: none;
    }

    .step-left,
    .step-right {
        justify-content: flex-start;
        padding-left: 20px;
        /* Align to line */
        padding-right: 0;
    }

    .step-dot {
        left: 20px;
        transform: translateX(-50%);
    }

    .step-card {
        margin: 0 0 0 2.5rem;
        /* Margin left from dot */
        width: calc(100% - 3rem);
    }

    .pipeline-step.active .step-dot {
        transform: translateX(-50%) scale(1.2);
    }
}

/* =========================================


    /* =========================================
   13. SECTION 5: PRICING (QUANTUM GLASS)
   ========================================= */
#pricing-quantum {
    padding: 6rem 1.5rem;
    background-color: transparent;
}

/* --- Packages Grid --- */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* Wider cards */
    gap: 2.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* Matching wider cards */
    gap: 2.5rem;
    /* Larger gap */
    margin-top: 3rem;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Card Base --- */
.pricing-card {
    background: rgba(15, 23, 42, 0.95);
    /* More opaque, faster */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    /* More rounded */
    padding: 3rem 2rem;
    /* Larger padding */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    /* backdrop-filter: blur(10px); REMOVED for performance */
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    /* Optimized shadow */
    border-color: rgba(255, 255, 255, 0.2);
}

/* Remove JS Glow container styles */
.card-glow {
    display: none;
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* --- Typography --- */
.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    z-index: 2;
    position: relative;
    text-align: center;
}

.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    /* Align to top for multi-line */
    color: var(--text-light);
    margin-bottom: 1.2rem;
    /* More spacing */
    font-size: 1rem;
    line-height: 1.4;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.features-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.features-list strong {
    color: #fff;
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}


/* --- THEME SETUP --- */
.theme-blue {
    --theme-color: var(--brand-blue);
    --theme-glow: rgba(79, 108, 255, 0.2);
}

.theme-green {
    --theme-color: var(--brand-green);
    --theme-glow: rgba(74, 222, 128, 0.2);
}

.theme-orange {
    --theme-color: var(--brand-orange);
    --theme-glow: rgba(249, 115, 22, 0.2);
}

/* --- ICONS (THEMED) --- */
.theme-blue .features-list li::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%234F6CFF" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    margin-right: 12px;
    display: block;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    /* Align with first line */
    flex-shrink: 0;
}

.theme-green .features-list li::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%234ADE80" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    margin-right: 12px;
    display: block;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.theme-orange .features-list li::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23F97316" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    margin-right: 12px;
    display: block;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* --- Button Styling (THEMED) --- */
.pricing-card .btn-primary {
    width: 100%;
    margin-top: auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid var(--theme-color);
    border-radius: 12px;
    /* Matching Pro Card */
    color: #fff;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 1.5rem;
    /* Larger button */
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.pricing-card .btn-primary:hover {
    background: var(--theme-color);
    box-shadow: 0 5px 25px var(--theme-glow);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
    border-color: var(--theme-color);
}

/* Shimmer Animation Effect */
.pricing-card .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: none;
}

.pricing-card:hover .btn-primary::after {
    animation: shimmer 1s ease-in-out forwards;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* --- BORDERS & TYPOGRAPHY (THEMED) --- */
.pricing-card {
    border-color: rgba(255, 255, 255, 0.1);
    will-change: transform;
    /* Hint for 3D tilt */
}

.theme-blue {
    border-color: rgba(79, 108, 255, 0.3);
}

.theme-green {
    border-color: rgba(74, 222, 128, 0.3);
}

.theme-orange {
    border-color: rgba(249, 115, 22, 0.3);
}

/* Pulse Animation for Badge (Green Only currently) */
.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--brand-green);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 10;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

/* Theme Prices */
.pricing-card .price {
    background: linear-gradient(135deg, white, var(--theme-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
    /* Larger Price */
    font-weight: 800;
    margin: 1rem 0;
    letter-spacing: -1px;
}

/* Hero Price Bigger */
.card-premium .price {
    font-size: 4rem;
}

/* Hero (Green) Overrides */
.card-premium {
    /* box-shadow: 0 0 20px rgba(74, 222, 128, 0.1); REMOVED */
    border-color: rgba(74, 222, 128, 0.4);
}

/* --- SCANNER EFFECT (THEMED) --- */
.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    /* Thicker line */
    background: linear-gradient(90deg, transparent, var(--theme-color), transparent);
    box-shadow: 0 0 20px var(--theme-color);
    /* Stronger glow */
    z-index: 10;
    animation: scan 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes scan {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* --- BACKGROUND ICONS (Watermarks) --- */
.bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    transition: all 0.5s ease;
}

.bg-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--theme-color);
    stroke-width: 0.5;
}

.pricing-card:hover .bg-icon {
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(1.1) rotate(-5deg);
}

/* --- INTERACTIVE GLOW (THEMED) --- */
.card-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--theme-glow), transparent 70%);
    opacity: 0;
    /* Hidden by default, JS tracks mouse */
    pointer-events: none;
    /* mix-blend-mode: screen; REMOVED for performance */
    top: -200px;
    left: -200px;
    transform: translate(0, 0);
    /* JS will update this */
    transition: opacity 0.3s ease;
    z-index: 1;
    will-change: transform, opacity;
}

/* Mobile */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .card-premium {
        order: -1;
    }

    /* Reduce icon size on mobile */
    .bg-icon {
        width: 150px;
        height: 150px;
    }
}


/* =========================================
   14. FULL PRICING PAGE STYLES (NEW)
   ========================================= */

#pricing-hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    text-align: center;
    background: radial-gradient(circle at center top, #1E293B 0%, var(--bg-dark) 70%);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    /* Subtle neon white glow */
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    letter-spacing: -1px;
}

/* Global Brand Gradient Utility or Scoped to both titles */
.hero-title .text-gradient,
.category-title .text-gradient {
    /* Resolveo Brand Gradient: Blue to Green */
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.3));
}

.hero-sub {
    font-size: 1.25rem;
    color: #94A3B8;
    margin-bottom: 2rem;
}

.pro-tip-banner {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 800px;
    text-align: left;
}

.tip-icon {
    font-size: 1.5rem;
}

.pro-tip-banner p {
    font-size: 0.9rem;
    color: #F0FDF4;
    margin: 0;
}

/* --- Packages Grid --- */
.pricing-category-section {
    margin-bottom: 6rem;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.package-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #64748B;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.package-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.theme-violet {
    border-top-color: #8B5CF6;
}

.theme-gold {
    border-top-color: #F59E0B;
}

.pkg-header {
    margin-bottom: 1.5rem;
}

.pkg-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    min-height: 3rem;
    /* Align lines */
}

.pkg-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    color: #94A3B8;
}

.pkg-price {
    margin-bottom: 2rem;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: #64748B;
    font-size: 0.9rem;
}

.current-price {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.vat {
    font-size: 0.8rem;
    color: #64748B;
}

.pkg-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pkg-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
    color: #E2E8F0;
}

.pkg-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-green);
    font-weight: bold;
}

/* Highlight Card */
.highlight-card {
    background: radial-gradient(circle at top left, rgba(74, 222, 128, 0.1), transparent 80%), rgba(255, 255, 255, 0.05);
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.1);
    position: relative;
    overflow: hidden;
    transform: scale(1.02);
}

.highlight-card:hover {
    transform: scale(1.05);
}

/* --- Detailed List Grid --- */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.detail-category h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.5rem;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.d-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #F1F5F9;
}

.d-info p {
    font-size: 0.85rem;
    color: #94A3B8;
    margin: 0;
}

.d-price {
    font-weight: 700;
    color: var(--brand-green);
    white-space: nowrap;
    margin-left: 1rem;
}

/* Mobile Pricing Page */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }


    .pro-tip-banner {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 12px;
    }
}


/* --- Portal Button (Main Page) --- */
.pricing-cta-container {
    text-align: center;
    margin-top: 5rem;
    position: relative;
    z-index: 10;
}

.cta-text {
    font-size: 1.1rem;
    color: #94A3B8;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.btn-portal {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 3rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50px;
    transition: all 0.5s ease;
    overflow: hidden;
    /* Portal Ring Mask */
    box-shadow: 0 0 20px rgba(79, 108, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portal-text {
    z-index: 2;
    position: relative;
}

/* Rotating Ring */
.portal-ring {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, var(--brand-blue) 40%, transparent 80%);
    animation: rotatePortal 4s linear infinite;
    opacity: 0.5;
    z-index: 1;
    will-change: transform;
    backface-visibility: hidden;
    /* Optimize rendering of rotating large element */
}

/* Inner Glow */
.portal-glow {
    position: absolute;
    inset: 2px;
    background: var(--bg-dark);
    border-radius: 48px;
    z-index: 1;
}

.btn-portal:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(79, 108, 255, 0.5);
    border-color: var(--brand-blue);
}

.btn-portal:hover .portal-ring {
    opacity: 1;
    animation-duration: 2s;
    /* Spin faster */
}

@keyframes rotatePortal {
    0% {
        transform: rotate(0deg);
    }


    100% {
        transform: rotate(360deg);
    }
}


/* =========================================
   15. PRICING CAROUSEL (COMPACT & 3D)
   ========================================= */

/* --- Back Button --- */
.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94A3B8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.btn-back:hover {
    color: #fff;
}

/* --- Static Packages Grid (Professional) --- */
.pricing-grid-section {
    padding: 4rem 0;
    /* Increased padding */
}

.pro-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Wider cards */
    gap: 2.5rem;
    /* More gap */
    padding: 1rem 0;
}

.pro-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    /* Slightly more rounded */
    padding: 2rem 1.5rem;
    /* Larger padding */
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pro-card:hover {
    transform: translateY(-8px);
    /* Deeper lift */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Highlight Card (Business) */
.highlight-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
    transform: scale(1.03);
    /* Slightly larger scale */
    z-index: 10;
}

.highlight-card:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
}

.card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--brand-blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

/* Header & Visuals */
.card-visual-header {
    margin-bottom: 2rem;
}

.theme-icon-small {
    font-size: 2.5rem;
    /* Larger icon */
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 12px currentColor);
    display: inline-block;
}

/* Theme Colors reuse */
.theme-emerald {
    border-top: 5px solid #10b981;
    /* Thicker border */
}

.theme-blue {
    border-top: 5px solid #3b82f6;
}

.theme-purple {
    border-top: 5px solid #8b5cf6;
}

.theme-orange {
    border-top: 5px solid #f97316;
}

.theme-gold {
    border-top: 5px solid #eab308;
}

.theme-emerald .theme-icon-small {
    color: #10b981;
}

.theme-blue .theme-icon-small {
    color: #3b82f6;
}

.theme-purple .theme-icon-small {
    color: #8b5cf6;
}

.theme-orange .theme-icon-small {
    color: #f97316;
}

.theme-gold .theme-icon-small {
    color: #eab308;
}

.theme-cyan {
    border-top: 5px solid #06b6d4;
}

.theme-cyan .theme-icon-small {
    color: #06b6d4;
}

.theme-rose {
    border-top: 5px solid #f43f5e;
}

.theme-rose .theme-icon-small {
    color: #f43f5e;
}

.theme-slate {
    border-top: 5px solid #94a3b8;
}

.theme-slate .theme-icon-small {
    color: #94a3b8;
}

/* Content Styling */
.card-price-row {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.amount {
    font-size: 2rem;
    /* Much larger price */
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.pkg-name {
    font-size: 1.2rem;
    /* Larger Name */
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Unified Premium Feature List Style --- */
.pkg-features.simple,
.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    flex-grow: 1;
    text-align: left;
}


/* =========================================
   16. MOBILE MENU & RESPONSIVE OVERRIDES
   ========================================= */

/* Mobile Menu Trigger (Hamburger) */
.mobile-menu-trigger {
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 200;
    /* Relative to Header */
    position: relative;
    /* Essential for z-index */
}

.mobile-menu-trigger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Animation State */
.mobile-menu-trigger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-trigger.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-trigger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 17, 33, 0.98);
    /* Deep dark opacity */
    backdrop-filter: blur(10px);
    z-index: 99;
    /* Below Header (100), Above Content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger transition delay for items */
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.mobile-nav-links a:hover {
    color: var(--brand-green);
}

/* --- Responsive Media Queries --- */

@media (max-width: 992px) {

    /* Adjust Container Width */
    :root {
        --container-width: 90%;
    }
}

@media (max-width: 768px) {

    /* 1. Header & Nav */
    .nav-links,
    .nav-cta {
        display: none;
        /* Hide desktop nav */
    }

    .mobile-menu-trigger {
        display: flex;
        /* Show hamburger */
    }

    nav {
        padding: 0 1.5rem;
    }

    /* 2. Hero Section */
    #hero {
        padding-top: 120px;
        /* More space for fixed header */
        align-items: flex-start;
        /* Align top on mobile */
    }

    .hero-content {
        padding: 1rem;
    }

    h1#hero-title {
        font-size: 2.5rem;
        /* Smaller H1 */
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    /* 3. Global Spacing */
    section {
        padding: 3rem 1.5rem !important;
        /* Reduce padding globally */
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* 4. Bento Grid (Already handled in main CSS but ensuring) */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card {
        padding: 1.5rem;
        min-height: 250px;
    }

    /* 5. Services (Already handled) */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* 6. Pricing & Pipeline */
    .pipeline-track {
        left: 20px;
    }

    .step-left,
    .step-right {
        padding-left: 20px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .step-card {
        margin-left: 2.5rem;
        margin-right: 0;
        width: auto;
    }

    .pricing-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }

    /* 7. Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand,
    .footer-contact,
    .footer-links {
        align-items: center;
    }

    .footer-links ul {
        justify-content: center;
    }

    /* 8. Feature List Fixes */
    .pkg-features.simple li,
    .features-list li {
        padding-left: 2rem !important;
        /* Ensure space for icon */
    }
}

/* Remove border from last item */
.pkg-features.simple li:last-child,
.features-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Cleanup BR if needed, but block display of strong handles breaks mostly */
.pkg-features.simple li br,
.features-list li br {
    display: none;
}

/* The Green Checkmark Icon - Absolutely Positioned */
.pkg-features.simple li::before,
.features-list li::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234ADE80" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 2px;
    /* Align with the Title line */
    display: block;
    filter: drop-shadow(0 0 5px rgba(74, 222, 128, 0.5));
}

/* Feature Title (Strong) */
.pkg-features.simple li strong,
.features-list li strong {
    display: block;
    /* Forces new line for description */
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

/* Feature Description (Text Node) */
/* Targeted via general li text color setting above */



/* Button */
.btn-wrap-static {
    margin-top: auto;
}

.btn-pro {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    /* Larger button */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    background: transparent;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-pro:hover {
    background: #fff;
    color: #0F172A;
    border-color: #fff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-pro.btn-glow {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-pro.btn-glow:hover {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.pkg-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-price {
    margin-bottom: 0.5rem;
}

.amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.pkg-desc {
    font-size: 0.8rem;
    color: #94A3B8;
    margin-bottom: 1rem;
    min-height: 2.4em;
    /* Align lines */
}

/* Compact Features */
.pkg-features.compact {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    font-size: 0.85rem;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

.pkg-features.compact li {
    margin-bottom: 0.5rem;
}

/* Button */
.btn-wrapper {
    margin-top: auto;
}

.btn-carousel {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    /* Pill shape */
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-carousel:hover {
    background: #fff;
    color: #000;
}

.btn-highlight {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-highlight:hover {
    background: #2563eb;
    color: #fff;
}

/* --- Tabs Styling --- */
.pricing-tabs-section {
    margin-top: 3rem;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    color: #94A3B8;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 0.9rem;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.tab-btn.active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
    display: block;
}

.tab-header {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    color: #fff;
    display: none;
    /* Hide header inside tab as buttons explain it */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Detailed Services Layout (Full Width Stack) --- */
.detail-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.d-info h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.d-info p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin: 0;
}

.d-price {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    white-space: nowrap;
    margin-left: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

/* Add bottom spacing */
.pricing-tabs-section {
    margin-top: 3rem;
    padding-bottom: 8rem;
    /* Extra space at bottom */
}

@media (min-width: 1024px) {
    .pricing-carousel-section {
        width: 100%;
        margin-left: 0;
    }

    .carousel-track {
        justify-content: center;
        padding: 2rem 0;
    }
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

.contact-hero {
    padding: 4rem 0 2rem 0;
    /* Reduced from 6rem 0 2rem 0 */
    text-align: center;
    background: radial-gradient(circle at center, #1E293B 0%, var(--bg-dark) 70%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    align-items: stretch;
    /* Stretch children to equal height */
    max-width: 1200px;
    /* Widened Container */
    margin: 0 auto;
    /* Center */
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row-2col {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

/* --- Left: Form --- */
.glass-form-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.25rem;
    /* Reduced padding for height control */
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.glass-form-card h3 {
    font-size: 1.4rem;
    /* Slightly smaller title */
    color: #fff;
    margin-bottom: 0.25rem;
    /* Tight margin */
    text-align: center;
}

.form-group {
    margin-bottom: 0.75rem;
    /* Reduced margin */
}

.form-group label {
    display: block;
    color: #94A3B8;
    margin-bottom: 0.25rem;
    /* Tight label margin */
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.6rem;
    /* Reduced padding */
    color: #fff;
    font-family: var(--font-main);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: rgba(59, 130, 246, 0.1);
}

.direct-contact-info {
    /* Styles for the footer bar are handled inline or global, this class is repurposed */
}

/* --- Right: Booking --- */
.booking-cta-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    /* Reduced padding for height control */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.booking-cta-card h3 {
    font-size: 1.4rem;
    /* Slightly smaller title */
    color: #fff;
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    /* Reduced margin */
    line-height: 1.4;
}

.booking-features {
    margin-bottom: 1.5rem;
    /* Reduced margin */
    display: flex;
    flex-direction: row;
    /* Horizontal layout */
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    /* Horizontal gap */
    align-items: center;
}

.bf-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    padding: 0.1rem 0;
}

.day-name {
    text-align: center;
    color: #64748B;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.cal-day {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cal-day:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.1);
}

.cal-day.active {
    background: var(--brand-blue);
    color: #fff;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.cal-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: transparent;
}

/* Time Slots */
.time-slots h4 {
    font-size: 0.9rem;
    color: #94A3B8;
    margin-bottom: 1rem;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.time-slot {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.time-slot:hover {
    border-color: var(--brand-blue);
}

.time-slot.active {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    font-weight: 600;
}

/* =========================================
   BOTTOM CALL TO ACTION (CTA)
   ========================================= */
.final-cta-section {
    padding: 8rem 1.5rem;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Background Grid */
.cta-grid-bg {
    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: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    z-index: 1;
    pointer-events: none;
}

/* Animated Orbs */
.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
    animation: floatOrb 10s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--brand-blue), transparent);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--brand-green), transparent);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 30px);
    }
}

.final-cta-section .section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 800;
}

.final-cta-section .section-subtext {
    font-size: 1.25rem;
    color: #CBD5E1;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Updated Button Pulse */
.pulse-btn {
    animation: btnPulse 3s infinite;
}

/* Optimized Pulse: Scale and Opacity on Pseudo-element instead of box-shadow */
@keyframes btnPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Add will-change to interactive elements */
.pricing-card {
    will-change: transform;
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    will-change: transform;
}

/* Updated Button (Kept as requested) */
.btn-glow-large {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    background: var(--brand-blue);
    border: none;
    color: #fff;
    border-radius: 99px;
    /* Pill */
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-glow-large:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
}

/* =========================================
   GLOBAL FOOTER
   ========================================= */
footer {
    background: #020617;
    /* Very dark slate */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 0 0;
    color: #94A3B8;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links ul {
        align-items: center;
        /* Center links on mobile */
    }
}

.footer-brand .logo {
    display: table;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .footer-brand .logo {
        margin: 0 auto 1rem auto;
    }
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 300px;
}

.footer-contact h4,
.footer-links h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-contact p {
    margin-bottom: 0.8rem;
}

.footer-contact a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--brand-blue);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
    display: inline-block;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #64748B;
}

/* =========================================
   WEB DEVELOPMENT PAGE STYLES (PREMIUM)
   ========================================= */

/* Living Background Animation */
@keyframes livingGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.living-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(124, 58, 237, 0.15), transparent 25%);
    filter: blur(60px);
    pointer-events: none;
}

/* Visual Side */
.ebook-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ebook-visual img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    border-radius: 12px;
    /* Removed custom 3D transforms as image is already 3D rendered */
    transition: transform 0.5s ease;
}

.ebook-visual:hover img {
    transform: scale(1.02);
}

/* Decoration behind book (Adjusted for new image tones) */
.ebook-visual::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    /* Greenish glow to match cover */
    z-index: -1;
    filter: blur(50px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hero Section */
.tech-hero {
    position: relative;
    padding: 10rem 0 6rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    /* Transparent to reveal interactive canvas */
    background: transparent;
    overflow: hidden;
}

/* Animated Aurora Behind Hero */
.tech-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    animation: rotate Aurora 20s linear infinite;
    z-index: 1;
}

.tech-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
    color: var(--brand-blue);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.tech-badge::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--brand-blue);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px var(--brand-blue);
}

.text-blue {
    background: linear-gradient(to right, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #3b82f6;
}

/* Values Grid */
.tech-values {
    background: #020617;
    position: relative;
    z-index: 2;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.value-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.value-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.value-card h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
}

.value-card p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Offer Grid */
.tech-offer {
    background: #0b1121;
    /* Slightly lighter than pure black */
    position: relative;
    z-index: 2;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

@media (max-width: 900px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }
}

.offer-item {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.offer-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
    opacity: 0;
    transition: opacity 0.3s;
}

.offer-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.offer-item:hover::before {
    opacity: 1;
}

.offer-item h4 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.offer-item p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.check-list li {
    margin-bottom: 0.8rem;
    color: #e2e8f0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.check-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(59, 130, 246, 0.2);
    color: var(--brand-blue);
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Portfolio Section (Premium Upgrade) */
.portfolio-section {
    background: #020617;
    position: relative;
    z-index: 2;
    padding-bottom: 8rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background: transparent;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    perspective: 1000px;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.project-image {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f172a;
}

/* Mac Window Controls Mockup */
.project-image::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56;
    /* Red */
    box-shadow: 18px 0 0 #ffbd2e, 36px 0 0 #27c93f;
    /* Yellow & Green */
    z-index: 10;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    padding-top: 20px;
    /* Space for dots */
    transition: transform 0.5s ease;
}

.project-card:hover .img-placeholder {
    transform: scale(1.05);
}

.project-content {
    padding: 2rem 1rem;
}

.project-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.project-card p {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* =========================================
   12. CUSTOM DROPDOWN (BOOKING WIDGET)
   ========================================= */
.custom-select-container {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select-trigger {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1rem;
}

.custom-select-trigger:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.trigger-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.selected-icon {
    font-size: 1.25rem;
}

.arrow {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

/* Open State */
.custom-select-container.open .custom-select-trigger {
    border-color: var(--brand-green);
    background: rgba(30, 41, 59, 0.8);
    border-radius: 8px 8px 0 0;
}

.custom-select-container.open .arrow {
    transform: rotate(180deg);
    color: var(--brand-green);
}

/* Options List */
.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.custom-select-container.open .custom-options {
    max-height: 400px;
    opacity: 1;
    overflow-y: auto;
}

/* Option Item */
.custom-option {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
    color: #cbd5e1;
}

.custom-option .icon {
    font-size: 1.25rem;
    min-width: 24px;
    text-align: center;
}

.custom-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* =========================================
   13. BOOKING BENEFITS (CONTACT PAGE)
   ========================================= */
.booking-benefits {
    margin-top: 1rem;
    /* Reduced from 2rem */
    padding-top: 1rem;
    /* Reduced from 2rem */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Removed card styling since it's now inside the card */
}

.booking-benefits h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* Reduced from 1rem */
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 6px;
    color: var(--brand-green);
    font-size: 1rem;
}

/* Gradient Flow Animation */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* =========================================
   WEB DEV PAGE SPECIFIC STYLES
   ========================================= */

/* --- Tech Hero --- */
.tech-hero {
    position: relative;
    padding: 8rem 0 6rem 0;
    text-align: center;
    overflow: hidden;
    /* Dark radial bloom background */
    background: radial-gradient(circle at center, #1e293b 0%, #020617 80%);
}

/* Ensure other sections on Web Dev page are transparent to show canvas */
/* UPDATED: User requested cleaner Navy-Blue background (lighter than pure black)
   for Offer/Portfolio sections.
*/
.tech-offer,
.portfolio-section {
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(10px);
    /* Lighter Navy Blue (Slate 900) */
    position: relative;
    /* For grid overlay positioning */
}

/* Extra spacing for Portfolio to separate it from Offer */
.portfolio-section {
    padding-top: 8rem;
    /* significantly increased */
    padding-bottom: 6rem;
}

/* Grid Overlay (Static) */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.6;
    /* Slightly subtler grid on lighter background */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* Back Link */
.back-link {
    position: absolute;
    top: -4rem;
    /* Position above content */
    left: 0;
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: #fff;
}

/* Badge */
.badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tech-badge {
    background: rgba(30, 58, 138, 0.3);
    /* Dark blue tint */
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60A5FA;
    padding: 0.5rem 1.2rem;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    /* Massive responsive size */
    margin-bottom: 2rem;
    line-height: 1.1;
    color: #fff;
    font-weight: 800;
}

/* Utility: Orange Text */
.text-orange {
    color: var(--brand-orange);
    background: linear-gradient(to right, #F97316, #FB923C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Simplified Services List (High Performance) --- */
.services-simple-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-simple-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: background 0.2s ease;
}

.service-simple-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.service-simple-icon {
    font-size: 1.8rem;
    min-width: 3rem;
    text-align: center;
}

.service-simple-content h4 {
    margin: 0 0 0.2rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f8fafc;
}

.service-simple-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* Blue Gradient Text for specific span */
.text-blue {
    background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.2rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* =========================================
   WEB DEV PAGE (Blue/Navy Theme)
   ========================================= */

/* Specific Section Titles for Web Dev Page */

/* Portfolio Title (Standard White) */
.portfolio-section .section-title,
.auto-portfolio .section-title,
.marketing-portfolio .section-title {
    /* Added marketing-portfolio */
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
    letter-spacing: -1px;
    width: 100%;
    /* Ensure full width block for centering */
    display: block;
}

/* Offer Title (Enhanced Gradient - Blue) */
/* Offer Title (Aligned with Portfolio - White) */
.tech-offer .section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    /* Increased margin */
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    /* Solid White */
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
    /* Subtle blue shadow match */
    background: none;
    -webkit-text-fill-color: initial;
}

/* Scoped Override for Premium Section Spacing */
.premium-offer-section {
    padding-top: 10rem !important;
    /* Extra space from top */
}


/* =========================================
   AUTOMATION PAGE (Green Theme)
   ========================================= */

/* Green Hero Variant */
#auto-hero-bg {
    background: radial-gradient(circle at center, #064e3b 0%, #022c22 80%);
    /* Emerald Dark */
}

/* Green Page Sections */
.auto-offer,
.auto-portfolio {
    background: #022c22 !important;
    /* Very Dark Emerald (Green equivalent of Slate 900) */
    position: relative;
    padding-bottom: 6rem;
}

.auto-portfolio {
    padding-top: 8rem;
    /* Separation spacing */
}

/* Green Title Gradient */
/* Updated to match Premium SaaS White Title */
.auto-offer .section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    /* Matched spacing */
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    /* White */
    text-shadow: 0 0 30px rgba(74, 222, 128, 0.15);
    /* Subtle green shadow */
    background: none;
    -webkit-text-fill-color: initial;
}

/* Green Badge */
.auto-badge {
    background: rgba(6, 78, 59, 0.3);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    /* Emerald 400 */
    padding: 0.5rem 1.2rem;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

/* Green Text Highlight */
.text-green {
    background: linear-gradient(90deg, #34d399 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   MARKETING PAGE (Violet Theme)
   ========================================= */

/* Violet Hero Variant */
#marketing-hero-bg {
    background: radial-gradient(circle at center, #2e1065 0%, #1e1b4b 80%);
    /* Indigo/Violet Dark */
}

/* Violet Page Sections */
.marketing-offer,
.marketing-portfolio {
    background: #1e1b4b !important;
    /* Very Dark Indigo (Slate 950 equivalent for Violet) */
    position: relative;
    padding-bottom: 6rem;
}

.marketing-portfolio {
    padding-top: 8rem;
    /* Separation spacing */
}

/* Violet Title Gradient */
/* Updated to match Premium SaaS White Title */
.marketing-offer .section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 3rem;
    /* Matched spacing */
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    /* White */
    text-shadow: 0 0 30px rgba(167, 139, 250, 0.15);
    /* Subtle violet shadow */
    background: none;
    -webkit-text-fill-color: initial;
}

/* Violet Badge */
.marketing-badge {
    background: rgba(46, 16, 101, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #a78bfa;
    /* Violet 400 */
    padding: 0.5rem 1.2rem;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
}

/* Violet Text Highlight */
.text-violet {
    background: linear-gradient(90deg, #a78bfa 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subtext centering and spacing */
.portfolio-section .section-subtext,
.auto-portfolio .section-subtext,
.marketing-portfolio .section-subtext {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: #94A3B8;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- Colorful Offer Grid --- */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
    /* Pull closer to the title above */
}

.offer-item {
    background: rgba(15, 23, 42, 0.6);
    /* Glass dark */
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 250px;
    z-index: 2;
    /* Above grid overlay */
}

.offer-item:hover {
    transform: translateY(-8px);
}

.offer-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s;
}

.offer-item:hover .offer-icon {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.offer-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.offer-item p {
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.5;
}

/* Theme Colors */
/* Blue */
.offer-item.theme-blue {
    border-color: rgba(59, 130, 246, 0.2);
}

.offer-item.theme-blue:hover {
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
    border-color: #3B82F6;
}

.offer-item.theme-blue .offer-icon {
    color: #60a5fa;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

/* Blue Text Highlight */
.text-blue {
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Green */
.offer-item.theme-green {
    border-color: rgba(16, 185, 129, 0.2);
}

.offer-item.theme-green:hover {
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15);
    border-color: #10B981;
}

.offer-item.theme-green .offer-icon {
    color: #10B981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

/* Violet */
.offer-item.theme-violet {
    border-color: rgba(139, 92, 246, 0.2);
}

.offer-item.theme-violet:hover {
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
    border-color: #8B5CF6;
}

.offer-item.theme-violet .offer-icon {
    color: #8B5CF6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

/* Pink */
.offer-item.theme-pink {
    border-color: rgba(236, 72, 153, 0.2);
}

.offer-item.theme-pink:hover {
    box-shadow: 0 10px 40px rgba(236, 72, 153, 0.15);
    border-color: #EC4899;
}

.offer-item.theme-pink .offer-icon {
    color: #EC4899;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.2);
}

/* Orange (Audit & Strategy) */
.offer-item.theme-orange {
    border-color: rgba(249, 115, 22, 0.2);
}

.offer-item.theme-orange:hover {
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.15);
    border-color: #F97316;
}

.offer-item.theme-orange .offer-icon {
    color: #F97316;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}

/* Cyan (API Integrations) */
.offer-item.theme-cyan {
    border-color: rgba(6, 182, 212, 0.2);
}

.offer-item.theme-cyan:hover {
    box-shadow: 0 10px 40px rgba(6, 182, 212, 0.15);
    border-color: #06B6D4;
}

.offer-item.theme-cyan .offer-icon {
    color: #06B6D4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

/* =========================================
   ABOUT US SECTION (NEW)
   ========================================= */
.about-section {
    position: relative;
    padding: 6rem 0;
    /* Transparent Background for Canvas Visibility */
    background: rgba(15, 23, 42, 0.85);
    /* Increased opacity for legibility since blur is gone */
    /* backdrop-filter: blur(5px); REMOVED */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

.about-desc {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-features li {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

@media (max-width: 900px) {
    .about-features li {
        justify-content: center;
    }
}

/* Certificate Card */
/* Certificate Card Redesign */
.certificate-card {
    background: #0f172a;
    /* Deep Dark Blue */
    position: relative;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    overflow: hidden;
    /* Gradient Border Trick */
    border: 1px solid transparent;
    /* Fallback */
    background-clip: padding-box;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    will-change: transform;
}

/* Gradient Border Pseudo */
.certificate-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    /* Border width */
    background: linear-gradient(135deg, #3B82F6 0%, #10B981 50%, #3B82F6 100%);
    background-size: 200% 200%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
    animation: borderShine 8s linear infinite;
}

.certificate-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}



/* Remove old gold bar */
.certificate-card::before {
    display: none;
}

.cert-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    animation: floatIcon 6s ease-in-out infinite;
    display: inline-block;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes borderShine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.certificate-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    text-transform: none;
    /* Reset uppercase */
}

/* Umiejętności Jutra 2.0 - Green Subtitle */
.cert-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4ade80;
    /* Bright Green */
    margin-bottom: 1.5rem;
    background: none;
    -webkit-text-fill-color: initial;
    display: block;
}

.cert-desc {
    color: #94a3b8;
    /* Muted Slate */
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.cert-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.c-badge {
    padding: 0.5rem 1.2rem;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
}

/* Google AI Badge */
.c-badge:nth-child(1) {
    background: rgba(30, 58, 138, 0.6);
    /* Dark Blue */
    color: #60a5fa;
    /* Light Blue Text */
}

/* SGH Badge */
.c-badge:nth-child(2) {
    background: rgba(20, 83, 45, 0.6);
    /* Dark Green */
    color: #4ade80;
    /* Light Green Text */
}

/* =========================================
   AURORA GLASSMORPHISM CTA (Futuristic Polish)
   ========================================= */
.final-cta-aurora {
    position: relative;
    padding: 8rem 0;
    /* Deep Dark Void Base */
    background-color: #020617;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aurora-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    /* Visible aurora */
    z-index: 1;
    pointer-events: none;
    /* Optional pulse animation for the background */
    animation: auroraPulse 10s ease-in-out infinite;
}

@keyframes auroraPulse {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

.flex-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Glass Card Container */
.glass-card-cta {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* Add a subtle shine reflection */
.glass-card-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    transform: rotate(30deg);
}

.aurora-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.text-glow-white {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.aurora-subtext {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Gradient Button */
.btn-aurora {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    /* Pill shape */
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    /* Blue to Violet */
    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.15),
        /* Outer ring */
        0 10px 20px rgba(59, 130, 246, 0.4);
    /* Drop shadow */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
    letter-spacing: 1px;
}

.btn-aurora:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 0 0 6px rgba(139, 92, 246, 0.2),
        0 15px 30px rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

@media (max-width: 600px) {
    .glass-card-cta {
        padding: 3rem 1.5rem;
        border-radius: 24px;
    }

    .aurora-title {
        font-size: 2.2rem;
    }
}

/* =========================================
   PREMIUM SAAS CTA (Web Dev Redesign)
   ========================================= */
.cta-premium-saas {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    /* Fallback/Base */
    background-color: #020617;
}

/* Utility Classes for Stacking */
.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.cta-saas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Vignette: Deeper, darker center for better contrast */
    background: radial-gradient(circle at center, #0f172a 0%, #020617 80%);
    opacity: 0.9;
    /* Slight increase to cover any chaos underneath */
}

/* Green Theme CTA (Automation) */
.cta-premium-saas.theme-auto .cta-saas-bg {
    background: radial-gradient(circle at center, #022c22 0%, #020617 80%);
    /* Deep Emerald */
}

/* Violet Theme CTA (Marketing) */
.cta-premium-saas.theme-marketing .cta-saas-bg {
    background: radial-gradient(circle at center, #2e1065 0%, #020617 80%);
    /* Deep Violet */
}


.cta-saas-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

/* Themed Container Centering Override */
.cta-premium-saas .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.saas-headline {
    font-size: 3rem;
    /* Increased size */
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
    /* Reset to Solid White so spans can work */
    background: none;
    -webkit-text-fill-color: initial;

    /* Glow */
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
}

.saas-subtext {
    font-size: 1rem;
    color: #94a3b8;
    /* Light gray */
    max-width: 500px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
    font-weight: 400;
}

.btn-pill-saas {
    display: inline-block;
    border-radius: 50px;
    /* Pill shape */
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(to bottom, #3b82f6, #2563eb);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 20px rgba(37, 99, 235, 0.3);
    /* Soft glow */
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-pill-saas:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 30px rgba(37, 99, 235, 0.5);
    background: linear-gradient(to bottom, #60a5fa, #3b82f6);
}

/* Green Button Variant (Automation) */
.btn-pill-green {
    display: inline-block;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(to bottom, #10b981, #059669);
    /* Emerald Gradient */
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 20px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-pill-green:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 30px rgba(16, 185, 129, 0.5);
    background: linear-gradient(to bottom, #34d399, #10b981);
}

/* Violet Button Variant (Marketing) */
.btn-pill-violet {
    display: inline-block;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(to bottom, #8b5cf6, #7c3aed);
    /* Violet Gradient */
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 20px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-pill-violet:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 30px rgba(139, 92, 246, 0.5);
    background: linear-gradient(to bottom, #a78bfa, #8b5cf6);
}

@media (max-width: 600px) {
    .saas-headline {
        font-size: 2rem;
    }
}

/* =========================================
   PREMIUM SAAS OFFER GRID (Web Dev Redesign)
   ========================================= */

/* Scoped Override */
.premium-offer-section .offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    /* Tighter gap */
    margin-top: 2rem;
}

.premium-offer-section .offer-item {
    padding: 1.5rem;
    /* Much less padding */
    border-radius: 12px;
    /* Smooth, smaller radius */
    background: rgba(15, 23, 42, 0.4);
    /* Subtler background */
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Top align */
    min-height: auto;
    /* Allow natural height */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-offer-section .offer-item:hover {
    transform: translateY(-4px);
    /* Subtle lift */
    background: rgba(15, 23, 42, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Icon Sizing */
.premium-offer-section .offer-icon {
    font-size: 1.5rem;
    /* Smaller icon */
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    box-shadow: none;
    /* Cleaner look */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Typography Overrides */
.premium-offer-section .offer-item h4 {
    font-size: 1.1rem;
    /* Much smaller headline */
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
}

.premium-offer-section .offer-item p {
    font-size: 0.9rem;
    /* Smaller body text */
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 0;
    /* Remove excess margin */
}

/* =========================================
   PARTNERS SECTION (Premium Marquee)
   ========================================= */
.partners-section {
    padding: 2rem 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 5;
    /* Above background, below header */
}

.partners-label {
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.partners-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    /* Gradient Masks for fade in/out effect */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    gap: 3rem;
    /* Spacing between logos */
    width: max-content;
    animation: marquee 40s linear infinite;
    /* Slow consistent scroll */
}

/* =========================================
   MODERN AI CTA (RESOLVEO BRAND) - FUTURISTIC NEURAL NETWORK
   ========================================= */
.cta-ai-modern {
    position: relative;
    padding: 8rem 1rem;
    overflow: hidden;
    /* Deep Void fallback */
    background: #020617;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Neural Network Background Layer */
.cta-ai-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url('neural_network_bg.png?v=2') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
    /* Balanced visibility */
    /* mix-blend-mode: lighten; REMOVED */
    z-index: 1;
    pointer-events: none;
    /* Optional: Deep Blue overlay for unified tint */
    opacity: 0.3;
    /* Lower opacity instead of blend mode */
}

/* Optional: Additional overlay gradient for depth */
.cta-ai-modern::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, #020617 90%);
    z-index: 1;
    pointer-events: none;
}

.cta-content-card {
    position: relative;
    z-index: 10;
    /* Glassmorphism: Dark, Frosted, Floating */
    background: rgba(10, 10, 20, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /* Gradient Border: Thin & Glowing (Blue-Violet-Cyan) */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(139, 92, 246, 0.2),
        /* Violet inner glow */
        0 20px 50px -10px rgba(0, 0, 0, 0.8),
        inset 0 0 40px rgba(59, 130, 246, 0.1);
    /* Blue internal depth */
    border-radius: 30px;
    padding: 5rem 4rem;
    max-width: 900px;
    width: 100%;
    text-align: center;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.cta-content-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 0 0 1px rgba(139, 92, 246, 0.4),
        0 30px 60px -12px rgba(0, 0, 0, 0.9),
        inset 0 0 60px rgba(59, 130, 246, 0.2);
}

/* Resolveo Logo Mark Construction */
.resolveo-logo-mark {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
    display: inline-block;
    line-height: 1;
    /* Logo Glow */
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.4));
}

.logo-part-blue {
    color: #60a5fa;
}

.logo-part-green {
    color: #34d399;
}

/* Headline: Neon Glow (Cool White) */
.cta-ai-modern h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(139, 92, 246, 0.4),
        0 0 40px rgba(59, 130, 246, 0.3);
    line-height: 1.2;
}

.cta-ai-modern h2 .text-blue {
    color: #fff;
    /* Override to white for full neon effect, or keep color with glow */
    text-shadow:
        0 0 10px rgba(59, 130, 246, 0.8),
        0 0 30px rgba(59, 130, 246, 0.6);
}

.cta-ai-modern p {
    font-size: 1.2rem;
    color: #e2e8f0;
    /* Crisp White/Gray */
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Button: Electric Blue-Violet Gradient + Neon Glow + Animation */
.cta-ai-modern .btn-pill-saas,
.cta-ai-modern .btn-pill-green,
.cta-ai-modern .btn-pill-violet {
    /* Override standard pill styles for this section */
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #d946ef);
    background-size: 200% 200%;
    animation: gradient-flow 3s ease infinite;
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 1.25rem 3.5rem;
    border-radius: 999px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.6),
        0 0 40px rgba(139, 92, 246, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

/* Unified Button Hover */
.cta-ai-modern .btn-pill-saas:hover,
.cta-ai-modern .btn-pill-green:hover,
.cta-ai-modern .btn-pill-violet:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 0 30px rgba(59, 130, 246, 0.8),
        0 0 60px rgba(139, 92, 246, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-content-card {
        padding: 3rem 1.5rem;
    }

    .resolveo-logo-mark {
        font-size: 2.5rem;
    }

    .cta-ai-modern h2 {
        font-size: 2rem;
    }

    .cta-ai-modern .btn-pill-saas {
        width: 100%;
        padding: 1rem 1rem;
    }
}

/* Pause animation on hover */
.partners-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Assumes track is duplicated 2x */
}

/* Partner Logo/Item Styling */
.partner-item {
    font-size: 1.5rem;
    font-weight: 400;
    color: #64748b;
    /* Muted Slate */
    white-space: nowrap;
    cursor: default;
    transition: all 0.3s ease;
    opacity: 0.6;
    display: flex;
    align-items: center;
    /* Placeholder Icon effect if needed */
}

.partner-item .bold {
    font-weight: 700;
    color: #94a3b8;
}

/* Hover Effect: Full Color & Glow */
.partner-item:hover {
    color: #fff;
    opacity: 1;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.partner-item:hover .bold {
    color: #fff;
}

/* Responsive speed adjustment */
@media (max-width: 768px) {
    .partners-track {
        animation-duration: 40s;
        gap: 2rem;
    }

    .partner-item {
        font-size: 1.2rem;
    }
}

.premium-offer-section .offer-item.theme-blue:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.premium-offer-section .offer-item.theme-green:hover {
    border-color: rgba(16, 185, 129, 0.4);
}

.premium-offer-section .offer-item.theme-violet:hover {
    border-color: rgba(139, 92, 246, 0.4);
}

.premium-offer-section .offer-item.theme-pink:hover {
    border-color: rgba(236, 72, 153, 0.4);
}

.premium-offer-section .offer-item.theme-orange:hover {
    border-color: rgba(249, 115, 22, 0.4);
}

.premium-offer-section .offer-item.theme-cyan:hover {
    border-color: rgba(6, 182, 212, 0.4);
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .premium-offer-section .offer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   15. LEAD MAGNET (E-BOOK) - FIXED & PREMIUM
   ========================================= */
#ebook-section {
    position: relative;
    padding: 8rem 1.5rem;
    background: radial-gradient(circle at 70% 50%, rgba(16, 185, 129, 0.05), transparent 40%),
        radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.05), transparent 40%),
        #020617;
    /* Deep Void */
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ebook-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ebook-content {
    text-align: left;
}

.discount-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    /* Emerald-400 */
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    animation: pulse-green-badge 3s infinite;
}

@keyframes pulse-green-badge {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.ebook-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.ebook-content h2 .text-gradient {
    /* Matches book cover tones: Cyan to Green */
    background: linear-gradient(135deg, #22d3ee, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
}

.ebook-content p {
    color: #94A3B8;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 500px;
}

/* Form Styling */
.ebook-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 450px;
    margin: 0 auto;
    /* Center form if content is centered */
}

/* Glassmorphism Input */
.form-input {
    width: 100%;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 1.5rem;
    border-radius: 99px;
    /* Pill shape for consistency */
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-input:focus {
    outline: none;
    border-color: #34d399;
    background: rgba(30, 41, 59, 0.7);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-input::placeholder {
    color: #94a3b8;
}

/* Premium Gradient Pill Button (Emerald) */
.btn-ebook {
    display: inline-block;
    width: 100%;
    /* Full width */
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    /* Emerald Gradient */
    color: #fff;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 9999px;
    /* Pill */
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4),
        0 8px 10px -6px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Shine Effect */
.btn-ebook::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s;
}

.btn-ebook:hover::before {
    left: 150%;
    transition: left 0.7s;
}

.btn-ebook:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -5px rgba(16, 185, 129, 0.5),
        0 8px 10px -6px rgba(16, 185, 129, 0.1);
    filter: brightness(1.1);
}

/* Visual Side */
.ebook-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ebook-visual img {
    max-width: 50%;
    /* Reduced size per user request (was 100%) */
    height: auto;
    /* Soft shadow + existing render */
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    border-radius: 0;
    /* Image has its own shape/pedestal */
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ebook-visual:hover img {
    transform: scale(1.03) translateY(-5px);
}

/* Glow behind image */
.ebook-visual::after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15), transparent 70%);
    z-index: -1;
    filter: blur(60px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive */
@media (max-width: 900px) {
    .ebook-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .ebook-content {
        text-align: center;
        order: 2;
    }

    .ebook-content p,
    .ebook-form {
        margin-left: auto;
        margin-right: auto;
    }

    .ebook-visual {
        order: 1;
    }

    .ebook-visual img {
        max-width: 80%;
    }
}

/* =========================================
   16. COMPACT PRICING (USER REQUEST)
   ========================================= */
/* Container for the grid */
.pro-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    /* Tighter gap */
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Card Style - Compact & Visible */
.pro-card {
    background: rgba(30, 41, 59, 0.4);
    /* Darker, clearer background */
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle border */
    border-radius: 10px;
    padding: 1rem;
    /* EXTREME REDUCTION (was 1.5 -> 1.25 -> 1) */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(12px);
    position: relative;
    min-height: 100%;
    /* Ensure uniform height in grid */
}

/* ... (Hover styles unchanged) ... */

/* Visual Header (Icon + Name) */
.card-visual-header {
    display: flex;
    align-items: center;
    /* Ensures vertical centering */
    justify-content: center;
    /* Centered Titles */
    gap: 0.6rem;
    /* Slightly varied gap to balance */
    margin-bottom: 0.5rem;
    line-height: 1;
    /* Force tight line height for alignment */
}

.theme-icon-small {
    font-size: 1.4rem;
    /* Increased icon to match title */
    display: inline-flex;
    /* Better for vertical alignment than block */
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: 1.4rem;
    /* match size */
    /* User says icons are too high, so we push them down EVEN MORE (Step 1480) */
    transform: translateY(7px);
}

.pkg-name {
    font-size: 1.35rem;
    /* Increased from 1.1rem (User request: "jeszcze bardziej") */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* Slightly reduced spacing to prevent wrapping */
    color: #fff;
    margin: 0;
    line-height: 1;
    /* Crucial for alignment */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    display: inline-block;
    /* Ensure transform/alignment works well */
    position: relative;
    /* Removed top: 1px from prev attempt as we are moving icon now */
}

/* Price Row */
.card-price-row {
    margin-bottom: 0.8rem;
    /* Reduced */
    padding-bottom: 0.6rem;
    /* Reduced */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.amount {
    font-size: 1.4rem;
    /* Smaller */
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1;
}

/* ... (Tag styles unchanged) ... */

/* Features List - Compact */
.pkg-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    /* Reduced margin */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    /* EXTREME TIGHT GAP (User request) */
}

.pkg-features li {
    font-size: 0.75rem;
    /* EXTREME SMALL FONT (User request) */
    color: #94a3b8;
    padding-left: 1rem;
    /* Less padding for checkmark */
    position: relative;
    line-height: 1.25;
    /* Tighter line height */
}

.pkg-features li strong {
    display: inline;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.75rem;
}

.pkg-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Button - Compact */
.btn-pro {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.6rem 0.8rem;
    /* Smaller button */
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 0.85rem;
    /* Smaller font */
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Theme Button Colors */
.pro-card.theme-emerald .btn-pro:hover {
    background: #10b981;
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.pro-card.theme-blue .btn-pro:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.pro-card.theme-violet .btn-pro:hover {
    background: #8b5cf6;
    border-color: #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.pro-card.theme-gold .btn-pro:hover,
.pro-card.theme-orange .btn-pro:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.pro-card.theme-purple .btn-pro:hover {
    background: #d946ef;
    border-color: #d946ef;
    box-shadow: 0 0 15px rgba(217, 70, 239, 0.4);
}

.pro-card.theme-cyan .btn-pro:hover {
    background: #06b6d4;
    border-color: #06b6d4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.pro-card.theme-rose .btn-pro:hover {
    background: #f43f5e;
    border-color: #f43f5e;
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.4);
}

.pro-card.theme-slate .btn-pro:hover {
    background: #94a3b8;
    border-color: #94a3b8;
    box-shadow: 0 0 15px rgba(148, 163, 184, 0.4);
}

/* Theme Borders & Hover Effects (More Color) */
/* Emerald */
.pro-card.theme-emerald {
    border-top: 3px solid #10b981;
}

.pro-card.theme-emerald:hover {
    border-color: #10b981;
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.15), rgba(30, 41, 59, 0.6));
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.2);
}

/* Blue */
.pro-card.theme-blue {
    border-top: 3px solid #3b82f6;
}

.pro-card.theme-blue:hover {
    border-color: #3b82f6;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.15), rgba(30, 41, 59, 0.6));
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

/* Violet */
.pro-card.theme-violet {
    border-top: 3px solid #8b5cf6;
}

.pro-card.theme-violet:hover {
    border-color: #8b5cf6;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.15), rgba(30, 41, 59, 0.6));
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.2);
}

/* Gold/Orange */
.pro-card.theme-gold,
.pro-card.theme-orange {
    border-top: 3px solid #f59e0b;
}

.pro-card.theme-gold:hover,
.pro-card.theme-orange:hover {
    border-color: #f59e0b;
    background: linear-gradient(to bottom, rgba(245, 158, 11, 0.15), rgba(30, 41, 59, 0.6));
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.2);
}

/* Purple */
.pro-card.theme-purple {
    border-top: 3px solid #d946ef;
}

.pro-card.theme-purple:hover {
    border-color: #d946ef;
    background: linear-gradient(to bottom, rgba(217, 70, 239, 0.15), rgba(30, 41, 59, 0.6));
    box-shadow: 0 15px 40px rgba(217, 70, 239, 0.2);
}

/* Cyan */
.pro-card.theme-cyan {
    border-top: 3px solid #06b6d4;
}

.pro-card.theme-cyan:hover {
    border-color: #06b6d4;
    background: linear-gradient(to bottom, rgba(6, 182, 212, 0.15), rgba(30, 41, 59, 0.6));
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.2);
}

/* Rose */
.pro-card.theme-rose {
    border-top: 3px solid #f43f5e;
}

.pro-card.theme-rose:hover {
    border-color: #f43f5e;
    background: linear-gradient(to bottom, rgba(244, 63, 94, 0.15), rgba(30, 41, 59, 0.6));
    box-shadow: 0 15px 40px rgba(244, 63, 94, 0.2);
}

/* Slate */
.pro-card.theme-slate {
    border-top: 3px solid #94a3b8;
}

.pro-card.theme-slate:hover {
    border-color: #94a3b8;
    background: linear-gradient(to bottom, rgba(148, 163, 184, 0.15), rgba(30, 41, 59, 0.6));
    box-shadow: 0 15px 40px rgba(148, 163, 184, 0.2);
}

/* Visual Header (Icon + Name) */
.card-visual-header {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered Titles */
    gap: 0.6rem;
    /* Tighter gap */
    margin-bottom: 0.5rem;
    /* Reduced margin */
}

.theme-icon-small {
    font-size: 1.2rem;
    /* Reduced Icon */
}

.pkg-name {
    font-size: 0.95rem;
    /* Reduced Title */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin: 0;
}

/* Price Row */
.card-price-row {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    /* Ensure price is centered too if not already */
}

.amount {
    font-size: 1.5rem;
    /* Reduced Price (from 1.8rem) */
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1;
}

/* Bestseller Tag */
.card-tag {
    position: absolute;
    top: -8px;
    right: 1rem;
    background: #3b82f6;
    color: white;
    font-size: 0.65rem;
    /* Smaller Tag */
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
}

/* Features List - Compact */
.pkg-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    /* Even Tighter */
}

.pkg-features li {
    font-size: 0.8rem;
    /* Further Reduced (User request) */
    color: #94a3b8;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.3;
}

.pkg-features li strong {
    color: #e2e8f0;
    display: inline;
    /* Changed to inline to save space? Or stick to block? User said "pomniejsz". Inline might save vertical space. Let's try inline-block or just keep block but smaller margin. */
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.8rem;
    /* Match parent or slightly bigger? */
    /* Keep strong text tighter to desc */
}

.pkg-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Button - Compact */
.btn-pro {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.7rem 1rem;
    /* Smaller button pad */
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 0.9rem;
    /* Smaller button font */
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pro-card.theme-emerald .btn-pro:hover {
    background: #10b981;
    border-color: #10b981;
}

.pro-card.theme-blue .btn-pro:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}

.pro-card.theme-violet .btn-pro:hover {
    background: #8b5cf6;
    border-color: #8b5cf6;
}

.pro-card.theme-gold .btn-pro:hover {
    background: #f59e0b;
    border-color: #f59e0b;
}

/* Highlight Card Special Style */
.pro-card.highlight-card {
    background: rgba(30, 41, 59, 0.6);
    /* Slightly more opaque */
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1.02);
    /* Slight pop */
}

.pro-card.highlight-card .btn-pro {
    background: #3b82f6;
    border-color: #3b82f6;
}

.pro-card.highlight-card .btn-pro:hover {
    background: #2563eb;
}

/* =========================================
   NEW OPEN NEON CTA (Bottom)
   ========================================= */
.final-cta-open {
    position: relative;
    padding: 10rem 1.5rem;
    text-align: center;
    background: transparent;
    /* Open layout */
    overflow: hidden;
    z-index: 10;
}

/* Subtle Glow Backdrop */
.final-cta-open::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.cta-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    /* Initial state for animation */
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cta-content-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-neon-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(59, 130, 246, 0.3),
        0 0 40px rgba(139, 92, 246, 0.2);
}

.cta-subtext-open {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

/* Neon Pulse Button */
.btn-neon-pulse {
    display: inline-block;
    padding: 1.25rem 3.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    border-radius: 9999px;
    /* Pill */
    position: relative;
    transform-origin: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    /* Initial state for pop-in */
    transform: scale(0);
}

.cta-content-wrapper.visible .btn-neon-pulse {
    animation: btnPopIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.3s,
        pulseGlow 3s infinite ease-in-out 1s;
}

.btn-neon-pulse:hover {
    transform: scale(1.05) !important;
    /* Override animation scale */
    box-shadow:
        0 0 30px rgba(59, 130, 246, 0.8),
        0 0 60px rgba(139, 92, 246, 0.5);
}

@keyframes btnPopIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.7);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
        transform: scale(1);
    }
}

/* =========================================
   CONTACT BOOKING CTA (NEW)
   ========================================= */
.booking-cta-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    /* Reduced from 3rem 2rem */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Glow Effect */
.booking-cta-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-visual-icon {
    font-size: 3rem;
    /* Reduced from 4rem */
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
    z-index: 1;
}

.booking-cta-card h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
    z-index: 1;
}

.cta-subtitle {
    color: #94A3B8;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 2.5rem;
    z-index: 1;
}

.booking-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 350px;
    margin-bottom: 3rem;
    z-index: 1;
}

.bf-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.bf-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.bf-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
}

.bf-item span:last-child {
    font-weight: 500;
    color: #e2e8f0;
}

/* Pulse Button */
.btn-book-pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 99px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    animation: btnKeyPulse 2s infinite;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-book-pulse:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.5);
}

@keyframes btnKeyPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.cta-small-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #64748B;
    z-index: 1;
}

@media (max-width: 900px) {
    .booking-cta-card {
        padding: 2rem 1.5rem;
    }

    .booking-cta-card h3 {
        font-size: 1.7rem;
    }
}

/* Utility for hidden pricing cards */
.hidden-card {
    display: none !important;
}

.pricing-expand-container {
    padding-bottom: 2rem;
    animation: fadeIn 0.5s ease-out;
}

/* =========================================
   20. REDESIGNED INDEX PRICING (IMAGE MATCH)
   ========================================= */

.pricing-grid {
    display: grid;
    /* Use auto-fit but limit max width to keep them compact like the image */
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    justify-content: center;
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #0d121f;
    /* slightly lighter than pure black, deep navy */
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    /* Enforce height consistency */
}

/* Specific Borders per the image */
.theme-startup {
    border: 1px solid rgba(59, 130, 246, 0.15);
    /* Subtle Blue */
}

.theme-auto {
    border: 1px solid #4ADE80;
    /* PROMINENT Neon Green Border */
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.1);
    /* Green Glow */
}

.theme-premium {
    border: 1px solid rgba(249, 115, 22, 0.15);
    /* Subtle Orange */
}


.pricing-card:hover {
    transform: translateY(-8px);
}

.theme-startup:hover {
    box-shadow: 0 20px 50px -10px rgba(59, 130, 246, 0.3);
    border-color: #3B82F6;
}

.theme-auto:hover {
    box-shadow: 0 20px 50px -10px rgba(74, 222, 128, 0.3);
    border-color: #4ADE80;
}

.theme-premium:hover {
    box-shadow: 0 20px 50px -10px rgba(249, 115, 22, 0.3);
    border-color: #F97316;
}


/* Card Header & Icon */
.card-header {
    display: block;
    /* Stacked */
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.pricing-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

/* Floating Background Icon (Top Right) */
.bg-icon-small {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 4rem;
    /* Larger */
    opacity: 0.05;
    /* VERY faint, almost invisible texture */
    /* VERY faint, almost invisible texture */
    display: block;
    pointer-events: none;
    transition: all 0.5s ease;
}

.pricing-card:hover .bg-icon-small {
    opacity: 0.15;
    transform: rotate(10deg) scale(1.1);
}

/* Price Styling - MATCH IMAGE COLORS EXACTLY */
.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 2.5rem;
    line-height: 1;
}

.theme-startup .price {
    color: #4F6CFF;
    /* Bright Blue */
}

.theme-auto .price {
    color: #4ADE80;
    /* Bright Green */
}

.theme-premium .price {
    color: #F97316;
    /* Bright Orange */
}


/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    flex-grow: 1;
    z-index: 2;
    position: relative;
}

.features-list li {
    margin-bottom: 1.2rem;
    color: #94A3B8;
    font-size: 0.85rem;
    line-height: 1.4;
}

.features-list li strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.1rem;
}

/* New Button Styles - MATCH IMAGE */
.btn-card {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    border-radius: 9999px;
    /* Pill shape (Full Radius) */
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    z-index: 2;
    position: relative;
    border: none;
    cursor: pointer;
}

.btn-startup {
    background: linear-gradient(90deg, #4F6CFF 0%, #3B82F6 100%);
    box-shadow: 0 4px 20px rgba(79, 108, 255, 0.4);
}

.btn-auto {
    background: linear-gradient(90deg, #4ADE80 0%, #22C55E 100%);
    box-shadow: 0 4px 20px rgba(74, 222, 128, 0.4);
    color: #022c22;
    /* Dark text on green */
}

.btn-premium {
    background: linear-gradient(90deg, #F97316 0%, #EA580C 100%);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.btn-card:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    /* Unified hover shadow lift */
}

/* =========================================
   20. REBUILD PRICING SECTION (MATCH IMAGE)
   ========================================= */

.pricing-section-new {
    padding: 6rem 0;
    position: relative;
    /* Background matches section standard, dark navy implied from image */
}

/* Header */
.pricing-header-new {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-header-new h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.text-highlight-gradient {
    background: linear-gradient(90deg, #60A5FA, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-header-new p {
    color: #94A3B8;
    font-size: 1.1rem;
}

/* Grid - FIXED to prevent overlap */
/* Grid - FIXED to prevent overlap */
.pricing-grid-new {
    display: grid;
    /* Use strict Grid */
    grid-template-columns: repeat(3, 1fr);
    /* Default to 3 columns */
    justify-content: center;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Responsiveness: Auto-fit for smaller screens */
@media (max-width: 1100px) {
    .pricing-grid-new {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }
}

/* Card Base - ROBUST LAYOUT */
.pricing-card-new {
    background: #0D1321;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    /* Allow height to grow with content */
    height: auto;
    min-height: 520px;
    /* Ensure visual consistency but allow growth */
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Changed to hidden to clip the top-right glow effect */
    overflow: hidden;
}

.pricing-card-new:hover {
    transform: translateY(-8px);
}

/* Corner Glow Effect */
.pricing-card-new::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    /* Soft diffuse glow */
    opacity: 0.15;
    /* Sits in background */
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.pricing-card-new:hover::before {
    opacity: 0.25;
    /* Intensify on hover */
}

/* Card Themes & Specific Glows */
.card-blue {
    border-color: rgba(59, 130, 246, 0.1);
}

.card-blue::before {
    background: #3B82F6;
}

.card-green.featured-card {
    border: 2px solid #34D399;
    /* Prominent Green Border */
    box-shadow: 0 0 40px rgba(52, 211, 153, 0.1);
}

.card-green::before {
    background: #34D399;
}

.card-orange {
    border-color: rgba(249, 115, 22, 0.1);
}

.card-orange::before {
    background: #FB923C;
}

/* Ensure content sits above glow */
.card-body-new,
.card-bg-icon {
    position: relative;
    z-index: 1;
}

/* Typography - COMPACT */
.pricing-card-new h3 {
    font-size: 1.2rem;
    /* Smaller */
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
    position: relative;
    z-index: 1;
}

.price-new {
    font-size: 1.8rem;
    /* Smaller */
    font-weight: 800;
    margin-bottom: 1.5rem;
    /* Closer */
    position: relative;
    z-index: 1;
    line-height: 1;
}

.card-blue h3 {
    color: #fff;
}

.card-blue .price-new {
    color: #60A5FA;
}

.card-green h3 {
    color: #fff;
}

.card-green .price-new {
    color: #34D399;
}

.card-orange h3 {
    color: #fff;
}

.card-orange .price-new {
    color: #FB923C;
}


/* Background Icon */
.card-bg-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 5rem;
    /* Larger */
    /* Larger */
    opacity: 0.25;
    /* Visible but subtle colorful background */
    pointer-events: none;
    filter: none;
    /* Full Color */
    transform: rotate(15deg);
    /* Slight rotation */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 0 !important;
    /* Push BEHIND content */
}

.pricing-card-new:hover .card-bg-icon {
    opacity: 0.5;
    /* Pop on hover */
    transform: rotate(0deg) scale(1.1);
}


/* Features List */
/* Features List */
.features-list-new {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    flex-grow: 1;
}

.features-list-new li {
    margin-bottom: 1.2rem;
    /* Slightly reduced margin */
}

.features-list-new li strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    /* Reduced from 1.1rem */
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.features-list-new li span {
    display: block;
    color: #94A3B8;
    /* Muted text */
    font-size: 0.8rem;
    /* Reduced from 0.9rem */
    font-weight: 400;
    line-height: 1.3;
}

/* Buttons (Pill) */
.btn-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    border-radius: 9999px;
    /* Pill Shape */
    border: none;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-pill:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-blue-grad {
    background: linear-gradient(90deg, #4F46E5, #3B82F6);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn-green-grad {
    background: linear-gradient(90deg, #34D399, #10B981);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    color: #064E3B;
    /* Dark Text */
}

.btn-orange-grad {
    background: linear-gradient(90deg, #F97316, #EA580C);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

/* Bottom CTA */
.pricing-footer-cta {
    text-align: center;
    margin-top: 4rem;
    color: #64748B;
}

.pricing-footer-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.btn-outline-pill {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.btn-outline-pill:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Email Hover Animation */
@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.email-cta {
    position: relative;
    border-radius: 8px;
    /* Ensure rounded corners for the pulse */
    padding: 0.2rem 0.5rem;
    /* Add breathing room for the pulse */
    transition: all 0.3s ease;
}

.email-cta:hover {
    color: #fff !important;
    /* Force white text */
    background: rgba(59, 130, 246, 0.1);
    /* Subtle blue background */
    transform: scale(1.05);
    /* Slight grow */
    animation: pulse-blue 1.5s infinite;
}

/* --- Performance Optimization --- */
.offer-item {
    will-change: transform;
    /* Hint to browser */
}

@media (max-width: 768px) {

    /* Disable expensive blur on mobile scrolling */
    .glass-form-card,
    .booking-cta-card,
    .offer-item,
    header nav {
        backdrop-filter: none !important;
        background: rgba(15, 23, 42, 0.95) !important;
        /* Opaque fallback */
    }
}

/* --- MAXIMUM PERFORMANCE MODE (Desktop & Mobile) --- */
/* Disabling backdrop-filter globally as requested to fix desktop lag */
.glass-form-card,
.booking-cta-card,
.offer-item,
header.scrolled,
.pricing-card-new,
.search-bar-container {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(13, 19, 33, 0.95) !important;
    /* Deep dark opaque fallback */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
    /* Simple shadow */
}

.cta-content-card {
    backdrop-filter: none !important;
    background: rgba(10, 10, 20, 0.95) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    /* Simplified shadow */
}

/* Disable expensive infinite animation if needed */
.partners-wrapper {
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

/* Reduce Project Card Complexity */
.project-card,
.offer-item {
    box-shadow: none !important;
    /* Remove default heavy shadows, rely on border/bg */
    background: rgba(13, 19, 33, 0.8) !important;
    transition: transform 0.2s ease !important;
    /* Faster transition */
}

.project-card:hover,
.offer-item:hover {
    transform: translateY(-2px) !important;
    /* Reduced movement */
    background: rgba(30, 41, 59, 0.9) !important;
}

/* =========================================
   FOOTER CENTERING OVERRIDE (MOBILE ONLY)
   ========================================= */
@media (max-width: 768px) {

    footer,
    .footer-content,
    .footer-brand,
    .footer-contact,
    .footer-links,
    .footer-links ul,
    .footer-bottom {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .footer-links ul {
        display: flex;
        justify-content: center !important;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .footer-content {
        flex-direction: column !important;
        display: flex !important;
        gap: 2rem !important;
    }
}

/* Desktop Footer Spread */
@media (min-width: 769px) {
    .footer-content {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .footer-brand,
    .footer-contact,
    .footer-links {
        text-align: left !important;
        align-items: flex-start !important;
    }

    .footer-links ul {
        justify-content: flex-start !important;
    }
}

/* =========================================
   DROPDOWN FIX (NETLIFY/PROD SAFEGUARD)
   ========================================= */
.custom-select-container {
    position: relative;
    z-index: 50;
}

/* Ensure no parent is clipping the dropdown */
.glass-form-card,
.contact-form,
.form-group,
.input-wrapper,
.form-row-2col,
.contact-left,
.contact-container,
#contact {
    overflow: visible !important;
}

.custom-options {
    z-index: 9999 !important;
    /* Force high z-index */
    pointer-events: none;
    /* Prevent ghost clicks when closed */
}

.custom-select-container.open .custom-options {
    pointer-events: auto;
    opacity: 1 !important;
    max-height: 400px !important;
    display: block !important;
}