/* ============================================
   BeehiveCRM - Liquid Glass Design System
   Apple-Inspired Fluid & Premium Aesthetic
   ============================================ */

:root {
    /* Color Palette - Light Mode - Honey Gold Theme */
    --bg-primary: #faf8f3;
    --bg-secondary: #fffef9;
    --text-primary: #2d2418;
    --text-secondary: #6b5d47;
    --text-tertiary: #8b7d6b;
    
    /* Liquid Glass Colors - Golden Tint */
    --glass-bg: rgba(255, 250, 240, 0.6);
    --glass-bg-strong: rgba(255, 248, 235, 0.8);
    --glass-border: rgba(212, 165, 116, 0.3);
    --glass-shadow: rgba(201, 169, 97, 0.15);
    
    /* Vibrant Gradients - Honey Gold Theme */
    --gradient-primary: linear-gradient(135deg, #D4A574 0%, #C9A961 100%);
    --gradient-secondary: linear-gradient(135deg, #F5DEB3 0%, #FFE4B5 100%);
    --gradient-tertiary: linear-gradient(135deg, #E6B84C 0%, #F4A460 100%);
    --gradient-liquid: linear-gradient(135deg, #D4A574 0%, #C9A961 50%, #F5DEB3 100%);
    --gradient-mesh: radial-gradient(at 27% 37%, hsla(38, 60%, 65%, 0.15) 0px, transparent 0%),
                     radial-gradient(at 97% 21%, hsla(45, 85%, 75%, 0.15) 0px, transparent 50%),
                     radial-gradient(at 52% 99%, hsla(35, 70%, 70%, 0.15) 0px, transparent 50%),
                     radial-gradient(at 10% 29%, hsla(40, 75%, 68%, 0.15) 0px, transparent 50%),
                     radial-gradient(at 97% 96%, hsla(38, 60%, 74%, 0.15) 0px, transparent 50%),
                     radial-gradient(at 33% 50%, hsla(42, 80%, 72%, 0.15) 0px, transparent 50%),
                     radial-gradient(at 79% 53%, hsla(36, 65%, 76%, 0.15) 0px, transparent 50%);
    
    /* Accent Colors - Honey Gold Palette */
    --accent-blue: #D4A574;
    --accent-purple: #C9A961;
    --accent-pink: #F5DEB3;
    --accent-cyan: #E6B84C;
    
    /* Typography */
    --font-display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    
    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 60px;
    --space-20: 50px;
    --space-24: 80px;
    
    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 40px;
    --radius-full: 9999px;
    
    /* Shadows - Liquid Glass */
    --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.15),
                    0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-glass-lg: 0 20px 60px rgba(31, 38, 135, 0.25),
                       0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-glass-xl: 0 30px 80px rgba(31, 38, 135, 0.35),
                       0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Animation Curves */
    --ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #1c1c1e;
    --text-primary: #ffffff;
    --text-secondary: #98989d;
    --text-tertiary: #6e6e73;
    
    --glass-bg: rgba(28, 28, 30, 0.6);
    --glass-bg-strong: rgba(28, 28, 30, 0.85);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: rgba(0, 0, 0, 0.5);
    
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.4),
                    0 1px 2px rgba(255, 255, 255, 0.05);
    --shadow-glass-lg: 0 20px 60px rgba(0, 0, 0, 0.6),
                       0 4px 12px rgba(255, 255, 255, 0.08);
    --shadow-glass-xl: 0 30px 80px rgba(0, 0, 0, 0.7),
                       0 8px 24px rgba(255, 255, 255, 0.12);
}

/* ============================================
   Base Styles
   ============================================ */

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

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

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    transition: background-color 0.6s ease, color 0.6s ease;
}

/* ============================================
   Liquid Background
   ============================================ */

.liquid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: var(--gradient-mesh);
}

.liquid-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: liquidFloat 20s ease-in-out infinite;
    will-change: transform;
}

.liquid-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.6), transparent);
    top: -15%;
    left: -10%;
    animation-delay: 0s;
}

.liquid-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.5), transparent);
    top: 40%;
    right: -15%;
    animation-delay: 3s;
}

.liquid-orb-3 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.55), transparent);
    bottom: -20%;
    left: 35%;
    animation-delay: 6s;
}

