/* =========================================
   SandboxLearning - Modern Bold Design
   ========================================= */

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --primary-subtle: rgba(14, 165, 233, 0.1);

    --accent: #f59e0b;
    --accent-light: #fbbf24;

    --dark: #0f172a;
    --dark-light: #1e293b;
    --dark-lighter: #334155;

    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --white: #ffffff;
    --black: #000000;

    --font: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    --transition: 200ms ease;
    --transition-slow: 400ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

img {
    max-width: 100%;
    display: block;
}

button, input, textarea {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}

button { cursor: pointer; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.text-highlight {
    color: var(--primary);
}

.overline {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.btn svg {
    width: 18px;
    height: 18px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.btn-outline {
    border: 2px solid var(--gray-200);
    color: var(--gray-700);
}

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

.btn-text {
    color: var(--gray-600);
}

.btn-text:hover {
    color: var(--primary);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--dark-light);
    transform: translateY(-2px);
}

.btn-xl {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-slow);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.logo-mark span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--white);
}

.logo-mark span:last-child {
    background: var(--primary-dark);
}

.logo-text {
    font-size: 1.125rem;
    color: var(--white);
    transition: color var(--transition);
}

.navbar.scrolled .logo-text {
    color: var(--gray-900);
}

.logo-text strong {
    font-weight: 900;
}

.nav-links {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.nav-links .mobile-only {
    display: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-actions .btn-text {
    color: rgba(255, 255, 255, 0.8);
}

.nav-actions .btn-text:hover {
    color: var(--white);
}

.navbar.scrolled .nav-actions .btn-text {
    color: var(--gray-600);
}

.navbar.scrolled .nav-actions .btn-text:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--gray-900);
}

.mobile-menu-btn.active {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 1001;
}

.mobile-menu-btn.active span {
    background: var(--white) !important;
}

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

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

/* Hero */
.hero {
    min-height: 100vh;
    background: var(--dark);
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: labelSlideIn 0.6s ease-out both;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
    animation: labelShine 4s ease-in-out infinite 2s;
}

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

@keyframes labelShine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--success);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 5px var(--success); }
    50% { opacity: 0.7; transform: scale(1.3); box-shadow: 0 0 15px var(--success); }
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: heroFadeUp 0.8s ease-out 0.2s both;
}

.hero h1 .text-highlight {
    background: linear-gradient(90deg, var(--primary), #38bdf8, var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 3s linear infinite;
}

@keyframes textGradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

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

.hero-desc {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.8;
    animation: heroFadeUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    animation: heroFadeUp 0.8s ease-out 0.6s both;
}

.hero-cta .btn-primary {
    position: relative;
    overflow: hidden;
}

.hero-cta .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.hero-cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-cta .btn-outline:hover {
    border-color: var(--primary);
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-light);
}

.hero-cta .btn-outline svg {
    animation: playPulse 2s ease-in-out infinite;
}

@keyframes playPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Button text visibility */
.btn-text-mobile {
    display: none;
}

.btn-text-desktop {
    display: inline;
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    padding: 12px 24px;
    margin-bottom: 40px;
    animation: heroFadeUp 0.8s ease-out 0.7s both;
}

.trial-badge-icon {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trial-badge-icon svg {
    width: 18px;
    height: 18px;
    color: #10b981;
}

.trial-badge-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trial-badge-title {
    font-weight: 700;
    font-size: 0.9375rem;
    color: #10b981;
}

.trial-badge-sub {
    font-weight: 400;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: heroFadeUp 0.8s ease-out 0.8s both;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value-wrap {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}

.metric-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.metric-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    animation: suffixPop 0.5s ease-out 1.5s both;
}

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

.metric-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--dark-lighter), transparent);
    animation: dividerFade 1s ease-out 1s both;
}

@keyframes dividerFade {
    from { opacity: 0; height: 0; }
    to { opacity: 1; height: 40px; }
}

/* Hero Visual - Device Frame */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    animation: orbPulse 4s ease-in-out infinite;
    z-index: -1;
}

