/* 
   ACME Insurance - Landing Page Styles
   Theme: Trust, Professionalism, Cleanliness
   Colors: Blue, White, Neutral Grays
*/

:root {
    /* Color Palette */
    --primary-color: #0056b3; /* Trusted Dark Blue */
    --primary-hover: #004494;
    --secondary-color: #00a8e8; /* Friendly Light Blue */
    --secondary-hover: #0090c8;
    --accent-color: #ff9f1c; /* Subtle accent for attention */
    
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --white: #ffffff;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    
    /* Spacing */
    --container-padding: 2rem;
    --section-padding: 4rem 2rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-medium);
}

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

.nav-links .nav-cta {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links .nav-cta:hover {
    background-color: var(--primary-hover);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
}

.close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 3rem;
    color: var(--text-medium);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 2rem 8rem;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    overflow: hidden;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-background-shape {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,168,232,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    border-radius: 50%;
}

/* About Section */
.about-section {
    background-color: var(--bg-white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-medium);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Why Choose Section */
.why-choose-section {
    background-color: var(--bg-light);
}

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

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    background-color: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-card p {
    font-weight: 500;
    color: var(--text-dark);
}

/* Carriers Section */
.carriers-section {
    background-color: var(--white);
    text-align: center;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-medium);
    font-size: 1.125rem;
}

.carriers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.carrier-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    color: var(--text-medium);
    font-weight: 700;
    font-size: 1.25rem;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    min-width: 180px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.carrier-logo:hover {
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.disclaimer-text {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 2rem;
    font-style: italic;
}

/* How It Works Section */
.how-it-works-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.how-it-works-section .section-title {
    color: var(--white);
}

.how-it-works-section .title-underline {
    background-color: var(--secondary-color);
}

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

.step-card {
    text-align: center;
    position: relative;
}

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

.step-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.step-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Section */
.cta-section {
    background-color: var(--white);
    text-align: center;
    padding: 6rem 2rem;
}

.cta-content {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 4rem 2rem;
    border-radius: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cta-text {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: #1a202c;
    color: #e2e8f0;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

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

.footer-links a:hover {
    color: var(--secondary-color);
}

.separator {
    color: #4a5568;
}

.footer-legal {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    font-size: 0.875rem;
    color: #718096;
    text-align: center;
}

.footer-legal p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}
