/* ==========================================================================
   Global Variables & Reset
   ========================================================================== */
:root {
    /* Colors - Brand (Modern SaaS Blue) */
    --clr-brand-50: #eff6ff;
    --clr-brand-100: #dbeafe;
    --clr-brand-500: #2563eb;
    /* Primary Blue CTA */
    --clr-brand-600: #1d4ed8;
    --clr-brand-700: #1e40af;
    /* Deep Blue */

    /* Colors - Accents */
    --clr-accent-500: #EDAFB8;
    /* Rose Pink */
    --clr-accent-600: #df949f;
    --clr-danger-500: #ef4444;
    /* Error Red */

    /* Colors - Neutral/Surface (Modern Light Mode) */
    --clr-neutral-50: #faf8f5;
    /* Creamy Beige */
    --clr-neutral-100: #f5f1eb;
    /* Soft Cream */
    --clr-neutral-200: #e2e8f0;
    --clr-neutral-300: #cbd5e1;
    --clr-neutral-700: #475569;
    /* Slate Text */
    --clr-neutral-800: #334155;
    --clr-neutral-900: #0f172a;
    /* Near Black */

    /* Typography */
    --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows - Soft glass-like */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Border Radius - Curved Theme */
    --radius-sm: 1rem;
    /* 16px */
    --radius-md: 1.5rem;
    /* 24px */
    --radius-lg: 2rem;
    /* 32px */
    --radius-xl: 2.5rem;
    /* 40px */

    /* Global Torch Cursor Variables */
    --global-mouse-x: 0px;
    --global-mouse-y: 0px;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family-sans);
    background: linear-gradient(135deg, #faf8f5 0%, #f5f1eb 50%, #f0ebe5 100%);
    background-attachment: fixed;
    color: var(--clr-neutral-700);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--clr-neutral-900);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

a {
    color: var(--clr-brand-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--clr-brand-700);
}

/* ==========================================================================
   Global Torch Cursor Effect - Follows cursor everywhere except hero & testimonials
   ========================================================================== */
.global-torch-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 1;
    transition: opacity 0.15s ease-out;
    background:
        radial-gradient(1200px circle at var(--global-mouse-x) var(--global-mouse-y),
            rgba(34, 197, 94, 0.15) 0%,
            rgba(236, 72, 153, 0.12) 15%,
            rgba(59, 130, 246, 0.12) 35%,
            transparent 60%);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-white {
    color: #ffffff;
}

.bg-surface {
    background-color: #ffffff;
}

.bg-light {
    background-color: var(--clr-brand-50);
}

.bg-dark {
    background-color: var(--clr-neutral-900);
    color: var(--clr-neutral-200);
}

/* ==========================================================================
   Buttons (Glassmorphic Global Style)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        /* Top highlight */
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        /* Bottom shadow */
        0 4px 6px rgba(0, 0, 0, 0.1);
    /* Outer lift */
    position: relative;
    overflow: hidden;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 8px 12px rgba(0, 0, 0, 0.15);
    color: #fff !important;
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(1px);
    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Magnifier Effect for Buttons */
.btn .magnifier {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.btn:hover .magnifier {
    opacity: 1;
}

.btn .magnifier span {
    position: absolute;
    font-size: 2rem;
    font-weight: bold;
    white-space: nowrap;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Overriding specific structural button classes to inherit glass completely */
.btn-primary {
    background: rgba(255, 255, 255, 0.25) !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15) !important;
}

.btn-outline-primary {
    background: transparent !important;
    box-shadow: none !important;
}

/* Sizes */
.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   Light Theme Overrides
   ========================================================================== */
body {
    background-color: var(--clr-neutral-50);
    color: #000000;
}

body .dark-mode-section,
body #how-it-works,
body .features-section,
body .dashboard-preview-section,
body .benefits-section,
body .stats-section,
body .testimonials-section {
    background: linear-gradient(135deg, #faf8f5 0%, #f5f1eb 50%, #f0ebe5 100%) !important;
    background-attachment: fixed !important;
    color: #000000 !important;
}

/* Force specific elements to use dark text */
body .text-white {
    color: #000000 !important;
}

body .section-title,
body .step-title,
body .diamond-title,
body .benefit-title,
body .stat-number,
body .testimonial-text,
body .author-name,
body .preview-content h2,
body .testimonial-title,
body .task-name,
body .deadline-label,
body .deadline-time .day,
body .deadline-time .time,
body .mockup-calendar-strip span {
    color: #000000 !important;
    text-shadow: none !important;
}

body .section-title::before,
body .section-title::after {
    background: linear-gradient(90deg, transparent, var(--clr-brand-500), transparent) !important;
    box-shadow: none !important;
}

body .section-subtitle,
body .step-desc,
body .diamond-text,
body .benefit-desc,
body .stat-label,
body .benefit-text,
body .preview-content p {
    color: #000000 !important;
    text-shadow: none !important;
}

body .step-card,
body .diamond-card,
body .benefit-card,
body .testimonial-card,
body .mockup-glass-panel,
body .mockup-task-item {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid #000000 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
}

body .step-card:hover,
body .testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25) !important;
    border-color: #000000 !important;
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-5px) !important;
}

