/*
Theme Name:   Seamlesslife Theme
Theme URI:    https://megaone.geeaig.com/projects/seamlesslife
Description:  A custom high-performance child theme tailored for the Seamlesslife platform.
Author:       Megaone Webservices
Author URI:   https://megaone.geeaig.com
Template:     hello-elementor
Version:      1.0.4
Text Domain:  seamlesslife-theme
*/

/* 1. Import the Font (Required for standalone preview) */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

/* 2. YOUR ATTACHED THEME CODE STARTS HERE */

:root {
    /* --- THEME VARIABLES --- */
    --sl-primary: #CA0104; /* New Red */
    --sl-primary-hover: #990003; /* Darker Red */
    --sl-bg-dark: #000000; /* Pure Black */
    --sl-surface: #121212; /* Dark Surface */
    --sl-border: #333333;
    --sl-text-main: #ffffff;
    --sl-text-muted: #a3a3a3;
    --sl-font-display: 'EB Garamond', serif; /* New Font */
    --sl-font-body: 'EB Garamond', serif; /* New Font */

    /* --- ELEMENTOR GLOBAL VARIABLE MAPPING --- */
    /* This forces Elementor's global settings to inherit from our theme variables */
    --e-global-color-primary: var(--sl-primary);
    --e-global-color-secondary: var(--sl-text-main);
    --e-global-color-text: var(--sl-text-muted);
    --e-global-color-accent: var(--sl-primary);
    --e-global-typography-primary-font-family: var(--sl-font-display);
    --e-global-typography-secondary-font-family: var(--sl-font-display);
    --e-global-typography-text-font-family: var(--sl-font-body);
    --e-global-typography-accent-font-family: var(--sl-font-display);
}

/* --- LIGHT MODE OVERRIDES --- */
/* Applied via Customizer settings per section */
.sl-light-mode {
    --sl-bg-dark: #ffffff;        /* Switch to White */
    --sl-surface: #f8f9fa;        /* Light Grey Surface */
    --sl-border: #e5e7eb;         /* Light Grey Border */
    --sl-text-main: #111827;      /* Dark Text */
    --sl-text-muted: #4b5563;     /* Grey Muted Text */
    /* Primary Red remains #CA0104 as it works on white */
}

/* Invert buttons in light mode for better visibility */
.sl-light-mode .btn-outline {
    border-color: #CA0104;
    color: #CA0104;
}
.sl-light-mode .btn-outline:hover {
    background-color: #CA0104;
    color: white;
}

body {
    background-color: var(--sl-bg-dark);
    color: var(--sl-text-main);
    font-family: var(--sl-font-display);
    line-height: 1.5;
    margin: 0;
    overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 { 
    margin: 0; 
    font-weight: 700; 
    line-height: 1.2; 
    color: var(--sl-text-main);
    font-family: var(--sl-font-display) !important; /* Force override globally */
}
p { 
    margin: 0; 
    font-family: var(--sl-font-body) !important; /* Force override globally */
    color: var(--sl-text-muted); 
}
a { 
    text-decoration: none; 
    transition: 0.3s; 
    color: var(--sl-text-main);
    font-family: var(--sl-font-body) !important; /* Force override globally */
}
a:hover { color: var(--sl-primary); }

/* Layout Containers */
.sl-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sl-section {
    padding: 3rem 0;
    background-color: var(--sl-bg-dark); /* Ensure variable usage for switching */
    transition: background-color 0.3s ease, color 0.3s ease;
}

@media (min-width: 768px) {
    .sl-section { padding: 5rem 0; }
}

/* Material Icons Helper */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important; /* Protect icons from font override */
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
}

/* --- Hero Section --- */
.hero-wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
}
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--sl-text-main);
}
.hero-title span { color: var(--sl-primary); }

.hero-text {
    font-size: 1.25rem; /* Larger for Serif */
    color: var(--sl-text-muted);
    max-width: 500px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    padding: 0 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem; /* Slightly larger for Serif */
    cursor: pointer;
    font-family: var(--sl-font-display);
}
.btn-primary {
    background-color: var(--sl-primary);
    color: white;
}
.btn-primary:hover {
    background-color: var(--sl-primary-hover);
    box-shadow: 0 10px 15px -3px rgba(202, 1, 4, 0.2);
}
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--sl-border);
    color: var(--sl-text-main);
}
.btn-outline:hover { background-color: rgba(255,255,255,0.05); }

