/* Base Styles */
:root {
    --primary: #3b5998;
    --primary-light: #8b9dc3;
    --primary-dark: #2f477a;
    --accent: #f8b195;
    --light: #E9F0FB;
    --dark: #333;
    --gray: #888;
    --light-gray: #eee;
    --success: #4CAF50;
    --warning: #FFC107;
    --error: #F44336;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.3;
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button, .cta-button, .cta-button-small {
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: var(--transition);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 2rem;
}

/* Layout Styles */
header, main, footer {
    width: 100%;
}

section {
    padding: 4rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

section:nth-child(even) {
    background-color: var(--light);
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav a {
    font-weight: 500;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: bold;
    text-align: center;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.cta-button-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: bold;
}

.cta-button-small:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
    gap: 2rem;
    background-color: #fff;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: normal;
}

.social-proof {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    display: block;
}

.stat p {
    color: var(--gray);
}

/* Benefits Section */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* How It Works Section */
.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-light);
    z-index: -1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 180px;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
}

.step-icon {
    margin: 1rem 0;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.testimonial-image {
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-content h4 {
    color: var(--primary);
}

.testimonial-detail {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Support Section */
.support-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.support-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.support-icon {
    margin-bottom: 1rem;
}

.support-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* AI Chat Preview */
.chat-container {
    max-width: 600px;
    margin: 0 auto;
}

.chat-window {
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--primary);
    color: white;
}

.chat-title {
    font-weight: bold;
}

.chat-messages {
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    padding: 1rem;
    border-radius: var(--radius);
    max-width: 80%;
}

.chat-message.ai {
    background-color: var(--light);
    align-self: flex-start;
}

.chat-message.user {
    background-color: var(--primary-light);
    color: white;
    align-self: flex-end;
}

.chat-input {
    display: flex;
    border-top: 1px solid var(--light-gray);
    padding: 1rem;
}

.chat-input input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius) 0 0 var(--radius);
}

.chat-send-button {
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: white;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.chat-disclaimer {
    padding: 0.5rem;
    font-size: 0.8rem;
    text-align: center;
    color: var(--gray);
    background-color: var(--light);
}

/* Calculator Section */
.calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin: 0 auto;
    max-width: 900px;
}

.calculator-form {
    flex: 1;
    min-width: 300px;
}

.calculator-results {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.calculator-field {
    margin-bottom: 1.5rem;
}

.calculator-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.calculator-field select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
}

.result-card {
    background-color: var(--light);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
}

.result-card.total {
    grid-column: span 2;
    background-color: var(--primary-light);
    color: white;
}

.result-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.result-card.total .result-value {
    color: white;
    font-size: 2rem;
}

.calculator-note {
    grid-column: span 2;
    font-size: 0.8rem;
    color: var(--gray);
    text-align: center;
    margin-top: 1rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    min-width: 20px;
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    background-color: var(--light);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1rem;
    max-height: 500px;
}

.faq-item.active .vertical {
    display: none;
}

/* Waitlist Form Section */
.waitlist-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.waitlist-intro {
    flex: 1;
    min-width: 300px;
}

.waitlist-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.waitlist-stat {
    text-align: center;
}

.form-container {
    flex: 1;
    min-width: 350px;
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--light-gray);
    z-index: 0;
}

.progress-step {
    position: relative;
    z-index: 1;
    background-color: #fff;
    padding: 0 0.5rem;
    color: var(--gray);
}

.progress-step.active {
    color: var(--primary);
    font-weight: bold;
}

.progress-step.active::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-field input {
    width: auto;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.next-button, .submit-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: bold;
}

.back-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--light-gray);
    color: var(--dark);
    border-radius: var(--radius);
}

.text-link {
    color: var(--primary);
    text-decoration: underline;
}

.confirmation-message {
    text-align: center;
    padding: 2rem 0;
}

.confirmation-message svg {
    margin-bottom: 1rem;
}

.success-detail {
    margin: 1rem 0;
    padding: 1rem;
    background-color: var(--light);
    border-radius: var(--radius);
}

.share-options {
    margin-top: 2rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

.share-button.facebook {
    background-color: #3b5998;
    color: white;
}

.share-button.email {
    background-color: var(--light);
    color: var(--dark);
}

.share-button.copy {
    background-color: var(--light);
    color: var(--dark);
}

/* Trust Signals Section */
.trust-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.trust-logos, .trust-security {
    flex: 1;
    min-width: 300px;
}

.trust-logos h3, .trust-security h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.partner-logo {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.security-badge {
    text-align: center;
}

.security-badge p {
    margin-top: 0.5rem;
    font-weight: bold;
}

/* Footer Styles */
footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo p {
    margin-top: 1rem;
}

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

.footer-column {
    min-width: 150px;
    flex: 1;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: white;
    opacity: 0.8;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    nav ul {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    #hero {
        flex-direction: column;
        padding: 4rem 1rem;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .social-proof {
        justify-content: center;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step {
        width: 100%;
        max-width: 300px;
    }
    
    .calculator-container {
        flex-direction: column;
    }
    
    .calculator-results {
        grid-template-columns: 1fr;
    }
    
    .result-card.total {
        grid-column: span 1;
    }
    
    .calculator-note {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .benefit-card, .support-card {
        padding: 1.5rem;
    }
    
    .waitlist-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .back-button, .next-button, .submit-button {
        width: 100%;
    }
}

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

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    animation: slideUp 0.5s ease forwards;
}

.pulse {
    animation: pulse 2s infinite;
}