/* Benefits Section Mouse Tracking Animation - Torch Light Effect */
.benefits-grid {
    position: relative;
}

body .benefit-card {
    --mouse-x: 0px;
    --mouse-y: 0px;
    transition: background 0.1s ease;
    position: relative;
    overflow: hidden;
}

/* Torch light background gradient */
.benefits-grid:hover .benefit-card {
    background:
        radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.4) 0%,
            rgba(236, 72, 153, 0.3) 25%,
            rgba(59, 130, 246, 0.3) 50%,
            rgba(255, 255, 255, 0.15) 70%,
            rgba(255, 255, 255, 0.08) 100%) !important;
}

/* Torch light beam overlay */
.benefit-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(400px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.25) 0%,
            rgba(236, 72, 153, 0.2) 20%,
            rgba(59, 130, 246, 0.2) 40%,
            transparent 70%);
    border-radius: inherit;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.benefits-grid:hover .benefit-card::before {
    opacity: 1;
}

/* Torch light glow effect on content */
.benefit-card::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.1) 0%,
            rgba(236, 72, 153, 0.08) 30%,
            rgba(59, 130, 246, 0.08) 60%,
            transparent 90%);
    border-radius: inherit;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.benefits-grid:hover .benefit-card::after {
    opacity: 1;
}

body .benefit-card:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.3) !important;
    border-color: rgba(34, 197, 94, 0.4) !important;
    transform: translateY(-5px) !important;
}

/* How It Works Section - Torch Light Animation (Lower Intensity) */
.steps-flow-container {
    position: relative;
}

.step-card-modern {
    --mouse-x: 0px;
    --mouse-y: 0px;
    transition: background 0.1s ease;
    position: relative;
    overflow: hidden;
}

/* Torch light for step cards */
.steps-flow-container:hover .step-card-modern {
    background:
        radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.15) 0%,
            rgba(236, 72, 153, 0.12) 25%,
            rgba(59, 130, 246, 0.12) 50%,
            rgba(255, 255, 255, 0.08) 70%,
            rgba(255, 255, 255, 0.04) 100%) !important;
}

/* Step card torch overlay */
.step-card-modern::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(400px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.1) 0%,
            rgba(236, 72, 153, 0.08) 20%,
            rgba(59, 130, 246, 0.08) 40%,
            transparent 70%);
    border-radius: inherit;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.steps-flow-container:hover .step-card-modern::before {
    opacity: 1;
}

/* Step card glow effect */
.step-card-modern::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.05) 0%,
            rgba(236, 72, 153, 0.04) 30%,
            rgba(59, 130, 246, 0.04) 60%,
            transparent 90%);
    border-radius: inherit;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.steps-flow-container:hover .step-card-modern::after {
    opacity: 1;
}

/* Dashboard Preview Section - Torch Light Animation (Lower Intensity) */
.preview-grid {
    position: relative;
}

.mockup-glass-panel {
    --mouse-x: 0px;
    --mouse-y: 0px;
    transition: background 0.1s ease;
    position: relative;
    overflow: hidden;
}