.liquid-orb-4 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.4), transparent);
    top: 60%;
    left: -10%;
    animation-delay: 9s;
}

@keyframes liquidFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 40px) scale(0.95) rotate(-5deg);
    }
    75% {
        transform: translate(40px, 20px) scale(1.02) rotate(3deg);
    }
}

#liquid-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

/* ============================================
   Glass Card System
   ============================================ */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card-strong {
    background: var(--glass-bg-strong);
    backdrop-filter: saturate(180%) blur(30px);
    -webkit-backdrop-filter: saturate(180%) blur(30px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass-lg);
    border-radius: var(--radius-xl);
}

.glass-mini {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
}

.card-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-liquid);
    opacity: 0;
    filter: blur(30px);
    z-index: -1;
    transition: opacity 0.5s ease;
    border-radius: inherit;
}

.glass-card:hover .card-glow {
    opacity: 0.3;
}

.featured-glow {
    opacity: 0.2;
}

.glass-card-strong:hover .featured-glow {
    opacity: 0.4;
}

.mega-glow {
    opacity: 0.15;
    filter: blur(50px);
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
}

h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
}

p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.gradient-text {
    background: var(--gradient-liquid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}

.liquid-gradient {
    animation: liquidGradient 5s ease infinite;
}

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

@keyframes liquidGradient {
    0%, 100% { 
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    50% { 
        background-position: 100% 50%;
        filter: hue-rotate(10deg);
    }
}

/* ============================================
   Container & Layout
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    position: relative;
    z-index: 1;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    position: relative;
    z-index: 1;
}

.section-padding {
    padding: clamp(60px, 10vw, 100px) 0;
}

/* ============================================
   Header - Liquid Glass
   ============================================ */

.liquid-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s var(--ease-smooth);
}

.liquid-header.scrolled {
    background: var(--glass-bg-strong);
    box-shadow: var(--shadow-glass);
    padding: var(--space-3) 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    transition: transform 0.3s var(--ease-spring);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    height: 32px;
    width: 32px;
    filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.3));
}

/* Show dark favicon in light mode, light favicon in dark mode */
[data-theme="light"] .logo-icon-light {
    display: none;
}

[data-theme="dark"] .logo-icon-dark {
    display: none;
}

.logo-text {
    background: var(--gradient-liquid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-8);
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover {
    color: var(--accent-purple);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Theme Toggle - Liquid Switch */
.theme-toggle {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 4px;
    width: 60px;
    height: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    box-shadow: var(--shadow-glass);
    transform: scale(1.05);
}

.theme-toggle-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.theme-toggle-thumb {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--gradient-liquid);
    border-radius: 50%;
    transition: transform 0.4s var(--ease-spring);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(28px);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: var(--space-2);
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* ============================================
   Buttons - Liquid Glass
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-liquid);
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

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

.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-glass:hover {
    background: var(--glass-bg-strong);
    box-shadow: var(--shadow-glass);
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    color: var(--accent-purple);
    padding: var(--space-2) var(--space-4);
}

.btn-text:hover {
    opacity: 0.7;
}

.btn-large {
    padding: 18px 40px;
    font-size: 17px;
}

.btn-full {
    width: 100%;
}

/* Magnetic Button Effect */
.btn-magnetic {
    transition: transform 0.2s ease;
}

/* ============================================
   Hero Section - Liquid Glass
   ============================================ */

.liquid-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: var(--space-16);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    margin-bottom: var(--space-8);
    font-size: 13px;
    font-weight: 600;
    animation: fadeInUp 0.8s ease both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gradient-liquid);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: 21px;
    margin-bottom: var(--space-12);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-12);
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-6);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-liquid);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Visual - Liquid Dashboard */
.hero-visual {
    animation: fadeInUp 0.8s ease 0.5s both;
    perspective: 1000px;
    margin-top: -90px;
}

.liquid-dashboard {
    padding: var(--space-6);
    border-radius: var(--radius-2xl);
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
    transition: transform 0.4s var(--ease-smooth);
    will-change: transform;
}

.liquid-dashboard:hover {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1.02);
}