.hero-image-wrapper { flex: 1; width: 100%; }
.hero-img-card {
    position: relative;
    aspect-ratio: 4/3;
    width: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(202, 1, 4, 0.2), var(--sl-surface));
    border: 1px solid var(--sl-border);
    box-shadow: 0 25px 50px -12px rgba(202, 1, 4, 0.1);
}
.hero-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    mix-blend-mode: overlay;
    filter: grayscale(100%); /* B&W image for theme */
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--sl-bg-dark), transparent, transparent);
}
.hero-stat-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: var(--sl-surface); /* Use variable for switch */
    backdrop-filter: blur(12px);
    border: 1px solid var(--sl-border);
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
/* Stat text overrides */
.hero-stat-card p { color: var(--sl-text-main); }
.hero-stat-card p:last-child { color: var(--sl-text-muted); }

.stat-icon-box {
    background: rgba(202, 1, 4, 0.2);
    border-radius: 9999px;
    padding: 0.5rem;
    display: flex;
}
.stat-icon-box .material-symbols-outlined { color: var(--sl-primary); }

@media (min-width: 768px) {
    .hero-wrapper { flex-direction: row; align-items: center; }
    .hero-title { font-size: 4rem; }
}

/* --- Section Headers --- */
.section-header { margin-bottom: 2rem; }
.section-title { font-size: 2rem; color: var(--sl-text-main); margin-bottom: 0.5rem; }
.section-desc { color: var(--sl-text-muted); font-size: 1.15rem; }

/* --- Values Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.value-card {
    background-color: var(--sl-surface);
    border: 1px solid var(--sl-border);
    padding: 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: 0.3s;
}
.value-card:hover {
    border-color: rgba(202, 1, 4, 0.5);
    background-color: var(--sl-bg-dark); /* Slightly shift bg on hover */
}
.value-card .material-symbols-outlined {
    font-size: 2rem;
    color: var(--sl-primary);
    transition: 0.3s;
}
.value-card:hover .material-symbols-outlined { transform: scale(1.1); }
.value-title { color: var(--sl-text-main); font-weight: 700; font-size: 1.15rem; }

@media (min-width: 640px) {
    .values-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Mission Vision --- */
.mv-grid {
    display: grid;
    gap: 1.5rem;
}
.mv-card {
    background: linear-gradient(135deg, var(--sl-surface), var(--sl-bg-dark));
    border: 1px solid var(--sl-border);
    padding: 2.5rem;
    border-radius: 0.75rem;
}
.mv-icon {
    background: rgba(202, 1, 4, 0.1);
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: inline-flex;
    margin-bottom: 1rem;
}
.mv-icon span { color: var(--sl-primary); }
.mv-text { color: var(--sl-text-muted); line-height: 1.6; font-size: 1.15rem; }

@media (min-width: 768px) {
    .mv-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Offerings --- */
.offerings-grid {
    display: grid;
    gap: 1.5rem;
}
.offering-card {
    background-color: var(--sl-surface);
    border: 1px solid var(--sl-border);
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    position: relative;
    top: 0;
}
.offering-card:hover {
    top: -4px;
    border-color: rgba(202, 1, 4, 0.5);
}
.offering-bar { height: 0.5rem; width: 100%; }
.offering-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.offering-sub { font-size: 1rem; color: var(--sl-primary); margin-bottom: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.offering-desc { font-size: 1rem; color: var(--sl-text-muted); line-height: 1.6; margin-bottom: 1.5rem; flex: 1; }
.offering-btn {
    width: 100%;
    margin-top: auto;
    background: rgba(255,255,255,0.05);
    color: var(--sl-text-main);
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: var(--sl-font-display);
}
/* Invert offering button for light mode */
.sl-light-mode .offering-btn { background: rgba(0,0,0,0.05); }

.offering-btn:hover { background-color: var(--sl-primary); color: white; }

@media (min-width: 768px) {
    .offerings-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Portfolio Marquee --- */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    /* Mask image works by opacity, so it doesn't need to change for light/dark mode */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 40s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.portfolio-card-slide {
    width: 350px;
    flex-shrink: 0;
    white-space: normal;
    background-color: var(--sl-surface);
    border: 1px solid var(--sl-border);
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    display: block;
}
.portfolio-img-box { height: 12rem; width: 100%; overflow: hidden; }
.portfolio-bg {
    height: 100%; width: 100%;
    background-size: cover;
    background-position: center;
    transition: 0.5s;
    filter: grayscale(100%);
}
.portfolio-card-slide:hover .portfolio-bg { transform: scale(1.05); filter: grayscale(0%); }
.portfolio-content { padding: 1.5rem; }
.portfolio-cat {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sl-primary);
    margin-bottom: 0.25rem;
}
.portfolio-title { font-size: 1.25rem; color: var(--sl-text-main); transition: 0.3s; }
.portfolio-card-slide:hover .portfolio-title { color: var(--sl-primary); }
.portfolio-desc {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--sl-text-muted);
}

/* ==========================================================================
   ELEMENTOR INTEGRATION & OVERRIDES
   Ensures all Elementor pages/widgets inherit the Seamlesslife theme style.
   ========================================================================== */

/* 1. Global Backgrounds for Elementor containers */
/* Force transparent so body background (black/white) shows through */
.elementor-section, .elementor-column {
    background-color: transparent;
}

/* 2. Typography Enforcement (Headings) */
/* Targets all Elementor heading widgets AND any heading tag inside any Elementor widget */
/* Added 'body' prefix for higher specificity against Elementor's own styles */
body .elementor-widget-heading .elementor-heading-title,
body .elementor-element h1, 
body .elementor-element h2, 
body .elementor-element h3, 
body .elementor-element h4, 
body .elementor-element h5, 
body .elementor-element h6 {
    font-family: var(--sl-font-display) !important;
    color: var(--sl-text-main) !important;
}
/* Ensure links inside headings also inherit color/font */
body .elementor-widget-heading .elementor-heading-title a,
body .elementor-element h1 a, 
body .elementor-element h2 a, 
body .elementor-element h3 a, 
body .elementor-element h4 a, 
body .elementor-element h5 a, 
body .elementor-element h6 a {
    color: var(--sl-text-main) !important;
    font-family: inherit !important;
}

/* 3. Text Editor & Generic Text - The "Nuclear" Override */
/* Targets generic containers AND explicit elements to ensure manual settings are ignored. */
/* Using 'body' prefix + 'important' to override Elementor ID-based styles */

body .elementor-widget-text-editor,
body .elementor-widget-text-editor p,
body .elementor-widget-text-editor span,
body .elementor-widget-text-editor li,
body .elementor-widget-text-editor a,
body .elementor-widget-icon-list .elementor-icon-list-text,
body .elementor-widget-accordion .elementor-accordion-title,
body .elementor-widget-tabs .elementor-tab-title,
body .elementor-widget-testimonial .elementor-testimonial-content,
body .elementor-widget-testimonial .elementor-testimonial-name,
/* Catch-all for text inside Elementor, excluding icons from FontAwesome and Elementor itself */
body .elementor-element p,
body .elementor-element li,
body .elementor-element span:not([class*="elementor-icon"]):not([class*="fa-"]):not([class*="fab"]):not([class*="fas"]):not([class*="far"]):not([class*="eicon-"]):not(.material-symbols-outlined) {
    font-family: var(--sl-font-body) !important;
    color: var(--sl-text-muted); /* Muted by default for body text */
}

/* 4. Elementor Buttons */
body .elementor-button {
    font-family: var(--sl-font-display) !important;
    background-color: var(--sl-primary) !important;
    color: #ffffff !important;
    border-radius: 0.5rem !important;
    font-weight: 700 !important;
    transition: 0.3s !important;
}
body .elementor-button:hover {
    background-color: var(--sl-primary-hover) !important;
    box-shadow: 0 10px 15px -3px rgba(202, 1, 4, 0.2);
}

/* 5. Form Elements (Inputs/Textareas) */
/* Matches the Dark Surface aesthetic */
body .elementor-field-group .elementor-field-textual {
    background-color: var(--sl-surface) !important;
    border: 1px solid var(--sl-border) !important;
    color: var(--sl-text-main) !important;
    font-family: var(--sl-font-body) !important;
    border-radius: 0.5rem !important;
}
body .elementor-field-group .elementor-field-textual:focus {
    border-color: var(--sl-primary) !important;
    outline: none;
}
body .elementor-field-label {
    color: var(--sl-text-main) !important;
    font-family: var(--sl-font-display) !important;
}

/* 6. Dividers */
body .elementor-divider-separator {
    border-color: var(--sl-border) !important;
}

/* 7. Icons */
body .elementor-icon {
    color: var(--sl-primary) !important;
}
/* Icon Boxes */
body .elementor-widget-icon-box .elementor-icon-box-title {
    color: var(--sl-text-main) !important;
    font-family: var(--sl-font-display) !important;
}
body .elementor-widget-icon-box .elementor-icon-box-description {
    color: var(--sl-text-muted) !important;
    font-family: var(--sl-font-body) !important;
}

/* 8. Light Mode Specific Overrides for Elementor */
/* If the .sl-light-mode class is added to body or section */
.sl-light-mode .elementor-widget-heading .elementor-heading-title,
.sl-light-mode .elementor-widget-text-editor,
.sl-light-mode .elementor-widget-icon-box .elementor-icon-box-title,
.sl-light-mode .elementor-element h1,
.sl-light-mode .elementor-element h2,
.sl-light-mode .elementor-element h3,
.sl-light-mode .elementor-element h4,
.sl-light-mode .elementor-element h5,
.sl-light-mode .elementor-element h6 {
    color: #111827 !important; /* Dark text for light mode */
}
.sl-light-mode .elementor-widget-text-editor p,
.sl-light-mode .elementor-widget-icon-box .elementor-icon-box-description,
.sl-light-mode .elementor-element p,
.sl-light-mode .elementor-element li {
    color: #4b5563 !important; /* Muted text for light mode */
}
.sl-light-mode .elementor-field-group .elementor-field-textual {
    background-color: #f8f9fa !important;
    border-color: #e5e7eb !important;
    color: #111827 !important;
}

/* =================================================================
   STARTUP GROWTH OS LANDING PAGE STYLES
   (Appended to ensure the landing page functions correctly)
   ================================================================= */

/* --- HERO SECTION --- */
.growth-hero {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 6rem;
    overflow: hidden;
    text-align: center;
}

/* Red Blur Effect */
.bg-blur-effect {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background-color: rgba(202, 1, 4, 0.1);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 56rem; /* max-w-4xl */
    margin: 0 auto;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background-color: #111827; /* gray-900 */
    border: 1px solid #1f2937; /* gray-800 */
    color: #9ca3af; /* gray-400 */
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}
.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--sl-primary);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.hero-headline {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: white;
}
@media (min-width: 768px) {
    .hero-headline { font-size: 4.5rem; }
}
.gradient-text {
    background: linear-gradient(to right, var(--sl-primary), #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtext {
    font-size: 1.25rem;
    color: #9ca3af;
    line-height: 1.625;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    justify-content: center;
}
@media (min-width: 640px) {
    .hero-actions { flex-direction: row; }
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--sl-primary);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(127, 29, 29, 0.4);
    transition: background-color 0.2s;
}
.btn-primary-lg:hover {
    background-color: var(--sl-primary-hover);
}

.limit-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
}

