/* --------------------------------------------------
 * 1. Global Reset & Theme Tokens
 * -------------------------------------------------- */
:root {
    --primary: #4F46E5;
    --primary-light: #6366F1;
    --primary-dark: #3730A3;
    --secondary: #8B5CF6;
    --accent: #EC4899;
    
    --bg-main: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-glow: #EEF2FF;
    
    --text-primary: #0F172A;
    --text-muted: #475569;
    --text-light: #94A3B8;
    
    --border-color: #E2E8F0;
    --border-glowing: rgba(99, 102, 241, 0.4);
    
    --font-header: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* --------------------------------------------------
 * 2. Background Grid & Glowing Blobs
 * -------------------------------------------------- */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
    pointer-events: none;
    z-index: 1;
}

.glow-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
}

.glow-1 {
    top: -150px;
    left: -100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.1) 60%, transparent 100%);
}

.glow-2 {
    bottom: -150px;
    right: -100px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, rgba(99, 102, 241, 0.1) 60%, transparent 100%);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------
 * 3. Header Styling
 * -------------------------------------------------- */
.header {
    width: 100%;
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px fill rgba(226, 232, 240, 0.5);
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: var(--transition-fast);
}

.logo-group:hover .logo-icon-wrapper {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-header);
    font-size: 22px;
    font-weight: 800;
    color: #1E293B;
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Hamburger toggle — hidden on desktop */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: transparent;
    z-index: 200;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-link {
    font-family: var(--font-header);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.nav-link-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    background: var(--bg-alt);
    transition: var(--transition-fast);
}

.nav-link-back:hover {
    color: var(--primary);
    border-color: rgba(99, 102, 241, 0.3);
    background: var(--bg-glow);
}

.nav-link-back i {
    font-size: 11px;
}

.nav-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #10B981;
    color: #FFFFFF;
    font-family: var(--font-header);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 9999px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.nav-link-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

/* --------------------------------------------------
 * 4. Hero Section Layout
 * -------------------------------------------------- */
.main-content {
    padding: 80px 0;
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* Hero Left Content */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.trial-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-glow);
    color: var(--primary);
    font-family: var(--font-header);
    font-weight: 600;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.8s infinite;
}

.hero-title {
    font-family: var(--font-header);
    font-size: 52px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Value Props */
.value-props {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-glow);
    border-radius: 12px;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.value-body h3 {
    font-family: var(--font-header);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.value-body p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Trust Group */
.trust-badge-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    background-size: cover;
    background-position: center;
    margin-left: -8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.avatar:first-child {
    margin-left: 0;
}

.trust-text {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.3;
}

.trust-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.trust-text span {
    color: var(--text-muted);
}

/* --------------------------------------------------
 * 5. Workspace Card Styling (The Hub)
 * -------------------------------------------------- */
.hero-right {
    display: flex;
    justify-content: center;
}

.workspace-card {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 20px 40px -4px rgba(99, 102, 241, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.workspace-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary), var(--accent));
}

.workspace-card:hover {
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 24px 48px -4px rgba(99, 102, 241, 0.12);
    border-color: var(--border-glowing);
}

/* Card Header & Toggle Switch */
.card-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    gap: 16px;
}

.card-title {
    font-family: var(--font-header);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}


/* Interactive Form & Inputs */
.interactive-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.input-group label {
    font-family: var(--font-header);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-light);
    font-size: 14px;
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    background: #FFFFFF;
    outline: none;
    transition: var(--transition-fast);
}

/* WhatsApp prefix spec styling */
.country-prefix {
    position: absolute;
    left: 14px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    pointer-events: none;
}

.input-wrapper input#whatsappNum {
    padding-left: 48px;
}

.input-wrapper input::placeholder {
    color: var(--text-light);
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: #FFFFFF;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 14px;
    font-size: 11px;
    color: var(--text-light);
    pointer-events: none;
}

.input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px;
    cursor: pointer;
}