.dashboard-glow {
    position: absolute;
    inset: -4px;
    background: var(--gradient-liquid);
    opacity: 0.2;
    filter: blur(40px);
    z-index: -1;
    border-radius: inherit;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: var(--space-4);
}

.dashboard-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: transform 0.3s var(--ease-spring);
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.liquid-dashboard:hover .dot {
    transform: scale(1.2);
}

.dashboard-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-tertiary);
}

.dashboard-content {
    display: flex;
    gap: var(--space-4);
    min-height: 350px;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    width: 100px;
}

.sidebar-item {
    height: 40px;
    transition: all 0.3s ease;
}

.sidebar-item.active {
    background: var(--gradient-liquid);
}

.sidebar-item:hover {
    transform: translateX(4px);
}

.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.dashboard-chart {
    height: 180px;
    padding: var(--space-4);
    position: relative;
    overflow: hidden;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.chart-line {
    animation: chartDraw 2s ease-in-out infinite;
}

@keyframes chartDraw {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.dashboard-card {
    height: 120px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
}

.card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

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

.dashboard-card:nth-child(1) .card-shimmer { animation-delay: 0s; }
.dashboard-card:nth-child(2) .card-shimmer { animation-delay: 0.3s; }
.dashboard-card:nth-child(3) .card-shimmer { animation-delay: 0.6s; }

/* Floating Elements */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.float-element {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    animation: floatAround 15s ease-in-out infinite;
    animation-delay: var(--delay);
    left: var(--x);
    top: var(--y);
    opacity: 0.5;
}

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(0, -40px) rotate(180deg); }
    75% { transform: translate(-20px, -20px) rotate(270deg); }
}

/* ============================================
   Features Section - Liquid Bento
   ============================================ */

.liquid-features {
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-6);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.liquid-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    grid-auto-rows: minmax(300px, auto);
}

.feature-large {
    grid-column: span 2;
    grid-row: span 2;
}

.feature-card {
    padding: var(--space-12);
    transition: all 0.4s var(--ease-smooth);
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glass-lg);
}

.feature-icon {
    font-size: 56px;
    display: block;
    margin-bottom: var(--space-6);
    animation: float 4s ease-in-out infinite;
}

.feature-icon-large {
    font-size: 80px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card h3 {
    margin-bottom: var(--space-4);
}

.feature-card p {
    margin: 0;
}

.feature-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-6);
    background: var(--gradient-liquid);
    color: white;
    border-radius: var(--radius-full);
}

/* ============================================
   Steps Section - Liquid Glass
   ============================================ */

.liquid-steps {
    position: relative;
}

.steps-grid {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.step-card {
    flex: 1;
    padding: var(--space-12);
    text-align: center;
    transition: all 0.4s var(--ease-smooth);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glass-lg);
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-liquid);
    color: white;
    border-radius: 50%;
    margin: 0 auto var(--space-8);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    transition: transform 0.3s var(--ease-spring);
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step-connector {
    width: 100px;
    opacity: 0.5;
}

.connector-line {
    width: 100%;
    animation: dash 2s ease-in-out infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -10;
    }
}

/* ============================================
   Pricing Section - Liquid Glass
   ============================================ */

.liquid-pricing {
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.pricing-card {
    padding: var(--space-16);
    text-align: center;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
}

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

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

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

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-2) var(--space-6);
    background: var(--gradient-liquid);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    animation: badge-float 2s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
}

.pricing-header {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--glass-border);
}

.pricing-price {
    margin: var(--space-6) 0;
}

.price-amount {
    display: block;
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.price-period {
    display: block;
    font-size: 15px;
    color: var(--text-tertiary);
}

.pricing-description {
    margin-bottom: var(--space-8);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-10);
}

