/* ===================================
   SAMAY REKHA - PREMIUM WEBSITE STYLES
   Inspired by Apple Vision Pro
   =================================== */

/* ===================================
   CSS VARIABLES & DESIGN TOKENS
   =================================== */
:root {
    /* Colors - Premium Palette */
    --color-bg-primary: #000000;
    --color-bg-secondary: #0a0a0a;
    --color-bg-tertiary: #1a1a1a;
    --color-surface: rgba(255, 255, 255, 0.05);
    --color-surface-elevated: rgba(255, 255, 255, 0.08);

    /* Text Colors */
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-tertiary: rgba(255, 255, 255, 0.5);

    /* Accent Colors */
    --color-accent-primary: #0071e3;
    --color-accent-secondary: #06c;
    --color-accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --color-accent-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --color-accent-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

    /* Status Colors */
    --color-success: #34c759;
    --color-warning: #ff9500;
    --color-error: #ff3b30;
    --color-late: #ff6b6b;

    /* Glassmorphism - Updated for Vibrant Mobile Match */
    --glass-bg: rgba(255, 255, 255, 0.15);
    /* Lighter, frosty look */
    --glass-border: rgba(255, 255, 255, 0.3);
    /* Stronger white border */
    --glass-blur: blur(30px);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.4);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: #4A00E0;
    /* Fallback */
    /* Fallback */
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    position: relative;
}

/* ===================================
   APP BACKGROUND (Mobile Style)
   =================================== */
.app-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Richer, brighter purple-blue gradient from screenshot */
    background: linear-gradient(135deg, #6200ea 0%, #304ffe 50%, #00b0ff 100%);
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    /* Less blur for more distinct shapes */
    opacity: 0.7;
    animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
    /* The "Moon" / Light circle from top-left of screenshot */
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    top: -50px;
    left: -50px;
    filter: blur(30px);
}

.orb-2 {
    /* Purple/Magenta shape */
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, #ff00cc, #333399);
    bottom: -100px;
    right: -100px;
    opacity: 0.5;
}

.orb-3 {
    /* Cyan highlight */
    width: 200px;
    height: 200px;
    background: #00C6FF;
    top: 40%;
    right: 20%;
    opacity: 0.3;
    filter: blur(60px);
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -20px) scale(1.05);
    }
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    /* Lighter semi-transparent background */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: var(--spacing-sm) 0;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 50px;
    width: auto;
    border-radius: 8px;
    /* Slight rounding if it's a square icon */
}

.nav-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a:hover {
    color: var(--color-text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-gradient);
    transition: width var(--transition-base);
}

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

.nav-cta {
    display: flex;
    gap: var(--spacing-sm);
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary,
.btn-secondary,
.btn-hero-primary,
.btn-hero-secondary,
.btn-pricing,
.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary,
.btn-hero-primary,
.btn-cta-primary {
    background: var(--color-accent-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover,
.btn-hero-primary:hover,
.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

/* ===================================
   LANGUAGE TOGGLE SWITCH (Flag Style)
   =================================== */
.lang-switcher-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 1.5rem;
}

.lang-label {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.label-hi {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.label-hi.active {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.lang-label.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.lang-toggle-body {
    width: 70px;
    height: 44px;
    /* Increased height for bigger flags */
    background: rgba(15, 23, 42, 0.4);
    border-radius: 30px;
    box-shadow:
        inset 0 2px 5px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-knob {
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 2;
    overflow: hidden;
}

.knob-flag {
    font-size: 24px;
    line-height: 1;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

/* KNOB REFLECTION */
.lang-knob::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

/* ACTIVE STATE (Hindi) */
.lang-toggle-body.active .lang-knob {
    left: calc(100% - 40px);
}

.btn-secondary,
.btn-hero-secondary,
.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover,
.btn-hero-secondary:hover,
.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-hero-secondary .play-icon {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-3xl) var(--spacing-lg);
    background: radial-gradient(ellipse at top, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Floating Cards */
.hero-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.hero-3d-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    /* Large size */
    max-width: 90vw;
    z-index: -1;
    /* Behind text */
    animation: float 8s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3));
}

.glass-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    filter: blur(50px);
    border-radius: 50%;
    z-index: -1;
}

.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: brightness(1.2) contrast(1.1);
}

.card-text {
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.floating-card.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-card.card-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.card-icon {
    font-size: 2rem;
}

.card-text {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.2s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.4s both;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all var(--transition-smooth);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   SECTIONS
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: var(--radius-full);
    color: #667eea;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===================================
   PRIVACY SECTION
   =================================== */
.privacy-section {
    padding: var(--spacing-3xl) 0;
    /* background: var(--color-bg-secondary); Removed for global gradient */
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.privacy-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.privacy-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-xl);
}

.privacy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
}

.privacy-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: brightness(1.2) contrast(1.1);
}

.privacy-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.privacy-card p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
}

/* ===================================
   AI SECTION
   =================================== */
.ai-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.ai-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.ai-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.ai-chat-window {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.chat-header {
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--glass-border);
}

.chat-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    font-size: 0.95rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.chat-messages {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    min-height: 400px;
}

.chat-message {
    max-width: 80%;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    animation: slideIn 0.5s ease-out;
}

.user-message {
    align-self: flex-end;
    background: var(--color-accent-gradient);
    color: white;
}

.ai-message {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
}

.ai-response h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.employee-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.employee-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
}