.hero-visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, transparent 30%, rgba(14, 165, 233, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    animation: orbPulse 4s ease-in-out infinite reverse;
    z-index: -2;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.device-frame {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 40px;
    padding: 12px;
    margin-left: auto;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(14, 165, 233, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    animation: deviceFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.device-frame::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 42px;
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.5), rgba(139, 92, 246, 0.3), rgba(14, 165, 233, 0.1));
    z-index: -1;
    opacity: 0.5;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes deviceFloat {
    0%, 100% {
        transform: translateY(0) rotateX(2deg) rotateY(-2deg);
    }
    50% {
        transform: translateY(-20px) rotateX(-2deg) rotateY(2deg);
    }
}

@keyframes borderGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.device-notch {
    width: 120px;
    height: 28px;
    background: linear-gradient(180deg, #1e293b, #0f172a);
    border-radius: 20px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.device-notch::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #1e293b;
    border-radius: 50%;
    box-shadow: inset 0 0 2px rgba(14, 165, 233, 0.5);
}

.device-notch::after {
    content: '';
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #334155, #475569);
    border-radius: 2px;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border-radius: 32px;
    overflow: hidden;
    padding: 48px 12px 60px;
    position: relative;
}

.device-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.05), transparent);
    pointer-events: none;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    animation: slideInDown 0.6s ease-out;
}

.app-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    animation: avatarPulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

@keyframes avatarPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5); }
}

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

.app-title {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-greeting {
    font-size: 0.6875rem;
    color: var(--gray-500);
}

.app-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-900);
}

.app-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.app-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: iconShimmer 2s infinite;
}

@keyframes iconShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.app-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: cardSlideIn 0.8s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

.app-card.featured {
    display: flex;
    gap: 12px;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.app-card-img {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    background-size: 200% 200%;
    border-radius: var(--radius);
    flex-shrink: 0;
    animation: gradientShift 3s ease infinite;
    position: relative;
    overflow: hidden;
}

.app-card-img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    opacity: 0.9;
}

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

.app-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-card-tag {
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    align-self: flex-start;
}

.app-card-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gray-900);
}

.app-progress {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
    margin-top: auto;
    position: relative;
}

.app-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #38bdf8, var(--primary));
    background-size: 200% 100%;
    border-radius: 3px;
    animation: progressPulse 2s ease-in-out infinite, progressFill 1.5s ease-out;
    position: relative;
}

.app-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

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

@keyframes progressFill {
    from { width: 0%; }
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.app-progress-text {
    font-size: 0.625rem;
    color: var(--gray-500);
    font-weight: 600;
}

.app-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.app-live-item + .app-section-title {
    margin-top: 16px;
}

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

.app-live-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    animation: cardSlideIn 0.8s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.app-live-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), #38bdf8);
    animation: livePulse 1.5s ease-in-out infinite;
}

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

.app-live-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-subtle), rgba(14, 165, 233, 0.15));
    padding: 8px;
    border-radius: var(--radius);
    min-width: 44px;
    position: relative;
}

.app-live-time::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.app-live-time span:first-child {
    font-size: 0.875rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.app-live-time span:last-child {
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--primary);
}

.app-live-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-live-info span:first-child {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-900);
}

.app-live-info span:last-child {
    font-size: 0.625rem;
    color: var(--gray-500);
}

.app-live-join {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--success), #059669);
    padding: 6px 12px;
    border-radius: var(--radius);
    animation: joinPulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-live-join:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

@keyframes joinPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3); }
    50% { box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5); }
}

/* App Achievements */
.app-achievements {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 12px;
    animation: cardSlideIn 0.8s ease-out 0.8s both;
}

.app-achievement {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--white);
    padding: 10px 6px;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-achievement:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border-radius: 50%;
}

.achievement-icon.fire {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    animation: fireFlicker 1s ease-in-out infinite;
}

.achievement-icon.trophy {
    background: linear-gradient(135deg, #fef3c7, #fcd34d);
    animation: trophyBounce 2s ease-in-out infinite;
}

.achievement-icon.medal {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    animation: medalPulse 2s ease-in-out infinite;
}

@keyframes fireFlicker {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

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

@keyframes medalPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.app-achievement span {
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--gray-700);
    text-align: center;
}

/* App Bottom Navigation */
.app-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 8px 0 12px;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-radius: 0 0 32px 32px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 12px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.nav-item svg {
    width: 18px;
    height: 18px;
    color: var(--gray-400);
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-item span {
    font-size: 0.5625rem;
    font-weight: 600;
    color: var(--gray-400);
    transition: color 0.2s ease;
}

.nav-item.active svg {
    color: var(--primary);
    transform: scale(1.1);
}

.nav-item.active span {
    color: var(--primary);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 3px 3px;
}

.nav-item:hover svg {
    transform: scale(1.15);
}

.nav-profile-avatar {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.3);
}

.nav-item:hover .nav-profile-avatar {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
}

.nav-badge {
    position: absolute;
    top: 0;
    right: 4px;
    width: 14px;
    height: 14px;
    background: #ef4444;
    color: var(--white);
    font-size: 0.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badgePop 0.3s ease-out, badgeNotify 2s ease-in-out infinite 1s;
}

@keyframes badgePop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

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

/* Float Badges */
.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    animation: floatBadge 4s ease-in-out infinite, badgeFadeIn 0.8s ease-out both;
}

.float-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.float-badge svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.float-badge span {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gray-900);
}

.badge-1 {
    top: 20%;
    left: -20px;
    animation-delay: 0s, 0.3s;
}

.badge-1 svg {
    color: var(--success);
    animation: checkPop 0.6s ease-out 1s both;
}

@keyframes checkPop {
    0% { transform: scale(0) rotate(-180deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.badge-2 {
    bottom: 25%;
    right: -40px;
    animation-delay: 2s, 0.6s;
}

.badge-2 svg {
    color: var(--primary);
    animation: userBounce 2s ease-in-out infinite 1.5s;
}

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

.badge-3 {
    top: 55%;
    left: -60px;
    animation-delay: 1s, 0.9s;
}

.badge-3 svg {
    color: #8b5cf6;
    animation: phoneBounce 2s ease-in-out infinite 2s;
}

@keyframes phoneBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-2px) rotate(-5deg); }
    75% { transform: translateY(-2px) rotate(5deg); }
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-6px) rotate(1deg); }
    50% { transform: translateY(-12px) rotate(0deg); }
    75% { transform: translateY(-6px) rotate(-1deg); }
}

@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Logos Section */
.logos-section {
    padding: 60px 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.logos-wrapper {
    display: flex;
    align-items: center;
    gap: 48px;
}

.logos-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-500);
    white-space: nowrap;
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 48px;
    flex: 1;
    overflow: hidden;
}

.logo-item {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-400);
    white-space: nowrap;
    transition: color var(--transition);
}

.logo-item:hover {
    color: var(--gray-600);
}

/* Section Intro */
.section-intro {
    max-width: 600px;
    margin-bottom: 64px;
}

.section-intro.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-intro p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-top: 12px;
}

/* Features - Bento Grid */
.features {
    padding: 100px 0;
}

.features-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bento-item {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 28px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.bento-item:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-subtle);
}

.bento-item.bento-large {
    grid-column: span 2;
}

.bento-item.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-subtle);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.bento-icon svg {
    width: 24px;
    height: 24px;
}

.bento-icon.orange {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.bento-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.bento-icon.teal {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

.bento-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.bento-icon.pink {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.bento-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.bento-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.bento-icon.yellow {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.bento-icon.indigo {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.bento-item h3 {
    margin-bottom: 8px;
}

.bento-item p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.bento-tags {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.bento-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
}

/* Process Section */
.process {
    padding: 100px 0;
    background: var(--gray-50);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all var(--transition);
}

.process-step:hover .step-marker {
    border-color: var(--primary);
    background: var(--primary);
}

.step-marker span {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--gray-400);
    transition: color var(--transition);
}

.process-step:hover .step-marker span {
    color: var(--white);
}

.step-content {
    padding-top: 16px;
}

.step-content h3 {
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-trial-note {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    padding: 12px 24px;
    margin-top: 20px;
}

.pricing-trial-icon {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-trial-icon svg {
    width: 18px;
    height: 18px;
    color: #10b981;
}

.pricing-trial-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-trial-title {
    font-weight: 700;
    font-size: 0.9375rem;
    color: #10b981;
}

.pricing-trial-sub {
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--gray-500);
    padding-left: 10px;
    border-left: 1px solid var(--gray-300);
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    background: var(--gray-100);
    padding: 6px;
    border-radius: var(--radius-full);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-btn.active {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}

.toggle-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    transition: all var(--transition);
}

.price-card:hover {
    border-color: var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.price-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-subtle);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.price-header {
    margin-bottom: 24px;
}

.price-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.price-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.price-amount {
    display: flex;
    align-items: flex-start;
    margin-bottom: 32px;
}

.price-amount .currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 8px;
}

.price-amount .value {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--gray-900);
    transition: opacity var(--transition);
}

.price-amount .period {
    color: var(--gray-500);
    font-size: 0.875rem;
    align-self: flex-end;
    margin-bottom: 8px;
    margin-left: 4px;
}

.price-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.price-features svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    stroke-width: 2.5;
    fill: none;
    stroke: currentColor;
    flex-shrink: 0;
}

.price-features li.disabled {
    color: var(--gray-400);
}

.price-features li.disabled svg {
    color: var(--gray-300);
}

/* Pricing Type Toggle */
.pricing-type-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    background: var(--gray-100);
    padding: 6px;
    border-radius: var(--radius-full);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.type-toggle-btn {
    padding: 12px 32px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    background: transparent;
}

.type-toggle-btn:hover {
    color: var(--gray-800);
}

.type-toggle-btn.active {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}

.pricing-content {
    transition: opacity var(--transition);
}

.pricing-content.hidden {
    display: none;
}

.pricing-cards.hidden {
    display: none;
}

/* Pay as you go styles */
.payg-cards {
    max-width: 700px;
    margin: 0 auto;
}

.payg-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 40px;
    transition: all var(--transition);
}

.payg-card:hover {
    border-color: var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.payg-card.hidden {
    display: none;
}

.payg-header {
    text-align: center;
    margin-bottom: 32px;
}

.payg-flag {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.payg-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.payg-header p {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.payg-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.payg-item {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
}

.payg-item.highlight {
    background: var(--primary-subtle);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.payg-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.payg-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.payg-item.highlight .payg-value {
    color: var(--primary);
}

.payg-note {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-400);
}

.payg-features {
    margin-bottom: 24px;
}

.payg-features h4,
.payg-addons h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payg-features .price-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 0;
}

.payg-addons {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}

.addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.addon-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.addon-item:first-child {
    padding-top: 0;
}

.addon-name {
    font-weight: 600;
    color: var(--gray-700);
}

.addon-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.125rem;
}

.addon-note {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-left: 8px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--dark);
}

.testimonials .section-intro h2,
.testimonials .section-intro .overline {
    color: var(--white);
}

.testimonials .overline {
    color: var(--primary-light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--dark-light);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--dark-lighter);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 24px;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.author-details {
    display: flex;
    flex-direction: column;
}

.author-details strong {
    color: var(--white);
    font-size: 0.9375rem;
}

.author-details span {
    color: var(--gray-500);
    font-size: 0.8125rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-2xl);
    padding: 64px;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.cta-form .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form input {
    flex: 1;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--gray-900);
}

.cta-form input::placeholder {
    color: var(--gray-400);
}

.cta-form .btn {
    white-space: nowrap;
}

.cta-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: 20px;
}

/* Contact */
.contact {
    padding: 100px 0;
    background: var(--gray-50);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.contact-method:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-subtle);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-subtle);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.method-icon svg {
    width: 22px;
    height: 22px;
}

.method-details strong {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.method-details span {
    font-weight: 600;
    color: var(--gray-900);
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group label .required {
    color: #ef4444;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--gray-900);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--primary);
}

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

.phone-input {
    display: flex;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--radius);
    position: relative;
}

.phone-input > input[type="tel"] {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-left: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--white);
    font-size: 0.95rem;
    color: #132632;
    outline: none;
    transition: all var(--transition);
    box-sizing: border-box;
}

.phone-input > input[type="tel"]:focus {
    border-color: #68DEC5;
    box-shadow: 0 0 0 3px rgba(104, 222, 197, 0.15);
}

.phone-input > input[type="tel"]::placeholder {
    color: #94a3b8;
}

/* Country Selector */
.country-selector {
    position: relative;
    display: flex;
    align-self: stretch;
}

.country-selected {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 10px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius) 0 0 var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    min-width: 95px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.country-selected:hover {
    background: #f8fafc;
}

.country-selected:focus,
.country-selector.open .country-selected {
    border-color: #68DEC5;
    box-shadow: 0 0 0 3px rgba(104, 222, 197, 0.15);
    z-index: 1;
}

.country-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.country-dial-code {
    font-size: 0.95rem;
    font-weight: 600;
    color: #132632;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    stroke: #94a3b8;
    stroke-width: 2.5;
    transition: transform var(--transition);
    margin-left: 2px;
}

.country-selector.open .dropdown-arrow {
    transform: rotate(180deg);
}

.country-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 280px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    overflow: hidden;
}

.country-selector.open .country-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.country-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.country-search svg {
    width: 16px;
    height: 16px;
    stroke: #94a3b8;
    flex-shrink: 0;
}

.country-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: #132632;
    outline: none;
}

.country-search input::placeholder {
    color: #94a3b8;
}

.country-list {
    max-height: 240px;
    overflow-y: auto;
    padding: 4px 0;
}

.country-list::-webkit-scrollbar {
    width: 5px;
}

.country-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.country-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.country-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.country-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.country-option:hover {
    background: #f1f5f9;
}

.country-option.selected {
    background: rgba(104, 222, 197, 0.15);
}

.country-option.selected .country-name {
    font-weight: 600;
}

.country-option .country-flag {
    font-size: 1.3rem;
}

.country-option .country-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.country-option .country-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #132632;
}

.country-option .country-code {
    font-size: 0.75rem;
    color: #94a3b8;
}

.country-option .dial-code {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

.no-results {
    padding: 16px 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Country dropdown backdrop for mobile */
.country-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.country-backdrop.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .phone-input {
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .phone-input > input[type="tel"] {
        min-width: 0;
        padding: 14px 10px;
        font-size: 16px; /* Prevents iOS zoom on focus */
        height: auto;
    }

    .country-selected {
        min-width: 80px;
        padding: 14px 8px;
        gap: 4px;
    }

    .country-flag {
        font-size: 1.1rem;
    }

    .country-dial-code {
        font-size: 0.875rem;
    }

    .dropdown-arrow {
        width: 10px;
        height: 10px;
    }

    .country-backdrop {
        display: block;
        pointer-events: none;
    }

    .country-backdrop.active {
        pointer-events: auto;
    }

    .country-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 70vh;
        border-radius: 16px 16px 0 0;
        z-index: 9999;
        transform: translateY(100%);
    }

    .country-selector.open .country-dropdown {
        transform: translateY(0);
    }

    .country-dropdown::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: #cbd5e1;
        border-radius: 2px;
        margin: 10px auto 6px;
    }

    .country-search {
        padding: 12px 16px;
    }

    .country-search input {
        font-size: 16px;
    }

    .country-list {
        max-height: calc(70vh - 80px);
        padding: 8px 0 24px;
    }

    .country-option {
        padding: 12px 16px;
    }

    .country-option .country-name {
        font-size: 0.95rem;
    }

    .country-option .dial-code {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .country-selected {
        min-width: 75px;
        padding: 12px 6px;
    }

    .country-dial-code {
        font-size: 0.8rem;
    }

    .phone-input > input[type="tel"] {
        padding: 12px 8px;
    }
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 80px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--dark-lighter);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray-500);
    margin-bottom: 24px;
    max-width: 280px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-500);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    background: var(--black);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Success Modal */
