/* ==========================================================================
   HEIMAKIRKJAN SIGN-UP HELPER - DESIGN SYSTEM & STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Theme Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Colors - HSL warm comforting palette */
    --cream: hsl(36, 40%, 97%);
    --cream-dark: hsl(36, 35%, 93%);
    --charcoal: hsl(24, 20%, 15%);
    --charcoal-light: hsl(24, 15%, 28%);
    --charcoal-bg: hsl(24, 15%, 12%);
    --terracotta: hsl(24, 60%, 45%);
    --terracotta-hover: hsl(24, 65%, 40%);
    --terracotta-light: hsl(24, 60%, 95%);
    --gold: hsl(45, 90%, 55%);
    --gold-hover: hsl(45, 95%, 48%);
    --gold-light: hsl(45, 90%, 95%);
    --sage: hsl(140, 25%, 45%);
    --sage-light: hsl(140, 30%, 94%);
    --white: hsl(0, 0%, 100%);
    --gray-light: hsl(0, 0%, 97%);
    --gray-border: rgba(24, 20, 15, 0.08);
    
    /* Glassmorphism panels */
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-blur: blur(12px);
    
    /* Shadows - premium soft elevations with warm undertones */
    --shadow-sm: 0 4px 6px -1px rgba(24, 20, 15, 0.02), 0 2px 4px -1px rgba(24, 20, 15, 0.02);
    --shadow-md: 0 10px 20px -3px rgba(24, 20, 15, 0.05), 0 4px 8px -2px rgba(24, 20, 15, 0.02);
    --shadow-lg: 0 20px 30px -5px rgba(24, 20, 15, 0.08), 0 10px 15px -5px rgba(24, 20, 15, 0.04);
    --shadow-xl: 0 30px 60px -15px rgba(24, 20, 15, 0.12);
    --shadow-gold: 0 10px 30px -5px rgba(229, 163, 25, 0.2);
    --shadow-terracotta: 0 10px 30px -5px rgba(184, 82, 31, 0.2);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Fonts */
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Spacing & Layout */
    --container-max: 1120px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Custom Selection styling */
::selection {
    background-color: var(--gold-light);
    color: var(--terracotta);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Scroll progress indicator */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--terracotta) 0%, var(--gold) 100%);
    z-index: 1001;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Hide helper class */
.id-hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   3. Buttons & Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--charcoal);
    font-weight: 700;
}

a {
    color: var(--terracotta);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--terracotta-hover);
}

/* Core Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    gap: 8px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--terracotta) 0%, hsl(24, 60%, 50%) 100%);
    color: var(--white);
    box-shadow: var(--shadow-terracotta);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(184, 82, 31, 0.35);
    color: var(--white);
}

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

.btn-secondary {
    background-color: var(--white);
    color: var(--charcoal);
    border-color: var(--gray-border);
    box-shadow: var(--shadow-sm);
}

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

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

.btn-text {
    background: transparent;
    color: var(--charcoal-light);
    border: none;
}

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

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--border-radius-md);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-arrow {
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* Pulsating Animation for primary CTA */
@keyframes heartbeat {
    0% {
        box-shadow: 0 0 0 0 rgba(184, 82, 31, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(184, 82, 31, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(184, 82, 31, 0);
    }
}

.pulse-animation {
    animation: heartbeat 2.5s infinite;
}

/* --------------------------------------------------------------------------
   4. Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    height: 70px;
    background-color: rgba(253, 251, 247, 0.9);
    box-shadow: var(--shadow-sm);
}

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

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

.logo-icon {
    width: 44px;
    height: 44px;
    transition: var(--transition-smooth);
}

.logo-link:hover .logo-icon {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
}

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

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.lang-icon {
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 160px 0 80px 0;
    overflow: hidden;
}

/* Floating background glow shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    top: -10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background-color: var(--gold-light);
}

.shape-2 {
    bottom: 10%;
    left: -10%;
    width: 350px;
    height: 350px;
    background-color: var(--terracotta-light);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background-color: var(--terracotta-light);
    color: var(--terracotta);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    border: 1px solid rgba(184, 82, 31, 0.1);
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.title-welcome {
    display: block;
    font-weight: 400;
    font-size: 2.2rem;
    color: var(--charcoal-light);
}

.title-highlight {
    background: linear-gradient(120deg, var(--terracotta) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--charcoal-light);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

/* Notice Banner */
.important-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: var(--white);
    border-left: 4px solid var(--gold);
    padding: 16px;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    box-shadow: var(--shadow-md);
    max-width: 580px;
}

.notice-badge {
    background-color: var(--gold-light);
    color: var(--terracotta);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-top: 2px;
}

.notice-text {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    line-height: 1.5;
}

/* Decorative Hero visual card */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-card {
    background-color: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 32px;
    width: 100%;
    max-width: 380px;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.visual-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 40px 80px -20px rgba(24, 20, 15, 0.18);
}

.visual-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, var(--gold-light) 0%, rgba(253, 251, 247, 0) 70%);
    z-index: -1;
    opacity: 0.6;
}