/* Torch light for dashboard mockup */
.preview-grid:hover .mockup-glass-panel {
    background:
        radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.12) 0%,
            rgba(236, 72, 153, 0.1) 25%,
            rgba(59, 130, 246, 0.1) 50%,
            rgba(255, 255, 255, 0.1) 70%,
            rgba(255, 255, 255, 0.05) 100%) !important;
}

/* Dashboard mockup torch overlay */
.mockup-glass-panel::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(400px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.08) 0%,
            rgba(236, 72, 153, 0.06) 20%,
            rgba(59, 130, 246, 0.06) 40%,
            transparent 70%);
    border-radius: inherit;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.preview-grid:hover .mockup-glass-panel::before {
    opacity: 1;
}

/* Dashboard mockup glow effect */
.mockup-glass-panel::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.04) 0%,
            rgba(236, 72, 153, 0.03) 30%,
            rgba(59, 130, 246, 0.03) 60%,
            transparent 90%);
    border-radius: inherit;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.preview-grid:hover .mockup-glass-panel::after {
    opacity: 1;
}

/* Specific hover rules for diamond-card to preserve rotation */
body .diamond-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

body .diamond-card.left:hover {
    transform: translateX(-100px) rotate(45deg) scale(1.03) !important;
}

body .diamond-card.right:hover {
    transform: translateX(100px) rotate(45deg) scale(1.03) !important;
}

/* Testimonial Pagination Dots */
body #testimonial-dots .dot {
    background-color: var(--clr-neutral-300) !important;
}

body #testimonial-dots .dot.active {
    background-color: var(--clr-neutral-900) !important;
}

body .step-icon svg,
body .benefit-icon svg,
body .benefit-icon-wrapper svg {
    stroke: var(--clr-brand-500) !important;
    color: var(--clr-brand-500) !important;
    filter: none !important;
}

body .animated-flame-border {
    display: none !important;
}

body .steps-background-line {
    background: var(--clr-neutral-300) !important;
    box-shadow: none !important;
}

/* Nav links for light theme */
body .navbar .logo,
body .navbar .nav-link,
body .desktop-nav .nav-link {
    color: #000000 !important;
}

body .mobile-menu-toggle .bar {
    background-color: #000000 !important;
}

body .navbar.scrolled {
    background-color: rgba(247, 225, 215, 0.95) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

body #theme-toggle {
    display: none !important;
}

body .footer {
    background-color: var(--clr-neutral-100) !important;
    border-top: 1px solid #000000 !important;
}

body .footer-column h4,
body .footer-brand .logo-icon,
body .footer p,
body .footer a,
body .footer {
    color: #000000 !important;
}

body .footer-column a:hover {
    color: var(--clr-brand-500) !important;
}

body .step-icon,
body .benefit-icon {
    color: var(--clr-brand-500) !important;
    filter: none !important;
}

/* ==========================================================================
   Invert Glass Buttons on Light Backgrounds 
   ========================================================================== */
