/* =========================================
   ARTIWING - MODERN REDESIGN
   Professional SaaS Design System
   ========================================= */

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

:root {
    /* Brand Colors */
    --color-primary: #FF5757;
    --color-primary-dark: #E64545;
    --color-primary-light: #FF7676;
    --color-secondary: #2C3E50;
    --color-secondary-light: #34495E;
    --color-accent: #3498DB;
    --color-accent-light: #5DADE2;

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-light-bg: #F8F9FA;
    --color-light-gray: #E9ECEF;
    --color-gray: #6C757D;
    --color-dark: #212529;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF5757 0%, #FF7676 100%);
    --gradient-hero: linear-gradient(135deg, #2C3E50 0%, #34495E 50%, #3E5871 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, rgba(255, 87, 87, 0.1) 0px, transparent 50%),
                     radial-gradient(at 100% 100%, rgba(52, 152, 219, 0.1) 0px, transparent 50%);

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

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

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

body {
    font-family: var(--font-family);
    color: var(--color-secondary);
    line-height: 1.6;
    background: var(--color-white);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-secondary);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-gray);
    font-size: var(--font-size-lg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
}

/* Navigation text color adjustments */
.navbar .nav-menu a {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-menu a {
    color: var(--color-secondary);
    text-shadow: none;
}

.navbar .nav-logo {
    color: var(--color-white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled .nav-logo {
    color: var(--color-secondary);
    text-shadow: none;
}

.navbar .nav-logo img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar.scrolled .nav-logo img {
    filter: none;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-secondary);
}

.nav-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: var(--transition-base);
}

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

.nav-menu a {
    font-weight: 500;
    position: relative;
    padding: var(--spacing-xs) 0;
    transition: all var(--transition-base);
}

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

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

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

.nav-cta {
    margin-left: var(--spacing-md);
}

.nav-cta .btn-primary {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    min-height: 44px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(255, 87, 87, 0.4);
    position: relative;
}

.nav-cta .btn-primary::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 87, 87, 0.4), rgba(255, 182, 182, 0.2));
    border-radius: var(--radius-full);
    z-index: -1;
    opacity: 0.8;
    filter: blur(8px);
}

.nav-cta .btn-primary:hover {
    box-shadow: 0 6px 24px rgba(255, 87, 87, 0.6);
    transform: translateY(-1px);
}

/* Maintain primary button style on scroll */
.navbar.scrolled .nav-cta .btn-primary {
    background: linear-gradient(135deg, #FF5757 0%, #FF6B6B 100%);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(255, 87, 87, 0.4);
}

.navbar.scrolled .nav-cta .btn-primary:hover {
    box-shadow: 0 6px 24px rgba(255, 87, 87, 0.6);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition-base);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
    min-height: 48px;
}

.btn-primary {
    background: linear-gradient(135deg, #FF5757 0%, #FF6B6B 100%);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(255, 87, 87, 0.4);
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 87, 87, 0.6);
    background: linear-gradient(135deg, #FF6B6B 0%, #FF7676 100%);
}

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-secondary);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-large {
    padding: 1.125rem 2.75rem;
    font-size: 1.0625rem;
    min-height: 56px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e293b 0%, #2C3E50 40%, #334155 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(255, 87, 87, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(52, 152, 219, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 182, 182, 0.04) 0%, transparent 60%);
    opacity: 1;
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255, 255, 255, 0.4) 40px, rgba(255, 255, 255, 0.4) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255, 255, 255, 0.4) 40px, rgba(255, 255, 255, 0.4) 41px);
}