.card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sparkle {
    position: absolute;
    font-size: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.sparkle-1 { top: -10px; left: 10px; animation-delay: 0s; }
.sparkle-2 { top: 40px; right: -15px; font-size: 2rem; animation-delay: 1.3s; }
.sparkle-3 { bottom: 50px; left: -10px; animation-delay: 0.7s; }

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

.visual-svg {
    width: 180px;
    height: 180px;
    margin-bottom: 24px;
}

.stats-mini {
    background-color: var(--terracotta-light);
    border: 1px dashed rgba(184, 82, 31, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stats-num {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--terracotta);
}

.stats-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--charcoal-light);
}

/* --------------------------------------------------------------------------
   6. Key Assurances / Benefits
   -------------------------------------------------------------------------- */
.benefits-section {
    padding: 80px 0;
    background-color: var(--cream-dark);
}

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

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

.section-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--charcoal-light);
}

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

.benefit-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(184, 82, 31, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.benefit-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.benefit-desc {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. Stepper Section
   -------------------------------------------------------------------------- */
.stepper-section {
    padding: 100px 0;
}

.stepper-progress-container {
    width: 100%;
    max-width: 720px;
    height: 8px;
    background-color: var(--cream-dark);
    border-radius: 10px;
    margin: 0 auto 56px auto;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(24, 20, 15, 0.05);
}

.stepper-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--terracotta) 0%, var(--gold) 100%);
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stepper-layout {
    max-width: 720px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step-card {
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Glowing Left edge for the current step */
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--terracotta);
    opacity: 0;
    transition: var(--transition-fast);
}

.step-card.active {
    border-color: rgba(184, 82, 31, 0.3);
    box-shadow: var(--shadow-md);
    transform: scale(1.01);
}

.step-card.active::before {
    opacity: 1;
}

.step-card.completed {
    border-color: rgba(140, 200, 140, 0.3);
}

.step-card.completed .step-number {
    background-color: var(--sage-light);
    color: var(--sage);
    border-color: var(--sage);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

/* Custom Checkbox elements */
.checkbox-container {
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: var(--white);
    border: 2px solid var(--gray-border);
    border-radius: 6px;
    transition: var(--transition-fast);
}

.checkbox-container:hover input ~ .custom-checkbox {
    border-color: var(--terracotta);
}

.checkbox-container input:checked ~ .custom-checkbox {
    background-color: var(--sage);
    border-color: var(--sage);
}

/* Checkmark check symbol inside checkbox */
.custom-checkbox:after {
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .custom-checkbox:after {
    display: block;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gray-light);
    border: 2px solid var(--gray-border);
    color: var(--charcoal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.step-title {
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--charcoal);
}

.step-card.completed .step-title {
    text-decoration: line-through;
    color: var(--charcoal-light);
    opacity: 0.7;
}

.step-body {
    padding-left: 80px; /* Aligns with step content beautifully */
}

.step-body p {
    color: var(--charcoal-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.btn-step-action {
    margin-top: 4px;
}

.visual-tip {
    background-color: var(--gold-light);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: hsl(24, 40%, 25%);
    line-height: 1.4;
    border: 1px solid rgba(229, 163, 25, 0.25);
}

.tip-icon {
    font-size: 1.1rem;
}

/* Celebration banner styling */
.celebration-banner {
    position: relative;
    background-color: var(--white);
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    margin-top: 56px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.banner-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--gold-light) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.4;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.banner-icon {
    font-size: 3rem;
}

.banner-content h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.banner-content p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    max-width: 520px;
    margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   8. FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-section {
    padding: 100px 0;
    background-color: var(--cream-dark);
}

.faq-accordion {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--gray-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(184, 82, 31, 0.15);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--charcoal);
    text-align: left;
    gap: 16px;
}

.faq-toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--terracotta);
    transition: var(--transition-fast);
}

.faq-item.open .faq-toggle-icon {
    transform: rotate(45deg);
}

/* Smooth Accordion Expanding */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 32px 28px 32px;
    font-size: 0.95rem;
    color: var(--charcoal-light);
    line-height: 1.6;
    border-top: 1px solid rgba(24, 20, 15, 0.03);
}