.bg-surface .btn,
.bg-light .btn,
.bg-white .btn,
.cta-section .btn,
body .btn,
.bg-surface .btn-elegant,
.bg-light .btn-elegant,
.bg-white .btn-elegant,
.cta-section .btn-elegant,
body .btn-elegant,
.bg-surface .glow-button,
.bg-light .glow-button,
.bg-white .glow-button,
.cta-section .glow-button,
body .glow-button,
.bg-surface .btn-slanted,
.bg-light .btn-slanted,
.bg-white .btn-slanted,
.cta-section .btn-slanted,
body .btn-slanted,
.bg-surface .btn-start-task,
.bg-light .btn-start-task,
.bg-white .btn-start-task,
.cta-section .btn-start-task,
body .btn-start-task,
.bg-surface .btn-resume-task,
.bg-light .btn-resume-task,
.bg-white .btn-resume-task,
.cta-section .btn-resume-task,
body .btn-resume-task {
    color: #000 !important;
    background: rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    border-color: rgba(0, 0, 0, 0.5) !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.bg-surface .btn:hover,
.bg-light .btn:hover,
.bg-white .btn:hover,
.cta-section .btn:hover,
body .btn:hover,
.bg-surface .btn-elegant:hover,
.bg-light .btn-elegant:hover,
.bg-white .btn-elegant:hover,
.cta-section .btn-elegant:hover,
body .btn-elegant:hover,
.bg-surface .glow-button:hover,
.bg-light .glow-button:hover,
.bg-white .glow-button:hover,
.cta-section .glow-button:hover,
body .glow-button:hover,
.bg-surface .btn-slanted:hover,
.bg-light .btn-slanted:hover,
.bg-white .btn-slanted:hover,
.cta-section .btn-slanted:hover,
body .btn-slanted:hover,
.bg-surface .btn-start-task:hover,
.bg-light .btn-start-task:hover,
.bg-white .btn-start-task:hover,
.cta-section .btn-start-task:hover,
body .btn-start-task:hover,
.bg-surface .btn-resume-task:hover,
.bg-light .btn-resume-task:hover,
.bg-white .btn-resume-task:hover,
.cta-section .btn-resume-task:hover,
body .btn-resume-task:hover {
    color: #000 !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(0, 0, 0, 0.6) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 8px 12px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   TORCH ANIMATION FOR ALL SECTIONS
   ========================================================================== */

/* Stats Section - Torch Light Animation */
.stats-grid {
    position: relative;
}

body .stat-block {
    --mouse-x: 0px;
    --mouse-y: 0px;
    transition: background 0.1s ease;
    position: relative;
    overflow: hidden;
}

/* Torch light for stats cards */
.stats-grid:hover .stat-block {
    background:
        radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.15) 0%,
            rgba(236, 72, 153, 0.12) 25%,
            rgba(59, 130, 246, 0.12) 50%,
            rgba(255, 255, 255, 0.08) 70%,
            rgba(255, 255, 255, 0.04) 100%) !important;
}

.stat-block::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(400px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.1) 0%,
            rgba(236, 72, 153, 0.08) 20%,
            rgba(59, 130, 246, 0.08) 40%,
            transparent 70%);
    border-radius: inherit;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.stats-grid:hover .stat-block::before {
    opacity: 1;
}

.stat-block::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.05) 0%,
            rgba(236, 72, 153, 0.04) 30%,
            rgba(59, 130, 246, 0.04) 60%,
            transparent 90%);
    border-radius: inherit;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.stats-grid:hover .stat-block::after {
    opacity: 1;
}

/* FAQ Section - Torch Light Animation */
.faq-accordion-container {
    position: relative;
}

body .faq-item,
body .faq-item-modern {
    --mouse-x: 0px;
    --mouse-y: 0px;
    transition: background 0.1s ease;
    position: relative;
    overflow: hidden;
}

/* Torch light for FAQ items */
.faq-accordion-container:hover .faq-item,
.faq-accordion-container:hover .faq-item-modern {
    background:
        radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.12) 0%,
            rgba(236, 72, 153, 0.1) 25%,
            rgba(59, 130, 246, 0.1) 50%,
            rgba(255, 255, 255, 0.08) 70%,
            rgba(255, 255, 255, 0.04) 100%) !important;
}

.faq-item::before,
.faq-item-modern::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(400px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.08) 0%,
            rgba(236, 72, 153, 0.06) 20%,
            rgba(59, 130, 246, 0.06) 40%,
            transparent 70%);
    border-radius: inherit;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.faq-accordion-container:hover .faq-item::before,
.faq-accordion-container:hover .faq-item-modern::before {
    opacity: 1;
}

.faq-item::after,
.faq-item-modern::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(34, 197, 94, 0.04) 0%,
            rgba(236, 72, 153, 0.03) 30%,
            rgba(59, 130, 246, 0.03) 60%,
            transparent 90%);
    border-radius: inherit;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.faq-accordion-container:hover .faq-item::after,
.faq-accordion-container:hover .faq-item-modern::after {
    opacity: 1;
}

/* ==========================================================================
   Radial Menu Features Animation
   ========================================================================== */
/* ================================ */
/* NEW FEATURES SECTION - FULL WIDTH */
/* ================================ */

.features-section-new {
    position: relative;
    padding: 0;
    gap: 0;
}

.features-header-initial {
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.features-header-initial.hidden {
    opacity: 0;
    pointer-events: none;
}

.features-main-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    perspective: 1200px;
}

