/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Background Elements */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.03;
    z-index: -2;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

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

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 20px 0;
}

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

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

.logo-link {
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: translateY(-1px);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
}

.logo-accent {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #0f172a;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .header-actions .nav-link {
        display: none;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .header-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Main Content */
.main {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    padding: 80px 0;
}

/* Hero Section */
.hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    animation: float 3s ease-in-out infinite;
}

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

.badge-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Hero Form */
.hero-form {
    max-width: 500px; /* Adjusted max-width for better fit with new group style */
    margin: 0 auto;
}

/* Updated .form-group to specifically target .hero-form's instance */
.hero-form .form-group {
    display: flex;
    align-items: center; /* Vertically align items */
    gap: 10px; /* Space between input and button */
    background-color: #ffffff; /* White background for the group */
    padding: 6px 6px 6px 16px; /* Padding: top right bottom left - more padding on left for input */
    border-radius: 8px; /* Rounded corners for the group */
    border: 1px solid #d1d5db; /* Light grey border for the group */
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); /* Subtle shadow */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Add transition to the group */
    margin-bottom: 16px; /* Retain original margin-bottom */
}

/* Styles for the phone input, designed to be borderless within the group */
#phone-input {
    flex: 1;
    padding: 10px 0; /* Adjust vertical padding, horizontal handled by group */
    font-size: 1.125rem; /* Increased font size (18px if base is 16px) */
    color: #1f2937; /* Darker text color */
    background-color: transparent; /* Transparent to show group background */
    border: none; /* No individual border */
    border-radius: 0; /* No individual radius */
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    letter-spacing: 2px; /* Increased letter spacing for masked input */
    outline: none; /* Remove outline on input itself */
}

#phone-input::placeholder {
    color: #9ca3af; /* Slightly adjusted placeholder color */
    letter-spacing: normal; /* Reset letter-spacing for placeholder */
}

/* Focus style applied to the form-group when phone-input is focused */
.hero-form .form-group:focus-within {
    border-color: #2563eb; /* Example focus color, match your site's primary/focus color */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); /* Example focus shadow, match your site */
}

/* Styling for the consent checkbox and label */
.form-consent {
    margin-top: 16px; /* Increased margin for better spacing */
    display: flex;
    align-items: flex-start;
    font-size: 0.875rem;
    color: #6b7280;
}

.form-consent input[type="checkbox"] {
    margin-right: 8px;
    margin-top: 3px; /* Fine-tune vertical alignment */
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
}

.form-consent label {
    line-height: 1.5;
}

/* Ensure .email-input (if used elsewhere) retains its specific styles if not part of this group */
.email-input { /* This is the original .email-input style block, kept for other uses */
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 20px;
    font-size: 16px;
    background: transparent;
    color: #0f172a;
}

.email-input::placeholder { /* Original placeholder style for .email-input */
    color: #94a3b8;
}

.cta-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.form-note {
    font-size: 14px;
    color: #64748b;
    text-align: center;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.title-accent {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border: 1px solid #e2e8f0; /* Subtle base border */
    border-radius: 24px; /* Existing radius */
    padding: 40px 32px; /* Existing padding */
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); /* Softer base shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out; /* Refined transition */
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
    border-color: rgba(102, 126, 234, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px); /* Slightly less lift */
    box-shadow: 0 12px 30px rgba(0,0,0,0.1); /* Refined hover shadow */
    border-color: #a5b4fc; /* Lighter accent border on hover, adjust to your theme */
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-number {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
}
.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.feature-badge-small {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.feature-highlights {
    margin-bottom: 24px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #64748b;
}

.highlight-item svg {
    color: #667eea;
    flex-shrink: 0;
}

.highlight-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    color: #667eea;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0.1;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.feature-card:hover .icon-bg {
    opacity: 0.15;
    transform: scale(1.05) rotate(5deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px; /* Reduced margin from 16px to 8px */
    color: #0f172a;
    line-height: 1.3;
    min-height: 3.9rem; /* Ensures space for two lines (1.5rem * 1.3 * 2) */
}

.feature-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 4px; /* Further reduced margin from 8px to 4px */
    font-size: 15px;
}

.feature-stats {
    display: flex;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    padding: 40px 0; /* Reduced top padding from 100px to 40px */
}

.pricing-header {
    text-align: center;
    margin-bottom: 80px;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex; /* Added for flex layout */
    flex-direction: column; /* Stack items vertically */
    justify-content: space-between; /* Push button to bottom if space allows */
}

.pricing-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02));
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card.featured::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.pricing-plan {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1;
    white-space: nowrap; /* Prevent price from breaking into two lines */
}

