:root {
    --primary: #E63946;
    --dark-blue: #1D3557;
    --light-blue: #457B9D;
    --teal: #A8DADC;
    --off-white: #F1FAEE;
    --text-dark: #232323;
    --text-light: #F1FAEE;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--light-blue) 100%);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fafafa;
    overflow-x: hidden;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-blue);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: #555;
}

.highlight {
    color: var(--primary);
}

/* Header & Navigation */
header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.logo-svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

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

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-blue);
    cursor: pointer;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Buttons */
.cta-button, .primary-button, .secondary-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

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

.primary-button {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.secondary-button {
    background-color: transparent;
    color: var(--dark-blue);
    border: 2px solid var(--dark-blue);
}

.cta-button:hover, .primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.4);
}

.secondary-button:hover {
    background-color: var(--dark-blue);
    color: white;
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

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

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

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

.hero-image {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Features Section */
.features {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--primary);
}

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

/* Experience Section */
.experience {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background-color: rgba(168, 218, 220, 0.1);
    border-radius: var(--border-radius);
}

.experience-list {
    list-style: none;
    margin: 2rem 0;
}

.experience-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    color: var(--primary);
    flex-shrink: 0;
}

.experience-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-illustration {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    background-color: #fff;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.step {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step-divider {
    width: 60px;
    color: var(--light-blue);
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-divider svg {
    width: 40px;
    height: 40px;
}

.cta-container {
    margin-top: 3rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(69, 123, 157, 0.05);
    border-radius: var(--border-radius);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

.quote {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.quote::before {
    content: """;
    font-size: 3rem;
    color: rgba(230, 57, 70, 0.2);
    position: absolute;
    top: 10px;
    left: 15px;
}

.user {
    font-weight: 600;
    color: var(--dark-blue);
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--text-light);
    padding: 4rem 5% 1rem;
    margin-top: auto;
}

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

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--off-white);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--teal);
    font-size: 0.95rem;
}

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

.footer-column h4 {
    color: var(--off-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column a {
    display: block;
    color: var(--teal);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(241, 250, 238, 0.1);
    margin-top: 3rem;
}

.footer-bottom p {
    color: var(--teal);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero, .experience {
        grid-template-columns: 1fr;
    }
    
    .hero-content, .experience-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .experience-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-divider {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 5%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