.input-help {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

.form-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 14px;
    height: 14px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

/* Button & Animation Shines */
.btn-launch-workspace {
    position: relative;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border: none;
    outline: none;
    padding: 14px;
    border-radius: 14px;
    color: #FFFFFF;
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.btn-launch-workspace:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.45);
}

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

.form-back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-body);
    transition: var(--transition-fast);
    margin-top: -4px;
}

.form-back-link:hover {
    color: var(--primary);
}

.form-back-link i {
    font-size: 10px;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 3.5s infinite;
}

/* Hidden Utility State */
.hidden {
    display: none !important;
}


/* --------------------------------------------------
 * 7. Active Launcher Loader Container
 * -------------------------------------------------- */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
}

.loader-circle-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring__circle {
    stroke-dasharray: 326.7;
    stroke-dashoffset: 326.7;
    transition: stroke-dashoffset 0.1s linear;
    stroke-linecap: round;
}

.progress-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-header);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.loader-title {
    font-family: var(--font-header);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.loader-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.loader-steps {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.step-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #FFFFFF;
    font-size: 9px;
    transition: var(--transition-smooth);
}

.step-item.active {
    color: var(--text-primary);
}

.step-item.active .step-check {
    background: var(--primary-light);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.step-item.done {
    color: #10B981;
}

.step-item.done .step-check {
    background: #10B981;
}

/* --------------------------------------------------
 * 8. Success Portal View
 * -------------------------------------------------- */
.success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    animation: scale-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon-badge {
    font-size: 52px;
    color: #10B981;
    margin-bottom: 16px;
    animation: bounce 1s infinite alternate;
}

.success-title {
    font-family: var(--font-header);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.success-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.success-desc strong {
    color: var(--primary);
}

/* Live Dashboard Preview Mockup */
.dashboard-preview-card {
    width: 100%;
    background: #0F172A;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    margin-bottom: 24px;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #1E293B;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.preview-title {
    font-family: var(--font-header);
    font-size: 11px;
    color: #94A3B8;
    font-weight: 600;
}

.preview-badge {
    font-family: var(--font-header);
    font-size: 10px;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.2);
    color: #34D399;
    padding: 2px 8px;
    border-radius: 4px;
}

.preview-img-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #0B0F19;
}

.dashboard-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    transition: var(--transition-smooth);
}

/* Glass Floating Overlay Data Card */
.overlay-glass-data {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.glass-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.glass-metric .label {
    font-size: 9px;
    color: #94A3B8;
    text-transform: uppercase;
    font-weight: 600;
}

.glass-metric .value {
    font-family: var(--font-header);
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
}

.glass-metric .value.active {
    color: #34D399;
}

.glass-metric .value.countdown {
    font-family: monospace;
    color: #F43F5E;
}

/* Copy Link */
.trial-link-box {
    width: 100%;
    text-align: left;
    margin-bottom: 24px;
}

.trial-link-box label {
    font-family: var(--font-header);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: block;
}

.copy-input-row {
    display: flex;
    gap: 8px;
}

.copy-input-row input {
    flex: 1;
    background: var(--bg-alt);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-muted);
    font-family: monospace;
    outline: none;
}

.btn-copy {
    background: #0F172A;
    color: #FFFFFF;
    border: none;
    outline: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-family: var(--font-header);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-copy:hover {
    background: #334155;
}

/* Success Actions buttons */
.success-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-whatsapp-success {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: #10B981;
    color: #FFFFFF;
    border: none;
    outline: none;
    border-radius: 12px;
    padding: 14px;
    font-family: var(--font-header);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transition: var(--transition-smooth);
}

.btn-whatsapp-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.btn-reset-workspace {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px;
    border-radius: 10px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-reset-workspace:hover {
    background: var(--bg-alt);
    color: var(--text-primary);
}

/* --------------------------------------------------
 * 9. Features Section Showcase
 * -------------------------------------------------- */
.features-section {
    padding: 100px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-family: var(--font-header);
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
}

.feat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-glow);
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-header);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --------------------------------------------------
 * 10. Footer Area Styles
 * -------------------------------------------------- */
.footer {
    padding: 60px 0;
    background: #FFFFFF;
}