.features-main-container.active {
    justify-content: flex-start;
    gap: 0;
}

/* Left Section - Icon/Menu */
.features-left-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    perspective: 1200px;
}

.features-main-container.active .features-left-section {
    width: 50%;
    flex-shrink: 0;
}

/* Right Section - Details */
.features-right-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 100%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    perspective: 1200px;
}

.features-main-container.active .features-right-section {
    width: 50%;
    opacity: 1;
    flex-shrink: 0;
}

/* Radial Menu - New */
.radial-menu-new {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    perspective: 1000px;
    animation: menuEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

@keyframes menuEntrance {
    from {
        opacity: 0;
        transform: scale(0.8) rotateZ(-15deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotateZ(0deg);
    }
}

.radial-menu-new::before {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle at 40% 40%, #f5f5f5 0%, #e8e8e8 50%, #dcdcdc 100%);
    border-radius: 50%;
    z-index: -1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), inset 0 2px 10px rgba(255, 255, 255, 0.8), 0 0 0 2px #c0c0c0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.08));
}

.radial-menu-new.active::before {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15), inset 0 2px 10px rgba(255, 255, 255, 0.6);
}

.radial-toggle-new {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--clr-brand-500), var(--clr-brand-600));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 50%;
    cursor: pointer;
    font-size: 40px;
    color: #ffffff;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 12px 48px rgba(37, 99, 235, 0.4);
    user-select: none;
    font-weight: 700;
    letter-spacing: 2px;
}

.radial-toggle-new:hover {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 18px 60px rgba(37, 99, 235, 0.6);
}

.radial-toggle-new:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.radial-menu-new.active .radial-toggle-new {
    transform: translate(-50%, -50%) rotate(315deg) scale(1);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.radial-menu-new.active .radial-toggle-new:hover {
    transform: translate(-50%, -50%) rotate(315deg) scale(1.15);
    box-shadow: 0 18px 60px rgba(29, 78, 216, 0.6);
}

/* Radial Items - New */
.radial-item-new {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    margin-left: -40px;
    margin-top: -40px;
    transform: translate(0, 0) scale(0) rotateZ(-180deg);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: calc(0.12s * var(--i));
    opacity: 0;
    visibility: hidden;
}

.radial-menu-new.active .radial-item-new {
    opacity: 1;
    visibility: visible;
    transform: rotate(calc(360deg / 6 * var(--i))) translateY(-145px) rotate(calc(360deg / -6 * var(--i))) scale(1) rotateZ(0deg);
}

.radial-icon-btn-new {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #000000;
    color: white;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.radial-icon-btn-new::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    animation: glintPulse 3s ease-in-out infinite;
}

@keyframes glintPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

.radial-item-new:hover .radial-icon-btn-new {
    transform: scale(1.25) translateZ(0);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 0, 0, 0.15);
}

.radial-item-new:hover .radial-icon-btn-new::before {
    transform: scale(1);
}

.radial-item-new.active .radial-icon-btn-new {
    background: #2563eb;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.8), inset 0 0 30px rgba(255, 255, 255, 0.3), 0 12px 32px rgba(37, 99, 235, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
    animation: colorBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes colorBounce {
    0% {
        transform: scale(0.85);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1.15) translateZ(0);
    }
}

/* Feature Details Panel - New */
.feature-details-panel-new {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
    overflow-y: auto;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.feature-close-btn-new {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #dbeafe;
    border-radius: 50%;
    cursor: pointer;
    color: #1e40af;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 24px;
    z-index: 20;
    font-weight: 700;
}

.feature-close-btn-new:hover {
    background: white;
    border-color: #2563eb;
    color: #2563eb;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.feature-close-btn-new:active {
    transform: rotate(90deg) scale(0.95);
}

.feature-detail-item-new {
    opacity: 0;
    transform: scale(0.75) translateY(-30px) rotateY(20deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    text-align: center;
    display: none;
    perspective: 1000px;
}

.feature-detail-item-new.show {
    opacity: 1;
    transform: scale(1) translateY(0) rotateY(0deg);
    pointer-events: auto;
    display: block;
}

.detail-icon-new {
    width: 110px;
    height: 110px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0.08));
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-radius: 50%;
    font-size: 56px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    position: relative;
}