/* --- PROBLEM SECTION --- */
.problem-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: rgba(17, 24, 39, 0.2); /* gray-900/20 */
    border-top: 1px solid #111827;
    border-bottom: 1px solid #111827;
}

.section-h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-align: center;
}
@media (min-width: 768px) {
    .section-h2 { font-size: 2.25rem; }
}

.comparison-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}
@media (min-width: 768px) {
    .comparison-grid { grid-template-columns: 1fr 1fr; }
}

.card-dark {
    background-color: #111827;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #1f2937;
}
.card-highlight {
    background-color: #1f2937;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(202, 1, 4, 0.3);
    position: relative;
    overflow: hidden;
}
.highlight-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 5rem;
    height: 5rem;
    background-color: rgba(202, 1, 4, 0.1);
    filter: blur(24px);
}

.card-label {
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.goal-badge {
    background-color: var(--sl-primary);
    font-size: 0.625rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    color: white;
}

.check-list-dark li {
    display: flex;
    gap: 0.75rem;
    color: #9ca3af;
    margin-bottom: 1rem;
    align-items: flex-start;
}
.check-list-light li {
    display: flex;
    gap: 0.75rem;
    color: white;
    margin-bottom: 1rem;
    align-items: flex-start;
}
.icon-x { color: rgba(239, 68, 68, 0.5); }
.icon-check { color: var(--sl-primary); }

/* --- GAIN SECTION --- */
.gain-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.gain-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .gain-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .gain-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-box {
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: #111827;
    border: 1px solid #1f2937;
    transition: border-color 0.3s;
}
.feature-box:hover {
    border-color: var(--sl-primary);
}
.feature-icon-wrapper {
    width: 3rem;
    height: 3rem;
    background-color: #1f2937;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s;
}
.feature-box:hover .feature-icon-wrapper {
    background-color: var(--sl-primary);
}
.feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--sl-primary);
    transition: color 0.3s;
}
.feature-box:hover .feature-icon { color: white; }

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}
.feature-desc {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.6;
}