.pricing-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.pricing-period {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
    flex-grow: 1; /* Allow feature list to take available space */
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #475569;
}

.pricing-features li:last-child {
    margin-bottom: 0;
}

.pricing-features .check-icon {
    color: #667eea;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.pricing-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.pricing-button.secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: none;
}

.pricing-button.secondary:hover {
    background: #667eea;
    color: white;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.pricing-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.pricing-footer-text {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 16px;
}

.pricing-footer-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.pricing-footer-link:hover {
    color: #764ba2;
}

/* About Section */
.about {
    padding: 100px 0;
    text-align: center;
}

.about-header {
    margin-bottom: 48px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #667eea;
    margin-bottom: 24px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 24px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    text-align: center;
    background: #f8fafc;
}

.contact-header {
    margin-bottom: 48px;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #667eea;
    margin-bottom: 24px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    text-align: center; /* Centers text within each grid item if item is wider than text */
    align-items: start; /* Aligns items to the start of their grid area (top edge) */
}

.contact-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.contact-item p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #764ba2;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 80px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-text {
    color: #64748b;
    font-size: 14px;
}

/* Additional Hover Effects */
.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Active navigation state */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Pricing Toggle Switch Styles - REBUILT */
.pricing-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 9px; /* REDUCED: from 12px to 9px to bring labels 3px closer to switch */
}

.toggle-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    user-select: none;
    position: relative; /* Establish stacking context */
    z-index: 1;         /* Labels below switch */
    flex-shrink: 0;     /* Prevent labels from shrinking */
}

.toggle-label.active {
    color: #0f172a;
    font-weight: 600;
}

/* REFINED REBUILT TOGGLE SWITCH STYLES */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    vertical-align: middle;
    flex-shrink: 0; /* Prevent switch from shrinking */
    overflow: hidden; /* Re-add to contain ball, assuming track visibility is fixed */
    z-index: 5;       /* Switch above labels */
}

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

.slider { /* This is the track */
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: background-color .3s ease-in-out;
    border-radius: 28px;
    box-sizing: border-box;
    z-index: 1; /* Track within switch's stacking context */
}

.slider:before { /* This is the ball */
    position: absolute;
    content: "";
    height: 22px; /* Ball diameter */
    width: 22px;  /* Ball diameter */
    left: 3px;    /* Initial position: 3px padding from left */
    bottom: 3px;  /* Initial position: 3px padding from bottom */
    background-color: white;
    transition: transform .3s ease-in-out;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 1px 1px rgba(0,0,0,0.14);
    z-index: 2; /* Ball above track within switch */
}

input.billing-toggle:checked + .slider {
    background-color: #667eea; /* Active track color */
}