.detail-icon-new::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    animation: pulse-ring 2s ease-in-out infinite;
}

.feature-detail-item-new.show .detail-icon-new {
    transform: scale(1) rotateZ(0deg);
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.feature-detail-item-new h3 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s backwards;
}

.feature-detail-item-new p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
    max-width: 100%;
    animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
}

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

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

/* Enhanced radial menu animations */
@keyframes radialItemPop {
    0% {
        transform: rotate(calc(360deg / 6 * var(--i))) translateY(-145px) rotate(calc(360deg / -6 * var(--i))) scale(0);
        opacity: 0;
    }

    50% {
        transform: rotate(calc(360deg / 6 * var(--i))) translateY(-145px) rotate(calc(360deg / -6 * var(--i))) scale(1.15);
    }

    100% {
        transform: rotate(calc(360deg / 6 * var(--i))) translateY(-145px) rotate(calc(360deg / -6 * var(--i))) scale(1);
        opacity: 1;
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(37, 99, 235, 0.8);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .features-header-initial {
        top: 2rem;
    }

    .features-header-initial .section-title {
        font-size: 2rem !important;
    }

    .feature-detail-item-new h3 {
        font-size: 1.6rem;
    }

    .feature-detail-item-new p {
        font-size: 0.95rem;
    }

    .detail-icon-new {
        width: 90px;
        height: 90px;
        font-size: 48px;
    }

    .radial-menu-new {
        animation: menuEntrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    }

    .radial-item-new {
        transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        transition-delay: calc(0.1s * var(--i));
    }
}

@media (max-width: 768px) {
    .features-main-container.active {
        flex-direction: column;
    }

    .features-main-container.active .features-left-section {
        width: 100%;
        height: 50%;
        order: 1;
    }

    .features-main-container.active .features-right-section {
        width: 100%;
        height: 50%;
        order: 2;
    }

    .radial-menu-new {
        width: 240px;
        height: 240px;
        animation: menuEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    }

    .radial-menu-new::before {
        width: 200px;
        height: 200px;
    }

    .radial-toggle-new {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .radial-item-new {
        width: 60px;
        height: 60px;
        margin-left: -30px;
        margin-top: -30px;
        transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        transition-delay: calc(0.08s * var(--i));
    }

    .radial-menu-new.active .radial-item-new {
        transform: rotate(calc(360deg / 6 * var(--i))) translateY(-110px);
    }

    .radial-icon-btn-new {
        font-size: 22px;
    }

    .feature-detail-item-new h3 {
        font-size: 1.4rem;
    }

    .feature-detail-item-new p {
        font-size: 0.9rem;
    }

    .detail-icon-new {
        width: 80px;
        height: 80px;
        font-size: 40px;
        margin-bottom: 1rem;
    }

    .feature-details-panel-new {
        padding: 2rem 1.5rem;
    }

    .feature-close-btn-new {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .features-header-initial {
        top: 1.5rem;
    }

    .features-header-initial .section-title {
        font-size: 1.5rem !important;
    }

    .features-header-initial .section-subtitle {
        font-size: 0.9rem;
    }

    .radial-menu-new {
        width: 220px;
        height: 220px;
    }

    .radial-toggle-new {
        width: 55px;
        height: 55px;
        font-size: 26px;
    }

    .radial-item-new {
        width: 55px;
        height: 55px;
        margin-left: -27.5px;
        margin-top: -27.5px;
        transform: rotate(0deg) translateY(-100px);
    }

    .radial-menu-new.active .radial-item-new {
        transform: rotate(calc(360deg / 6 * var(--i))) translateY(-100px);
    }

    .radial-icon-btn-new {
        font-size: 20px;
    }

    .feature-detail-item-new h3 {
        font-size: 1.2rem;
    }

    .feature-detail-item-new p {
        font-size: 0.85rem;
    }

    .detail-icon-new {
        width: 70px;
        height: 70px;
        font-size: 36px;
        margin-bottom: 0.8rem;
    }

    .feature-details-panel-new {
        padding: 1.5rem 1rem;
    }
}