.pricing-features li {
    padding: var(--space-3) 0;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.pricing-features .check {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 18px;
}

/* ============================================
   CTA Section - Liquid Glass
   ============================================ */

.liquid-cta {
    position: relative;
}

.cta-card {
    padding: var(--space-16);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: var(--space-6);
}

.cta-content p {
    font-size: 19px;
    margin-bottom: var(--space-10);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.cta-note {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ============================================
   Footer - Liquid Glass
   ============================================ */

.liquid-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-20) 0 var(--space-8);
    margin-top: var(--space-24);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-section h3 {
    font-size: 17px;
    margin-bottom: var(--space-6);
}

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

.footer-section ul li {
    margin-bottom: var(--space-3);
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-purple);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: var(--space-8);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 14px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .liquid-bento {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .steps-grid {
        flex-direction: column;
    }
    
    .step-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--glass-bg-strong);
        backdrop-filter: blur(30px);
        flex-direction: column;
        padding: var(--space-8);
        gap: var(--space-4);
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        box-shadow: var(--shadow-glass-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .stat-divider {
        display: none;
    }
    
    .liquid-bento {
        grid-template-columns: 1fr;
    }
    
    .feature-large {
        grid-column: span 1;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-featured {
        transform: none;
    }
}

/* ============================================
   Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.btn:focus,
.nav-link:focus,
.theme-toggle:focus {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}

/* ============================================
   Form Components - Liquid Glass
   ============================================ */

.contact-form-card {
    padding: var(--space-12);
    position: relative;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group:last-child {
    margin-bottom: 0;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.required {
    color: var(--color-error, #ff3b30);
    margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(31, 38, 135, 0.08);
    transition: all 0.4s var(--ease-smooth);
    outline: none;
    font-weight: 500;
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="url"],
[data-theme="dark"] input[type="date"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: rgba(28, 28, 30, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-tertiary);
    opacity: 0.6;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1),
                0 2px 8px rgba(31, 38, 135, 0.08);
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    background: rgba(28, 28, 30, 0.85);
}

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

/* Select Dropdown */
select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Checkbox & Radio */
input[type="checkbox"],
input[type="radio"] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--glass-border);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.4s var(--ease-smooth);
    margin-right: 10px;
    flex-shrink: 0;
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background: var(--gradient-liquid);
    border-color: transparent;
    position: relative;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    cursor: pointer;
}

.checkbox-wrapper label {
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.5;
}

/* Success Message */
.success-message {
    background: rgba(52, 199, 89, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 199, 89, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-6);
    margin-top: var(--space-6);
    color: #34c759;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: fadeInUp 0.5s ease both;
}

.success-message::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #34c759;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

/* Error Message */
.error-message {
    background: rgba(255, 59, 48, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-6);
    margin-bottom: var(--space-6);
    color: #ff3b30;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.error-message::before {
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ff3b30;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

/* Inline field error */
.error {
    color: #ff3b30;
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    display: block;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
}

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

/* Form Note */
.form-note {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: var(--space-4);
}

.form-note a {
    color: var(--accent-purple);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.form-note a:hover {
    opacity: 0.7;
}

/* Contact Info Grid */
.contact-info-grid .glass-card {
    transition: all 0.4s var(--ease-smooth);
}

.contact-info-grid .glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass-lg);
}

.contact-info-grid a {
    transition: color 0.3s ease;
}

.contact-info-grid a:hover {
    color: var(--accent-hover, #D4A574);
}

/* Responsive Form */
@media (max-width: 768px) {
    .contact-form-card {
        padding: var(--space-8);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px; /* Prevent zoom on mobile */
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

/* ============================================
   n8n Form Embed Styles
   ============================================ */

.n8n-form-wrapper {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    min-height: 1050px;
}

.n8n-form-wrapper iframe {
    box-shadow: var(--shadow-glass-lg);
    transition: all 0.4s var(--ease-smooth), opacity 0.3s ease;
    overflow: hidden;
    border: none;
    border-radius: 24px;
    position: absolute;
    top: 0;
    left: 0;
}

.n8n-form-wrapper:hover iframe {
    box-shadow: var(--shadow-glass-xl);
}

/* Theme-based form switching */
.n8n-form-light {
    display: block;
    position: relative;
    opacity: 1;
}

.n8n-form-dark {
    display: none;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Dark mode active */
[data-theme="dark"] .n8n-form-light {
    display: none;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

[data-theme="dark"] .n8n-form-dark {
    display: block;
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Mobile responsiveness for iframe */
@media (max-width: 768px) {
    .n8n-form-wrapper {
        min-height: 1200px;
    }
    
    .n8n-form-wrapper iframe {
        height: 1200px;
        border-radius: 16px;
    }
}