.footer-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 360px;
}

.footer-left p {
    font-size: 13px;
    color: var(--text-muted);
}

.copyright {
    font-size: 12px;
    color: var(--text-light);
}

.footer-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    background: var(--bg-glow);
    color: var(--primary);
    font-family: var(--font-header);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 9999px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-back-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-self: end;
    text-align: right;
}

.footer-right h4 {
    font-family: var(--font-header);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-right p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-right p i {
    margin-right: 6px;
    color: var(--primary-light);
}

/* --------------------------------------------------
 * 11. CSS Keyframe Animations
 * -------------------------------------------------- */
@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(79, 70, 229, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

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

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* Standard slide / fade transitions */
.animate-fade-in {
    opacity: 0;
    animation: fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up-left {
    opacity: 0;
    transform: translateY(30px);
    animation: slide-up-left 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up-right {
    opacity: 0;
    transform: translateY(30px);
    animation: slide-up-right 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

@keyframes slide-up-left {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up-right {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-up {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==============================================
 * RESPONSIVE — TABLET (max 968px)
 * ============================================== */
@media (max-width: 968px) {
    /* Nav */
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: fixed;
        top: 0;
        right: 0;
        width: 80vw;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-color);
        padding: 90px 28px 40px;
        z-index: 150;
        box-shadow: -8px 0 40px rgba(0,0,0,0.08);
        transition: var(--transition-smooth);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        font-size: 17px;
        padding: 16px 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link-btn {
        margin-top: 20px;
        width: 100%;
        justify-content: center;
        font-size: 15px;
        padding: 14px 20px;
    }

    /* Hero */
    .main-content {
        padding: 60px 0;
        min-height: auto;
        align-items: flex-start;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left {
        text-align: center;
        align-items: center;
    }

    .trial-badge {
        align-self: center;
    }

    .hero-title {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .trust-badge-group {
        justify-content: center;
    }

    /* Features */
    .features-section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer */
    .footer-grid-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-left {
        max-width: 100%;
        align-items: center;
    }

    .footer-right {
        text-align: center;
        align-self: center;
    }
}

/* ==============================================
 * RESPONSIVE — MOBILE (max 600px)
 * ============================================== */
@media (max-width: 600px) {
    /* Container padding */
    .container {
        padding: 0 16px;
    }

    /* Header */
    .header {
        padding: 14px 0;
    }

    /* Hero */
    .main-content {
        padding: 40px 0 50px;
    }

    .hero-title {
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .value-props {
        margin-top: 0;
    }

    /* Workspace Card */
    .workspace-card {
        padding: 22px 16px;
        border-radius: 18px;
        max-width: 100%;
    }

    .card-title {
        font-size: 18px;
    }

    /* Stack the 2-column input rows into 1 column */
    .input-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Bigger tap targets on inputs */
    .input-wrapper input,
    .input-wrapper select {
        padding: 14px 14px 14px 40px;
        font-size: 16px; /* prevents iOS zoom on focus */
        border-radius: 10px;
    }

    .input-wrapper input#whatsappNum {
        padding-left: 48px;
        font-size: 16px;
    }

    .btn-launch-workspace {
        padding: 16px;
        font-size: 16px;
        border-radius: 12px;
    }

    /* Card Header — stack toggle below title */
    .card-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }

    /* Glow blobs too large on mobile */
    .glow-blob {
        width: 300px;
        height: 300px;
        filter: blur(80px);
    }

    /* Features section */
    .features-section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2 {
        font-size: 24px;
        letter-spacing: -0.5px;
    }

    .section-header p {
        font-size: 14px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    /* Success container */
    .success-icon-badge {
        font-size: 40px;
    }

    .success-title {
        font-size: 20px;
    }

    .copy-input-row {
        flex-direction: column;
    }

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

    /* Footer */
    .footer {
        padding: 40px 0;
    }

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

    /* Loader */
    .loader-container {
        padding: 0;
    }

    /* Trust group */
    .trust-badge-group {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .trust-text {
        align-items: center;
    }
}