/* --- COST SECTION --- */
.cost-section {
    padding: 5rem 1rem;
    background-color: rgba(202, 1, 4, 0.05);
    border-top: 1px solid rgba(202, 1, 4, 0.1);
    border-bottom: 1px solid rgba(202, 1, 4, 0.1);
    text-align: center;
}
.cost-box {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(202, 1, 4, 0.2);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 2rem;
}
.cost-highlight {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}
.cost-highlight span { color: var(--sl-primary); }

/* --- APPLICATION FORM SECTION --- */
.apply-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: white;
    color: #111827; /* Dark text on white bg */
}
.apply-header {
    text-center: center;
    margin-bottom: 3rem;
}
.apply-label {
    color: var(--sl-primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.apply-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #000;
    margin-top: 0.5rem;
}

.form-container {
    background-color: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 48rem; /* max-w-3xl */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) {
    .form-container { padding: 3rem; }
}

/* Form Steps Logic */
.step-panel {
    display: none;
    animation: fadeUp 0.4s ease-out;
}
.step-panel.active {
    display: block;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.welcome-icon-circle {
    width: 4rem;
    height: 4rem;
    background-color: rgba(202, 1, 4, 0.1);
    color: var(--sl-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.form-group { margin-bottom: 1rem; }
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.25rem;
}
.form-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    outline: none;
    transition: border-color 0.2s;
    font-size: 1rem;
    color: #111827;
}
.form-input:focus, .form-textarea:focus {
    border-color: var(--sl-primary);
    box-shadow: 0 0 0 1px var(--sl-primary);
}

.radio-group { display: flex; flex-direction: column; gap: 0.5rem; }
.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.radio-label:hover { background-color: #f9fafb; }
.radio-input {
    accent-color: var(--sl-primary);
}
.radio-text { font-size: 0.875rem; color: #374151; }

.btn-form-next {
    width: 100%;
    padding: 1rem;
    background-color: var(--sl-primary);
    color: white;
    font-weight: 700;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}
.btn-form-next:hover { background-color: var(--sl-primary-hover); }

.btn-form-back {
    padding: 0.75rem 1.5rem;
    border: 1px solid #d1d5db;
    background: white;
    color: #4b5563;
    font-weight: 700;
    border-radius: 0.25rem;
    cursor: pointer;
}
.btn-form-start {
    width: 100%;
    padding: 1rem;
    background-color: #000000;
    color: white;
    font-weight: 700;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
}
.btn-form-start:hover { background-color: #1f2937; }

.flex-gap-4 { display: flex; gap: 1rem; margin-top: 2rem; }
.flex-1 { flex: 1; }