.hero-container {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: var(--spacing-3xl) var(--spacing-xl) var(--spacing-2xl);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.75rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.hero-highlight {
    background: linear-gradient(135deg, #FF5757 0%, #FF8E8E 50%, #FFB6B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-description {
    font-size: 1.1875rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    font-weight: 400;
    max-width: 95%;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.btn-glow {
    box-shadow: 0 8px 32px rgba(255, 87, 87, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(255, 87, 87, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 8px 40px rgba(255, 87, 87, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.15);
    }
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 87, 87, 0.6), rgba(255, 182, 182, 0.3));
    border-radius: var(--radius-full);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 12px 48px rgba(255, 87, 87, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.2);
    animation: none;
}

.btn-glow:hover::after {
    opacity: 1;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0;
    font-size: 1.0625rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    position: relative;
    transition: all var(--transition-base);
}

.btn-ghost::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-ghost:hover {
    color: var(--color-white);
}

.btn-ghost:hover::after {
    transform: translateX(4px);
}

.hero-trust {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.trust-item:hover {
    color: var(--color-white);
    transform: translateY(-1px);
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(74, 222, 128, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.trust-icon svg {
    color: #4ADE80;
    width: 0.875rem;
    height: 0.875rem;
}

.hero-stats {
    display: none;
}

/* ===== DEVICE MOCKUPS ===== */
.device-mockup {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    perspective: 1200px;
    perspective-origin: center;
    animation: deviceFloat 6s ease-in-out infinite;
}

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

/* Laptop Mockup */
.laptop-mockup {
    position: relative;
    width: 100%;
    animation: slideInRight 0.8s ease forwards;
    opacity: 0;
    transform: rotateY(-5deg) rotateX(2deg);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.laptop-mockup:hover {
    transform: rotateY(-2deg) rotateX(1deg) translateY(-8px);
}

.laptop-screen {
    background: #FFFFFF;
    border-radius: 0.75rem 0.75rem 0 0;
    padding: 0;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    transition: box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.laptop-mockup:hover .laptop-screen {
    box-shadow:
        0 24px 72px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* App Header */
.app-header {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    padding: 0.5rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.app-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.app-logo {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.logo-circle {
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #FF5757, #FF7676);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
}

.logo-text {
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.app-nav {
    display: flex;
    gap: 0.5rem;
}

.app-nav-item {
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.6875rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.app-nav-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.app-header-right {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.header-icon {
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.user-name {
    color: white;
    font-size: 0.6875rem;
    font-weight: 500;
}

.user-avatar {
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.6875rem;
}

.laptop-base {
    height: 0.75rem;
    background: linear-gradient(180deg, #D1D5DB 0%, #9CA3AF 50%, #6B7280 100%);
    border-radius: 0 0 1.5rem 1.5rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.laptop-base::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.laptop-base::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 25%;
    height: 0.25rem;
    background: linear-gradient(90deg, transparent, #4B5563, transparent);
    border-radius: 0 0 0.375rem 0.375rem;
}

/* Dashboard Preview */
.mockup-content {
    background: #F8F9FA;
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
}

/* Sidebar */
.app-sidebar {
    width: 3rem;
    background: #2C3E50;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.25rem;
    gap: 0.375rem;
    flex-shrink: 0;
}

.sidebar-item {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    background: transparent;
}

.sidebar-item.active {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.dashboard-preview {
    flex: 1;
    padding: 0.875rem;
    overflow-y: auto;
    animation: dashboardFadeIn 0.8s ease forwards;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.page-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.help-badge {
    font-size: 0.6875rem;
    color: #3B82F6;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.help-badge:hover {
    background: rgba(59, 130, 246, 0.15);
}

@keyframes dashboardFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Revenue Card */
.revenue-card {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    border-radius: 0.625rem;
    padding: 0.875rem;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    animation: slideInDown 0.6s ease forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.revenue-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.5s ease 0.3s forwards;
}

.card-label {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

.card-period {
    font-size: 0.6875rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

.card-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.5s ease 0.5s forwards, countUp 2s ease 0.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes countUp {
    from { transform: translateY(10px); }
    to { transform: translateY(0); }
}

.mini-chart {
    display: flex;
    gap: 0.25rem;
    align-items: flex-end;
    height: 1.25rem;
}

.mini-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0.125rem 0.125rem 0 0;
    height: 0;
    animation: barGrow 0.8s ease forwards;
}

.mini-bar:nth-child(1) { animation-delay: 0.7s; }
.mini-bar:nth-child(2) { animation-delay: 0.8s; }
.mini-bar:nth-child(3) { animation-delay: 0.9s; }
.mini-bar:nth-child(4) { animation-delay: 1.0s; }

@keyframes barGrow {
    0% { height: 0; opacity: 0.5; }
    100% { height: var(--bar-height, 60%); opacity: 1; }
}

.mini-bar:nth-child(1) { --bar-height: 60%; }
.mini-bar:nth-child(2) { --bar-height: 85%; }
.mini-bar:nth-child(3) { --bar-height: 45%; }
.mini-bar:nth-child(4) { --bar-height: 100%; }

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.metric-item {
    background: white;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-left: 3px solid transparent;
    opacity: 0;
    animation: slideInLeft 0.5s ease forwards;
}

.metric-item:nth-child(1) {
    animation-delay: 0.2s;
    border-left-color: #10B981;
}

.metric-item:nth-child(2) {
    animation-delay: 0.4s;
    border-left-color: #EF4444;
}

.metric-item:nth-child(3) {
    animation-delay: 0.6s;
    border-left-color: #3B82F6;
}

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

.metric-label {
    font-size: 0.6875rem;
    color: #6B7280;
    font-weight: 500;
}

.metric-value {
    font-size: 0.75rem;
    font-weight: 700;
}

.metric-value.positive {
    color: #10B981;
}

.metric-value.negative {
    color: #6B7280;
}

/* Activity Cards */
.activity-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.activity-card {
    background: white;
    padding: 0.625rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid #F3F4F6;
    opacity: 0;
    animation: slideInRight 0.5s ease forwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.activity-card:nth-child(1) { animation-delay: 0.8s; }
.activity-card:nth-child(2) { animation-delay: 1.0s; }

.activity-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.activity-icon.invoice {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white;
}

.activity-icon.invoice::before {
    content: '📄';
}

.activity-icon.payment {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.activity-icon.payment::before {
    content: '💳';
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-title {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.125rem;
}

.activity-subtitle {
    font-size: 0.625rem;
    color: #9CA3AF;
}

.activity-amount {
    font-size: 0.75rem;
    font-weight: 700;
    color: #10B981;
}

/* Notifications */
.notification {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.75rem;
    border-radius: 0.625rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 200px;
    opacity: 0;
    animation: notificationSlide 3s ease-in-out forwards;
    pointer-events: none;
}

@keyframes notificationSlide {
    0% { opacity: 0; transform: translateX(100px) scale(0.9); }
    8% { opacity: 1; transform: translateX(0) scale(1); }
    88% { opacity: 1; transform: translateX(0) scale(1); }
    100% { opacity: 0; transform: translateX(100px) scale(0.9); }
}

.notification:nth-child(5) {
    animation-delay: 2.0s;
    animation-iteration-count: infinite;
    animation-duration: 12s;
}

.notification:nth-child(6) {
    animation-delay: 4.5s;
    animation-iteration-count: infinite;
    animation-duration: 12s;
}

.notif-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #F59E0B, #F97316);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.notif-icon.success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.125rem;
}

.notif-text {
    font-size: 0.6875rem;
    color: #6B7280;
}

/* Mobile Mockup */
.mobile-mockup {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    width: 35%;
    animation: slideInRight 1s ease forwards;
    opacity: 0;
    animation-delay: 0.3s;
    transform: rotateY(8deg) rotateX(-2deg);
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-mockup:hover {
    transform: rotateY(5deg) rotateX(-1deg) translateY(-8px);
}

.mobile-screen {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 1.75rem;
    padding: 0.5rem;
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.25),
        0 0 0 3px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    aspect-ratio: 9 / 19;
    position: relative;
}

.mobile-notch {
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 1.125rem;
    background: #000000;
    border-radius: 0 0 0.75rem 0.75rem;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mobile-notch::before {
    content: '';
    position: absolute;
    top: 0.25rem;
    right: 0.625rem;
    width: 0.375rem;
    height: 0.375rem;
    background: #1F2937;
    border-radius: 50%;
}

/* Mobile Dashboard */
.mobile-content {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border-radius: 1.25rem;
    padding: 1.75rem 0.625rem 0.625rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mobile-dashboard {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
}

.mobile-metric-card {
    background: white;
    padding: 0.625rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border: 1px solid #F3F4F6;
    opacity: 0;
    animation: mobileSlideIn 0.5s ease forwards;
}

.mobile-metric-card:nth-child(1) { animation-delay: 1.2s; }
.mobile-metric-card:nth-child(2) { animation-delay: 1.4s; }

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

.mobile-metric-label {
    font-size: 0.625rem;
    color: #6B7280;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.mobile-metric-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.25rem;
}

.mobile-metric-change {
    font-size: 0.6875rem;
    color: #10B981;
    font-weight: 600;
}

.mobile-metric-change::before {
    content: '↑ ';
}

.mobile-alert {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    padding: 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #92400E;
    margin-top: auto;
    opacity: 0;
    animation: alertPulse 0.6s ease 2.5s forwards;
}

@keyframes alertPulse {
    0% { opacity: 0; transform: scale(0.95); }
    50% { transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

.alert-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #F59E0B;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

.hero-visual {
    position: relative;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.floating-card {
    display: none;
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--spacing-3xl) var(--spacing-lg);
    position: relative;
}

.section-gray {
    background: var(--color-light-bg);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 87, 87, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: var(--font-size-4xl);
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--color-gray);
}

/* ===== FEATURE CARDS ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-3xl);
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(255, 87, 87, 0.25);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(255, 87, 87, 0.35);
}

.feature-title {
    font-size: var(--font-size-xl);
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--color-gray);
    margin-bottom: 0;
}

/* ===== PRICING CARDS ===== */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: var(--color-light-gray);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
}

.toggle-switch.active {
    background: var(--gradient-primary);
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: var(--color-white);
    border-radius: 50%;
    transition: var(--transition-base);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(28px);
}

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

.pricing-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.pricing-card.featured {
    background: var(--gradient-hero);
    color: var(--color-white);
    transform: scale(1.05);
}

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

.pricing-badge {
    position: absolute;
    top: -12px;
    right: var(--spacing-lg);
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.pricing-name {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.pricing-users {
    font-size: var(--font-size-sm);
    color: var(--color-gray);
    margin-bottom: var(--spacing-lg);
}

.pricing-card.featured .pricing-users {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-price {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.pricing-price span {
    font-size: var(--font-size-lg);
    font-weight: 400;
}

.pricing-period {
    font-size: var(--font-size-base);
    color: var(--color-gray);
    margin-bottom: var(--spacing-xl);
}

.pricing-card.featured .pricing-period {
    color: rgba(255, 255, 255, 0.8);
}

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

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-base);
}

.pricing-features li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 700;
    font-size: var(--font-size-xl);
}

.pricing-card.featured .pricing-features li::before {
    color: var(--color-white);
}

/* ===== PRICING OPTIMIZED (Conversion-Focused) ===== */
.pricing-grid-optimized {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card-opt {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.75rem 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #E9ECEF;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 680px;
}

.pricing-card-opt:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Plan Badge */
.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-badge {
    background: linear-gradient(135deg, #FF5757, #FF7676);
    color: white;
}

.growth-badge {
    background: #2C3E50;
    color: white;
}

.enterprise-badge {
    background: #2C3E50;
    color: white;
}

/* Plan Names & Subtitle */
.plan-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #2C3E50;
    margin: 0.75rem 0 0.5rem;
    letter-spacing: -0.5px;
}

.plan-subtitle {
    font-size: 0.875rem;
    color: #6C757D;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Price Container - Visual Hierarchy */
.plan-price-container {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #F3F4F6;
}

.plan-price-large {
    font-size: 3.5rem;
    font-weight: 900;
    color: #2C3E50;
    line-height: 1;
    letter-spacing: -2px;
}

.plan-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6C757D;
}

.plan-period {
    font-size: 0.9375rem;
    color: #9CA3AF;
    margin: 0.5rem 0 0;
    font-weight: 500;
}

.plan-commitment {
    font-size: 0.8125rem;
    color: #FF5757;
    margin: 0.5rem 0 0;
    font-weight: 600;
}

.plan-price-custom {
    font-size: 2rem;
    font-weight: 800;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

/* Features List */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
    flex: 1;
}

.plan-features li {
    padding: 0.625rem 0;
    color: #4B5563;
    font-size: 0.9375rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.75rem;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FF5757;
    font-weight: 700;
    font-size: 1.125rem;
}

/* CTA Buttons - Differentiated */
.btn-plan {
    width: 100%;
    padding: 0.9375rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    display: block;
    margin-top: 1.5rem;
    white-space: nowrap;
}

.btn-plan-starter {
    background: #F3F4F6;
    color: #2C3E50;
    border-color: #E5E7EB;
}

.btn-plan-starter:hover {
    background: #E5E7EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-plan-business {
    background: linear-gradient(135deg, #FF5757, #FF7676);
    color: white;
    box-shadow: 0 8px 24px rgba(255, 87, 87, 0.35);
}

.btn-plan-business:hover {
    background: linear-gradient(135deg, #FF7676, #FF5757);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 87, 87, 0.45);
}

.btn-plan-growth {
    background: #2C3E50;
    color: white;
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

.btn-plan-growth:hover {
    background: #34495E;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(44, 62, 80, 0.4);
}

.btn-plan-enterprise {
    background: white;
    color: #2C3E50;
    border-color: #2C3E50;
}

.btn-plan-enterprise:hover {
    background: #2C3E50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

/* Featured Card (Business) - Visual Dominance */
.business-plan {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-color: #FF5757;
    border-width: 3px;
    box-shadow: 0 16px 48px rgba(255, 87, 87, 0.2);
    z-index: 10;
    position: relative;
}

.business-plan:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 24px 64px rgba(255, 87, 87, 0.3);
}

.business-plan .plan-name {
    color: #FF5757;
}

/* Enterprise Card - Premium Feel */
.enterprise-plan {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-color: #2C3E50;
}

.enterprise-plan .plan-name {
    color: #2C3E50;
}

/* Growth Card - Dynamic */
.growth-plan .plan-name {
    color: #2C3E50;
}

/* Responsive */
@media (max-width: 1200px) {
    .pricing-grid-optimized {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .business-plan {
        transform: scale(1);
    }

    .business-plan:hover {
        transform: scale(1) translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-grid-optimized {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .plan-price-large {
        font-size: 3rem;
    }

    .pricing-card-opt {
        padding: 1.75rem 1.5rem;
        min-height: auto;
    }
}

/* ===== TESTIMONIALS ===== */
.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--color-white);
    padding: var(--spacing-3xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--color-light-gray);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 6rem;
    color: rgba(255, 87, 87, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-quote {
    font-size: 1.5rem;
    color: var(--color-secondary);
    font-style: italic;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.author-info h4 {
    font-size: var(--font-size-lg);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: var(--font-size-sm);
    color: var(--color-gray);
    margin: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-hero);
    color: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-3xl) var(--spacing-lg) var(--spacing-lg);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand h3 {
    color: var(--color-white);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-lg);
}

.footer-links h4 {
    color: var(--color-white);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.footer-contact h4 {
    color: var(--color-white);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    :root {
        --font-size-6xl: 2.5rem;
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-description {
        max-width: 100%;
    }

    .device-mockup {
        max-width: 100%;
        animation: none; /* Disable float on tablets for stability */
    }

    .laptop-mockup {
        transform: none;
    }

    .mobile-mockup {
        width: 40%;
        bottom: -1rem;
        right: 0.5rem;
        transform: none;
    }

    .hero-visual {
        order: 1;
    }

    .hero-content {
        order: 2;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-xl);
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        color: var(--color-secondary) !important;
    }

    .hamburger {
        display: flex;
    }

    .hamburger span {
        background: var(--color-white);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .navbar.scrolled .hamburger span {
        background: var(--color-secondary);
        box-shadow: none;
    }

    .hero-content h1 {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: var(--spacing-lg);
    }

    .hero-description {
        font-size: 1.0625rem;
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-md);
        padding-top: var(--spacing-md);
    }

    .device-mockup {
        margin: 0 auto;
        animation: none; /* Disable float on mobile */
    }

    .laptop-mockup {
        transform: none;
    }

    .laptop-mockup:hover {
        transform: none;
    }

    .mobile-mockup {
        width: 38%;
        bottom: -0.75rem;
        right: 0.25rem;
        transform: none;
    }

    .mobile-mockup:hover {
        transform: none;
    }

    .notification {
        min-width: 150px;
        padding: 0.5rem;
    }

    .notif-icon {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.875rem;
    }

    .laptop-screen {
        padding: 0;
    }

    .mockup-content {
        padding: 0;
    }

    .dashboard-preview {
        padding: 0.75rem;
    }

    .app-header {
        padding: 0.375rem 0.625rem;
    }

    .app-sidebar {
        width: 2.5rem;
    }

    .dashboard-stats {
        gap: 0.5rem;
    }

    .stat-box {
        padding: 0.625rem;
    }

    .stat-icon {
        width: 1.25rem;
        height: 1.25rem;
    }

    .dashboard-chart {
        padding: 0.75rem;
    }

    .chart-bar {
        border-radius: 0.25rem 0.25rem 0 0;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

/* ===== ORDER PAGE ===== */
.order-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 3px 8px rgba(116, 129, 141, 0.1);
    overflow: hidden;
}

.order-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-sm);
}

.order-card-icon {
    font-size: 1.75rem;
}

.order-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0;
}

.order-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    padding: var(--spacing-sm) var(--spacing-lg) 0;
    margin-top: var(--spacing-sm);
}

.order-details {
    padding: var(--spacing-sm) var(--spacing-lg);
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.order-detail-row:last-child {
    border-bottom: none;
}

.order-detail-label {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.order-detail-value {
    color: var(--color-secondary);
    font-weight: 600;
}

.order-detail-value-bold {
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
}

.order-detail-value-large {
    font-size: 1.25rem;
    font-weight: 700;
}

.order-form-body {
    padding: var(--spacing-sm) var(--spacing-lg) var(--spacing-lg);
}

.order-input-group {
    margin-bottom: var(--spacing-md);
}

.order-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--color-secondary);
    transition: border-color 0.2s;
    background: var(--color-white);
}

.order-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.order-input::placeholder {
    color: #adb5bd;
}

.order-captcha-wrapper {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
}

.order-error {
    background: #fff3f3;
    border: 1px solid #ffcdd2;
    color: #d32f2f;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.order-submit-btn {
    width: 100%;
    padding: 1rem;
    background: #4285f4;
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.5px;
}

.order-submit-btn:hover {
    background: #3367d6;
}

.order-submit-btn:active {
    transform: scale(0.99);
}

.order-submit-btn:disabled {
    background: #b0bec5;
    cursor: not-allowed;
}

.order-submit-btn.loading {
    position: relative;
    color: transparent;
}

.order-submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ===== REGISTER PAGE ===== */

/* Hero Banner */
.register-hero {
    padding-top: 130px;
    padding-bottom: 2.5rem;
    background: linear-gradient(135deg, #1a2a3a 0%, #2C3E50 50%, #34495E 100%);
    color: white;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.register-hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 10% 80%, rgba(255, 87, 87, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 20%, rgba(66, 133, 244, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 180, 219, 0.06) 0%, transparent 60%);
}

.register-hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.register-hero-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.15rem;
    line-height: 1.5;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.register-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.register-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Layout */
.register-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

/* Benefits grid - 2x2 layout */
.register-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding-top: 0;
}

.register-benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
    padding: 1.25rem 1.5rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(116, 129, 141, 0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}

.register-benefit-item:hover {
    box-shadow: 0 4px 16px rgba(116, 129, 141, 0.14);
    transform: translateY(-2px);
}

.register-benefit-item:last-child {
    margin-bottom: 0;
}

.register-benefit-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
    margin-top: 2px;
    line-height: 1;
}

.register-benefit-item strong {
    display: block;
    color: var(--color-secondary);
    margin-bottom: 0.35rem;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
}

.register-benefit-item p {
    color: var(--color-gray);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

/* Form card */
.register-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(116, 129, 141, 0.12);
    padding: 2.25rem;
}

.register-input-group {
    margin-bottom: 1.25rem;
}

.register-input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 0.4rem;
}

.register-input-group label .required {
    color: #FF5757;
}

.register-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid #dee2e6;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: var(--color-secondary);
    background: var(--color-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.register-input:focus {
    outline: none;
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.12);
}

.register-input::placeholder {
    color: #adb5bd;
}

select.register-input {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.register-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-top: 0.3rem;
}

.register-captcha-wrapper {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
}

.register-error {
    background: #fff3f3;
    border: 1px solid #ffcdd2;
    color: #d32f2f;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.register-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #00B4DB 0%, #0083B0 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.register-submit-btn:hover {
    opacity: 0.9;
}

.register-submit-btn:active {
    transform: scale(0.99);
}

.register-submit-btn:disabled {
    background: #b0bec5;
    cursor: not-allowed;
}

.register-submit-btn.loading {
    position: relative;
    color: transparent;
}

.register-submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.register-btn-icon {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .register-hero {
        padding-top: 100px;
        padding-bottom: 2rem;
        text-align: center;
    }

    .register-hero-title {
        font-size: 1.6rem;
    }

    .register-hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .register-hero-badges {
        justify-content: center;
    }

    .register-hero-badge {
        font-size: 0.78rem;
        padding: 0.35rem 0.75rem;
    }

    .register-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .register-benefits {
        grid-template-columns: 1fr;
        order: 2;
    }

    .register-benefit-item {
        padding: 1rem 1.25rem;
        margin-bottom: 0;
    }

    .register-card {
        order: 1;
        padding: 1.5rem;
    }
}

/* ===== LEGAL / CONDITIONS PAGE ===== */
.legal-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 3px 8px rgba(116, 129, 141, 0.1);
    padding: var(--spacing-xl) var(--spacing-xl);
}

.legal-intro {
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-light-gray);
    margin-bottom: var(--spacing-lg);
}

.legal-intro p {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.legal-intro a {
    color: var(--color-primary);
    font-weight: 600;
}

.legal-section {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-light-gray);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
}

.legal-section h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.legal-section p {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.legal-section a {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: underline;
}

.legal-section ul {
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.legal-section ul li {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 0.3rem;
}

.legal-contact {
    text-align: center;
    background: var(--color-light-bg);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    border-bottom: none;
}

.legal-contact h2 {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .legal-card {
        padding: var(--spacing-md) var(--spacing-md);
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-white { color: var(--color-white); }
.bg-white { background: var(--color-white); }
.bg-gray { background: var(--color-light-bg); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.py-xl { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }
