/* =========================================================================
   Eleviat - Premium Light Mode Aesthetic
   ========================================================================= */

   :root {
    --primary-blue: #0A6EBD;
    --primary-blue-hover: #075294;
    --accent-gold: #F59E0B;
    --accent-emerald: #10B981;
    --text-main: #0F172A;
    --text-muted: #475569;
    --bg-base: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-light: #F1F5F9;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================================
   Reset & Base Styles
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

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

/* =========================================================================
   Typography
   ========================================================================= */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; font-weight: 600; }
p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.small-text { font-size: 0.875rem; color: var(--text-muted); }

/* =========================================================================
   Abstract Background Shapes
   ========================================================================= */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.6;
    animation: drift 15s infinite alternate ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(10, 110, 189, 0.4), rgba(245, 158, 11, 0.1));
    top: -100px;
    left: -150px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(16, 185, 129, 0.2));
    top: 50%;
    right: -200px;
    animation-delay: -5s;
}

.shape-3 {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, rgba(10, 110, 189, 0.3), rgba(255, 255, 255, 0));
    bottom: -200px;
    left: 20%;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* =========================================================================
   Glassmorphism Utilities
   ========================================================================= */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 14px rgba(10, 110, 189, 0.3);
}

.btn-primary:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 110, 189, 0.4);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-main);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

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

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
}

/* =========================================================================
   Navigation
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: all var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.05em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 1.05rem;
}

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

/* =========================================================================
   Hero Section & Faux Mockup
   ========================================================================= */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10rem 2rem 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(10, 110, 189, 0.1);
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 500px;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* The Faux Scheduling Mockup */
.hero-visual {
    padding: 1.5rem;
    transform: rotate3d(1, -1, 0, 15deg) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-visual:hover {
    transform: rotate3d(0, 0, 0, 0deg) scale(1);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; }
.dots span:nth-child(1) { background: #FF5F56; }
.dots span:nth-child(2) { background: #FFBD2E; }
.dots span:nth-child(3) { background: #27C93F; }

.mockup-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.mockup-call-alert {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    margin-bottom: 1.5rem;
    animation: slideIn 0.8s ease-out 1s both;
}

@keyframes slideIn {
    0% { opacity: 0; transform: translateX(20px); }
    100% { opacity: 1; transform: translateX(0); }
}

.call-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-call-alert strong { display: block; font-size: 0.95rem; }
.mockup-call-alert span { font-size: 0.8rem; color: var(--text-muted); }

.status-pill {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
}
.status-pill.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
}

.mockup-calendar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calendar-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    align-items: stretch;
}

.calendar-item .time {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: right;
    padding-top: 0.5rem;
}

.calendar-item .appointment {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--radius-md);
    border-left: 3px solid #CBD5E1;
}

.calendar-item.active .appointment {
    background: var(--bg-white);
    border-left: 3px solid var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.appointment strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.appointment span { font-size: 0.8rem; color: var(--text-muted); }
.glass-accent { background: rgba(10, 110, 189, 0.05) !important; color: var(--primary-blue); }

/* =========================================================================
   Sections Core
   ========================================================================= */
.section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* =========================================================================
   Trust Bar
   ========================================================================= */
.trust-bar {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.trust-bar p { font-size: 0.9rem; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }

.logo-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.logo-marquee::before, .logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-base), transparent);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-base), transparent);
}

.logo-track {
    display: inline-flex;
    gap: 4rem;
    padding-right: 4rem; /* Match gap to ensure seamless loop */
    animation: marquee 20s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

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

.trust-logo { 
    font-family: var(--font-heading); 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: #94A3B8; 
    opacity: 0.6;
    filter: grayscale(100%);
    transition: opacity 0.3s;
}

.trust-logo:hover {
    opacity: 1;
}

/* =========================================================================
   Features Grid
   ========================================================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 2.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-blue { background: rgba(10, 110, 189, 0.1); color: var(--primary-blue); }
.icon-amber { background: rgba(245, 158, 11, 0.1); color: var(--accent-gold); }
.icon-emerald { background: rgba(16, 185, 129, 0.1); color: var(--accent-emerald); }

/* =========================================================================
   How It Works
   ========================================================================= */
.bg-light {
    position: relative;
}
.bg-light::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw; height: 100%;
    background: #FFFFFF;
    z-index: -1;
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 0; left: 35px;
    width: 2px; height: 100%;
    background: rgba(10, 110, 189, 0.1);
    z-index: 0;
}

.step {
    display: flex;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--bg-white);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(10,110,189,0.1);
    flex-shrink: 0;
}

.step-content h3 { font-size: 1.75rem; margin-bottom: 0.5rem; margin-top: 0.5rem; }

/* =========================================================================
   Calculator Section
   ========================================================================= */
.calculator-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    overflow: hidden;
}

.calc-inputs {
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: var(--bg-white);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.input-group label {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    transition: all var(--transition-fast);
    background: var(--bg-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(10, 110, 189, 0.1);
    background: var(--bg-white);
}

/* Toggle Switch Styles */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.toggle-text {
    font-weight: 500;
    color: var(--text-main);
    font-size: 1rem;
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #CBD5E1;
    transition: .3s;
    border-radius: 34px;
}

.toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.toggle-switch input:checked + .slider {
    background-color: var(--primary-blue);
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(22px);
}

.calc-results {
    padding: 3.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.calc-results h3 {
    color: white;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    opacity: 0.9;
}

.result-amount {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.calc-results p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =========================================================================
   Pricing Section
   ========================================================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--bg-white);
}

.pricing-card.popular {
    border: 2px solid var(--primary-blue);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(10, 110, 189, 0.3);
}

.pricing-header {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.75rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.pricing-header p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.pricing-metrics {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.metric .price {
    font-size: 2.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.1;
}

.metric .price.text-md {
    font-size: 1.5rem;
    padding: 0.375rem 0;
}

.metric .unit {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-full {
    width: 100%;
}

.pricing-features {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.pricing-features h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.pricing-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.4;
}

.check-icon {
    flex-shrink: 0;
    color: var(--primary-blue);
    margin-top: 2px;
}

/* =========================================================================
   Testimonials
   ========================================================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    padding: 3rem;
    position: relative;
}

.quote-mark {
    position: absolute;
    top: 1rem; right: 2rem;
    font-size: 6rem;
    font-family: serif;
    color: rgba(0,0,0,0.03);
    line-height: 1;
}

.quote {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 2rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-family: var(--font-heading);
}

.bg-blue { background: var(--primary-blue); }
.bg-amber { background: var(--accent-gold); }

.author-info strong { display: block; font-size: 1.05rem; }
.author-info span { font-size: 0.9rem; color: var(--text-muted); }

/* =========================================================================
   Final CTA
   ========================================================================= */
.cta-box {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.9));
    border: 1px solid rgba(10,110,189,0.1);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: var(--primary-blue);
    filter: blur(80px);
    opacity: 0.1;
    border-radius: 50%;
}

.cta-box h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.cta-box p { font-size: 1.25rem; max-width: 600px; margin: 0 auto 2.5rem; }
.cta-box .small-text { margin-top: 1rem; margin-bottom: 0; }

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
    background: var(--bg-white);
    padding: 5rem 2rem 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand { max-width: 350px; }
.footer-brand h3 { font-size: 2rem; color: var(--primary-blue); margin-bottom: 1rem; }

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-column { display: flex; flex-direction: column; gap: 1rem; }
.link-column h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.link-column a { color: var(--text-muted); }
.link-column a:hover { color: var(--primary-blue); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    color: var(--text-muted);
}

/* =========================================================================
   Animations & Responsive
   ========================================================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 8rem;
        text-align: center;
    }
    .hero-subtitle { margin: 1.5rem auto; }
    .hero-cta-group { justify-content: center; }
    .nav-links { display: none; }
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        transform: rotate3d(0,0,0,0) scale(1);
    }
    .steps-container::before { left: 30px; }
    .step { gap: 1.5rem; }
    .step-number { width: 60px; height: 60px; font-size: 1.25rem; }
    .calculator-container { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-5px); }
}

@media (max-width: 600px) {
    .testimonial-grid, .features-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; }
    .footer-links { flex-wrap: wrap; }
}