.success-modal-content {
    max-width: 420px;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.success-modal-content .modal-close {
    top: 16px;
    right: 16px;
    background: var(--gray-100);
    color: var(--gray-600);
}

.success-modal-content .modal-close:hover {
    background: var(--gray-200);
}

.success-modal-body {
    padding: 48px 32px 32px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: successPop 0.5s ease-out;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2.5;
}

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

.success-modal-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.success-modal-body p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.success-email-note {
    font-size: 0.875rem !important;
    color: var(--gray-500) !important;
    margin-bottom: 24px !important;
}

.success-modal-body .btn {
    min-width: 160px;
}

/* Contact Modal */
.contact-modal-content {
    max-width: 480px;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: visible;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-modal-content .modal-close {
    top: 16px;
    right: 16px;
    background: var(--gray-100);
    color: var(--gray-600);
}

.contact-modal-content .modal-close:hover {
    background: var(--gray-200);
}

.contact-modal-body {
    padding: 32px;
    overflow: visible;
}

.contact-modal-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.contact-modal-body > p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

.contact-modal-body .contact-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.contact-modal-body .form-group {
    margin-bottom: 16px;
    border: none;
    box-shadow: none;
}

.contact-modal-body .form-group input,
.contact-modal-body .form-group textarea {
    border: 2px solid var(--gray-200);
    box-shadow: none;
    outline: none;
}

.contact-modal-body .form-group input:focus,
.contact-modal-body .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.contact-modal-body .phone-input {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: visible;
    position: relative;
}

.contact-modal-body .phone-input > input[type="tel"] {
    border: none;
    border-left: 1px solid var(--gray-200);
}

.contact-modal-body .country-selector {
    position: relative;
}

.contact-modal-body .country-selected {
    border: none;
    background: transparent;
}

.contact-modal-body .country-dropdown {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    left: 0 !important;
    bottom: auto !important;
    right: auto !important;
    width: 280px !important;
    z-index: 10001 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-8px) !important;
}

.contact-modal-body .country-selector.open .country-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

@media (max-width: 768px) {
    .contact-modal-body .country-dropdown {
        position: absolute !important;
        top: calc(100% + 4px) !important;
        bottom: auto !important;
        left: 0 !important;
        right: auto !important;
        width: 280px !important;
        max-height: 200px !important;
        border-radius: var(--radius) !important;
        transform: translateY(-8px) !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .contact-modal-body .country-selector.open .country-dropdown {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .contact-modal-body .country-dropdown::before {
        display: none !important;
    }

    .contact-modal-body .country-list {
        max-height: 150px !important;
    }
}

.contact-modal-body .form-group:last-of-type {
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-item.bento-large,
    .bento-item.bento-wide {
        grid-column: span 2;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

    .payg-features .price-features {
        grid-template-columns: 1fr;
    }

    .payg-card {
        padding: 24px;
    }

    .addon-item {
        flex-wrap: wrap;
        gap: 4px;
    }

    .addon-note {
        width: 100%;
        margin-left: 0;
        margin-top: 4px;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        gap: 0;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-links.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: -webkit-fill-available;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 999;
        overflow: hidden;
    }

    .nav-links.active a {
        color: var(--white) !important;
        font-size: 1.25rem;
    }

    .navbar.scrolled .nav-links.active a {
        color: var(--white) !important;
    }

    .mobile-only {
        display: block !important;
    }

    .mobile-menu-btn {
        display: flex;
        margin-left: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .btn-text-mobile {
        display: inline;
    }

    .btn-text-desktop {
        display: none;
    }

    .trial-badge {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
        border: 1px solid rgba(16, 185, 129, 0.3);
        border-radius: var(--radius-xl);
        padding: 16px 20px;
        gap: 12px;
    }

    .trial-badge-icon {
        width: 40px;
        height: 40px;
        background: rgba(16, 185, 129, 0.25);
    }

    .trial-badge-icon svg {
        width: 22px;
        height: 22px;
    }

    .trial-badge-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .trial-badge-title {
        font-size: 1rem;
    }

    .trial-badge-sub {
        border-left: none;
        padding-left: 0;
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.6);
    }

    .pricing-trial-note {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
        border: 1px solid rgba(16, 185, 129, 0.25);
        border-radius: var(--radius-xl);
        padding: 16px 20px;
        gap: 12px;
    }

    .pricing-trial-icon {
        width: 40px;
        height: 40px;
        background: rgba(16, 185, 129, 0.25);
    }

    .pricing-trial-icon svg {
        width: 22px;
        height: 22px;
    }

    .pricing-trial-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .pricing-trial-title {
        font-size: 1rem;
    }

    .pricing-trial-sub {
        border-left: none;
        padding-left: 0;
        font-size: 0.8125rem;
        color: var(--gray-500);
    }

    .hero-metrics {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        display: none;
    }

    .logos-wrapper {
        flex-direction: column;
        gap: 24px;
    }

    .logos-track {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .bento-item.bento-large,
    .bento-item.bento-wide {
        grid-column: span 1;
    }

    .process-line {
        display: none;
    }

    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-form .form-row {
        flex-direction: column;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
}