.emp-name {
    font-weight: 600;
}

.emp-time {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    text-align: center;
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    /* Glass shine effect */
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Old stat styles removed to prevent conflicts with new 3D Glassmorphic styles defined below */

.emp-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.emp-status.late {
    background: rgba(255, 107, 107, 0.2);
    color: var(--color-late);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

.ai-features-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.ai-feature-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.feature-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.ai-feature-item:hover .feature-icon img {
    transform: scale(1.1) translateY(-5px);
}

.feature-content h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.feature-content p {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features-section {
    padding: var(--spacing-3xl) 0;
    /* background: var(--color-bg-secondary); Removed for global gradient */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-xl);
}

.feature-visual {
    margin-bottom: var(--spacing-lg);
}

.feature-icon-large {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: bounce 3s ease-in-out infinite;
}

.feature-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-large img {
    transform: scale(1.1);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

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

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===================================
   BENEFITS SECTION
   =================================== */
.benefits-section {
    padding: var(--spacing-3xl) 0;
}

.benefits-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3xl);
}

.benefit-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.benefit-item.reverse {
    direction: rtl;
}

.benefit-item.reverse>* {
    direction: ltr;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    /* Transparent 3D Glassmorphic Effect */
    background: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
    color: transparent;
    text-shadow: none;
    filter:
        drop-shadow(0 0 10px rgba(99, 102, 241, 0.5)) drop-shadow(3px 3px 0px rgba(255, 255, 255, 0.2));
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    /* Floating Animation for 3D feel */
    animation: float 6s ease-in-out infinite;
}

.stat-label {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.benefit-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.benefit-content p {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ===================================
   PRICING SECTION
   =================================== */
.pricing-section {
    padding: var(--spacing-3xl) 0;
    /* background: var(--color-bg-secondary); Removed for global gradient */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent-gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: var(--spacing-lg);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.employee-range {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
}

.amount {
    font-family: var(--font-display);
    font-size: 4rem;
    /* Transparent 3D Glassmorphic Effect */
    background: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9);
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

.amount-text {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    font-size: 1.05rem;
    color: var(--color-text-secondary);
}

.btn-pricing {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-pricing:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-pricing.primary {
    background: var(--color-accent-gradient);
    border: none;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-pricing.primary:hover {
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

/* ===================================
   DEMO FORM SECTION
   =================================== */
.demo-section {
    padding: var(--spacing-3xl) 0;
    /* background: var(--color-bg-primary); Removed for global gradient */
}

.demo-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-xl);
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.demo-form label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-primary);
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.demo-form input::placeholder,
.demo-form textarea::placeholder {
    color: var(--color-text-tertiary);
}

.demo-form select {
    cursor: pointer;
}

.demo-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-form-submit {
    padding: 1rem 2rem;
    background: var(--color-accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    margin-top: var(--spacing-md);
}

.btn-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

.btn-form-submit:active {
    transform: translateY(0);
}

.form-note {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
}

/* ===================================
   FLOATING ACTIONS
   =================================== */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    /* AI button at bottom, scroll button above */
    gap: 1rem;
    align-items: center;
    pointer-events: none;
    /* Let clicks pass through gaps */
}

.floating-actions button {
    pointer-events: auto;
    /* Re-enable clicks on buttons */
}

/* Scroll To Top - Updated for Stack */
.scroll-to-top {
    position: static;
    /* Removed fixed positioning */
    width: 44px;
    /* Slightly smaller than AI button */
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* AI Assistant FAB */
.ai-assistant-fab {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    /* Glassmorphism with slight gradient tint */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: visible;
    /* For tooltip */
}

.ai-assistant-fab:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5),
        0 0 20px rgba(102, 126, 234, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.ai-assistant-fab img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.ai-assistant-fab:hover img {
    transform: scale(1.1) rotate(5deg);
}

.ai-fab-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.6) 0%, transparent 70%);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.9);
    }

    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Tooltip */
.ai-fab-tooltip {
    position: absolute;
    right: 80px;
    /* Offset to the left of the button */
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(10, 10, 30, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.ai-assistant-fab:hover .ai-fab-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
}

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

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    /* background: var(--color-bg-secondary); Removed for global gradient */
    background: rgba(0, 0, 0, 0.2);
    /* Slight tint for footer */
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-col p {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-col ul li a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--color-text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--glass-border);
    color: var(--color-text-tertiary);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .ai-demo {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        grid-template-columns: 1fr;
    }

    .benefit-item.reverse {
        direction: ltr;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 20, 0.6);
        backdrop-filter: blur(20px);
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        border-bottom: 1px solid var(--glass-border);
        z-index: 999;
    }

    .nav-menu.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-cta {
        position: fixed;
        top: calc(70px + 180px);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 20, 0.6);
        backdrop-filter: blur(20px);
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        border-bottom: 1px solid var(--glass-border);
        z-index: 999;
    }

    .nav-cta.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-cta a {
        width: 100%;
        text-align: center;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .floating-card {
        display: none;
    }

    .hero-section {
        padding: var(--spacing-2xl) var(--spacing-md);
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .demo-form-container {
        padding: var(--spacing-lg);
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-3xl: 3rem;
    }

    .section-header {
        margin-bottom: var(--spacing-xl);
    }
}