/* Optional: Add a more distinct focus style for accessibility */
input.billing-toggle:focus-visible + .slider {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

input.billing-toggle:checked + .slider:before {
    /* Travel distance: TrackWidth - BallWidth - LeftPadding - RightPadding */
    /* 50px - 22px - 3px - 3px = 22px. Reduced by 2px per feedback. */
    transform: translateX(20px);
}

.savings-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #34d399; /* A green color for savings, adjust if needed */
    background-color: rgba(52, 211, 153, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .main {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .form-group {
        flex-direction: column;
        align-items: center; /* Center stacked items (phone input and button) */
        gap: 0;
    }
    
    .cta-button {
        border-radius: 0 0 12px 12px;
        justify-content: center;
    }
    
    .features {
        padding: 80px 0;
    }
    
    .features-header {
        margin-bottom: 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature-card {
        padding: 32px 24px;
        text-align: center;
    }
    
    .feature-number {
        position: static;
        margin: 0 auto 16px auto;
    }
    
    .feature-stats {
        justify-content: center;
        gap: 32px;
    }
    
    .stat {
        align-items: center;
        text-align: center;
    }
    
    .feature-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .feature-badge-small {
        align-self: flex-start;
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .feature-number {
        position: static;
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-bottom: 0;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .feature-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .feature-highlights {
        margin-bottom: 20px;
    }
    
    .highlight-item {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .highlight-item svg {
        width: 14px;
        height: 14px;
    }
    
    .feature-stats {
        gap: 16px;
        padding-top: 16px;
    }
    
    .stat-number {
        font-size: 1.125rem;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    /* Pricing responsive styles */
    .pricing {
        padding: 80px 0;
    }
    
    .pricing-header {
        margin-bottom: 60px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pricing-card.featured {
        transform: none;
        order: 0; /* Reset order for mobile to follow source order */
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    .pricing-footer {
        margin-top: 40px;
        padding-top: 32px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        order: 2;
    }
    
    .footer-text {
        order: 1;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 13px;
        padding: 6px 16px;
    }
    
    .features-badge {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .email-input {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .cta-button {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-icon {
        width: 64px;
        height: 64px;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .feature-description {
        font-size: 14px;
    }
    
    .feature-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 1.125rem;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    /* About Section Mobile */
    .about {
        padding: 60px 20px;
    }
    
    .about-content {
        padding: 0 20px;
    }
    
    .about-content p {
        font-size: 16px;
    }
    
    /* Contact Section Mobile */
    .contact {
        padding: 60px 20px;
    }
    
    .contact-info {
        gap: 32px;
    }
    
    .contact-item h3 {
        font-size: 18px;
    }
    
    .contact-item p {
        font-size: 14px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-badge {
        animation: none;
    }
}

/* Focus States */
.email-input:focus,
.cta-button:focus,
.footer-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero-subtitle,
    .section-subtitle,
    .feature-description {
        color: #475569;
    }
    
    .form-note,
    .footer-text {
        color: #64748b;
    }
}
/* Legal Pages Content Styling */
.legal-content {
    padding: 40px 0; /* Add some padding around the legal text */
    color: #333; /* Default text color, can be more specific if needed */
}

.legal-content h1 {
    font-size: 2.5rem; /* Match section-title */
    font-weight: 700;
    color: #0f172a; /* Dark primary text color */
    margin-bottom: 24px; /* Space below main title */
    line-height: 1.2;
    text-align: center; /* Center the main title */
}

.legal-content h2 {
    font-size: 1.75rem; /* Slightly smaller than h1 */
    font-weight: 600;
    color: #1e293b; /* Slightly lighter dark color */
    margin-top: 32px; /* Space above subheadings */
    margin-bottom: 16px; /* Space below subheadings */
    line-height: 1.3;
}

.legal-content p {
    font-size: 1rem; /* Standard paragraph size */
    line-height: 1.7; /* Slightly more line height for readability */
    color: #475569; /* Softer text color */
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 16px;
    padding-left: 24px; /* Standard indentation for lists */
}

.legal-content li {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 8px; /* Space between list items */
}

.legal-content a {
    color: #667eea; /* Primary accent color for links */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: #764ba2; /* Darker accent on hover */
    text-decoration: underline;
}

.legal-content strong {
    font-weight: 600;
    color: #0f172a;
}

.legal-content hr {
    border: 0;
    height: 1px;
    background: #e2e8f0; /* Light separator line */
    margin: 32px 0;
}

/* Ensure main content area has enough padding on legal pages */
.main .container > .legal-content {
    padding-top: 60px;
    padding-bottom: 60px;
}
/* ============================================= */
/* About Section Styles                          */
/* ============================================= */
.about {
    padding: 80px 0;
    background-color: #f9fafb; /* Slightly off-white for subtle separation */
    text-align: center; 
}

.about-header {
    margin-bottom: 40px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(102, 126, 234, 0.1); /* Matches .features-badge background */
    color: #667eea; /* Matches .features-badge text color */
    padding: 8px 16px;
    border-radius: 20px; /* Consistent with other badges */
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2); /* Matches .features-badge border */
}

.about-badge .badge-dot { /* Reusing .badge-dot style from .features-badge */
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite; /* Re-use existing pulse animation */
}

.about-content {
    max-width: 700px; 
    margin: 0 auto; 
    text-align: left; 
    line-height: 1.7; 
    color: #64748b; /* Matches .hero-subtitle and .section-subtitle color */
}

.about-content p {
    margin-bottom: 20px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ============================================= */
/* Contact Section Styles                        */
/* ============================================= */
.contact {
    padding: 80px 0;
    background-color: #ffffff; /* White background */
    text-align: center;
}

.contact-header {
    margin-bottom: 50px;
}

.contact-badge { /* Style similarly to .about-badge */
    display: inline-flex;
    align-items: center;
    background-color: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.contact-badge .badge-dot { /* Reusing .badge-dot style */
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.contact-content {
    max-width: 900px; 
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-wrap: wrap; 
    gap: 30px; 
    justify-content: center; 
}

.contact-item {
    background-color: #ffffff; /* White background for the card */
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: left; /* Ensure text inside card is left-aligned */
    border: 2px solid transparent; /* Reserve space for border */
    transition: border-color 0.3s ease; /* Transition for border color */
    margin-bottom: 20px; /* Add some space between cards if they stack */
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item:hover {
    /* Subtle hover effect without excessive expansion */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-item h3 {
    font-size: 1.25rem; 
    color: #0f172a; /* Main body text color */
    margin-bottom: 12px;
    font-weight: 600; /* Slightly bolder */
}

.contact-item p {
    font-size: 1rem;
    color: #64748b; /* Subtitle text color */
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-item a {
    color: #667eea; /* Primary interactive color */
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}
/* Footer Location Text Style */
.footer-location-text {
    font-size: 0.875rem; /* 14px */
    color: #64748b; /* Same as .footer-text */
    text-align: center; /* Center align if on its own line */
    margin-top: 8px; /* Add some space above it */
}
/* Hero Form Trust Signal */
.form-trust-signal {
    font-size: 0.8rem;
    color: #64748b; /* Matching .form-note and .hero-subtitle */
    text-align: center;
    margin-top: 12px; /* Adjusted margin for a bit more space */
}
/* Features Section Footer CTA */
.features-footer-cta {
    text-align: center;
    margin-top: 40px; /* Space above the CTA */
}

.features-footer-cta .text-link {
    font-size: 1.1rem;
    color: #667eea; /* Primary accent color */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.features-footer-cta .text-link:hover {
    color: #5a67d8; /* Darker shade on hover */
    text-decoration: underline;
}
/* Pricing FAQ Section */
.pricing-faq {
    margin-top: 40px;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    background-color: #f9fafb; /* Light background for the FAQ container */
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.faq-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: #0f172a;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 5px; /* Space between Q and A */
}

.faq-item p strong {
    color: #0f172a; /* Darker color for the "Q:" part */
}
/* Contact Section Icons */
.contact-item-header {
    display: flex;
    align-items: center; /* Vertically align icon and text */
    margin-bottom: 8px; /* Space between header and paragraph */
}

.contact-icon {
    margin-right: 12px; /* Space between icon and h3 */
    color: #667eea; /* Icon color, same as primary accent */
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.contact-item h3 {
    margin-bottom: 0; /* Remove default h3 margin if any, as spacing is handled by .contact-item-header */
}
/* Features Section Secondary CTA */
.features-footer-cta {
    text-align: center;
    margin-top: 40px; 
}

.features-footer-cta .text-link {
    font-size: 1.1rem;
    color: #667eea; 
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.features-footer-cta .text-link:hover {
    color: #5a67d8; 
    text-decoration: underline;
}
/* Meet the Founders Section Styles */
.founders-section {
    padding: 80px 0;
    background-color: #f8fafc; /* Light grey background, adjust as needed */
}

.founders-section .section-header {
    margin-bottom: 60px;
    text-align: center; /* ADDED: Ensure header content is centered */
}

.founders-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Image column, Text column (adjust ratio as needed) */
    gap: 40px;
    align-items: center;
}

.founder-image-container {
    text-align: center; /* Center image if it's smaller than container */
}

.founders-photo {
    max-width: 100%;
    height: auto;
    border-radius: 16px; /* Soft rounded corners */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); /* Subtle shadow */
    object-fit: cover; /* Ensures image covers the area without distortion */
}

.founder-text-container .founders-message {
    font-size: 1.1rem; /* Slightly larger than standard body text */
    line-height: 1.7;
    color: #334155; /* Slate-700 */
    margin-bottom: 24px;
}

.founder-text-container .founders-signature {
    font-size: 1rem;
    font-style: italic;
    color: #475569; /* Slate-600 */
}

/* Responsive adjustments for founders section */
@media (max-width: 768px) {
    .founders-content-grid {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        gap: 30px;
    }

    .founder-image-container {
        margin-bottom: 20px; /* Add some space below image when stacked */
        order: -1; /* Optional: Move image above text on mobile */
    }

    .founder-text-container .founders-message {
        font-size: 1rem;
    }
    .founders-section .section-header {
        margin-bottom: 40px;
    }
}

/* Ensure page-section class provides consistent vertical padding if used elsewhere */
/* This might already exist or can be consolidated if you have a similar utility class */
.page-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .page-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}