/* --------------------------------------------------------------------------
   9. Connection Welcome Form
   -------------------------------------------------------------------------- */
.welcome-form-section {
    padding: 100px 0;
}

.welcome-card {
    max-width: 820px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-border);
    position: relative;
    overflow: hidden;
    padding: 60px 48px;
}

.form-visual-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--terracotta) 0%, var(--gold) 100%);
}

.form-content {
    position: relative;
}

.form-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.form-subtitle {
    font-size: 1rem;
    color: var(--charcoal-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--charcoal-light);
}

.form-control {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 14px 20px;
    border-radius: var(--border-radius-sm);
    border: 1.5px solid var(--gray-border);
    background-color: var(--gray-light);
    color: var(--charcoal);
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    background-color: var(--white);
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(184, 82, 31, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    justify-content: center;
    border-radius: var(--border-radius-sm);
}

/* Form Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: fadeIn 0.4s ease-out forwards;
}

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

.success-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 440px;
}

.success-icon {
    font-size: 3.5rem;
    animation: pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

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

.success-content h3 {
    font-size: 1.75rem;
    color: var(--terracotta);
}

.success-content p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   10. Footer Section
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--charcoal-bg);
    color: var(--cream);
    padding: 80px 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding-bottom: 56px;
}

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

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(253, 251, 247, 0.65);
    max-width: 320px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-col-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: rgba(253, 251, 247, 0.7);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--gold);
    transform: translateX(4px);
    display: inline-block;
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(253, 251, 247, 0.7);
    line-height: 1.6;
}

.footer-text a {
    color: var(--gold);
}

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

.footer-bottom {
    border-top: 1px solid rgba(253, 251, 247, 0.08);
    padding: 32px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(253, 251, 247, 0.4);
}

.footer-security {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --------------------------------------------------------------------------
   11. Mobile Floating CTA & Scroll Confetti
   -------------------------------------------------------------------------- */
.mobile-floating-cta {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background-color: var(--white);
    border: 1px solid var(--gray-border);
    box-shadow: var(--shadow-xl);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    z-index: 999;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.floating-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.floating-cta-text {
    display: flex;
    flex-direction: column;
}

.floating-cta-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--charcoal);
}

.floating-cta-desc {
    font-size: 0.75rem;
    color: var(--charcoal-light);
}

/* Confetti particles canvas elements */
.confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1002;
    overflow: hidden;
}

.confetti-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    animation: fall 3.5s linear forwards;
}

@keyframes fall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(105vh) rotate(720deg);
        opacity: 0;
    }
}

/* ==========================================================================
   12. Responsive Media Queries
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. Tablets & Laptops (Max Width 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    h1, .hero-title {
        font-size: 2.6rem;
    }
    
    .title-welcome {
        font-size: 1.8rem;
    }
    
    .hero-container {
        gap: 32px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .welcome-card {
        padding: 48px 32px;
    }
}

/* --------------------------------------------------------------------------
   B. Small Tablets & Phablets (Max Width 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    html {
        font-size: 15px; /* Softer text scaling */
    }
    
    .container {
        padding: 0 20px;
    }
    
    .navbar {
        height: 70px;
    }
    
    .logo-title {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .nav-cta-btn {
        display: none; /* Rely on Floating Mobile CTA or Hero Button */
    }
    
    .hero-section {
        padding: 120px 0 60px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%; /* Full width buttons for mobile friendliness */
    }
    
    .important-notice {
        text-align: left;
    }
    
    .hero-visual {
        order: -1; /* Display decorative image on top on mobile */
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-card {
        padding: 24px 20px;
    }
    
    .step-header {
        gap: 12px;
    }
    
    .step-body {
        padding-left: 0; /* Full width align for readability on small screens */
        margin-top: 12px;
    }
    
    .faq-question {
        padding: 20px 24px;
    }
    
    .faq-answer-inner {
        padding: 0 24px 20px 24px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   C. Micro-screens & Small Phones (Max Width 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .badge {
        font-size: 0.75rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .title-welcome {
        font-size: 1.6rem;
    }
    
    .welcome-card {
        padding: 32px 20px;
    }
    
    .mobile-floating-cta {
        bottom: 16px;
        left: 16px;
        right: 16px;
        padding: 12px 16px;
    }
    
    .floating-cta-inner {
        gap: 8px;
    }
}
