/* Base Styles */
:root {
    --primary-color: #1D4ED8; /* blue-700 */
    --primary-hover: #1E40AF; /* blue-800 */
    --primary-600: #2563EB;
    --blue-50: #EFF6FF;
    --blue-100: #DBEAFE;
    --text-color: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --max-width: 1200px;
    --border-radius: 10px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Clickable Card Links */
.card-link {
    color: inherit;
    display: block;
}

.card-link:focus .feature-card,
.card-link:focus .service-card {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.primary-button, .secondary-button, .cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-button {
    background-color: var(--primary-600);
    color: white;
    border: 2px solid var(--primary-600);
    border-radius: 10px;
}

.primary-button:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.secondary-button {
    background-color: #ffffff;
    color: var(--text-color);
    border: 1px solid var(--gray-200);
    margin-left: 1rem;
    border-radius: 10px;
    padding: 0.6rem 1rem;
}

.secondary-button:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
}

.nav-links a {
    margin-left: 2rem;
    color: var(--text-color);
    font-weight: 500;
}

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

.cta-button {
    background-color: var(--primary-600);
    color: #ffffff;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--primary-600);
    font-weight: 600;
}

.cta-button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 6rem 5% 4rem;
    background:
      radial-gradient(1200px 400px at 70% 10%, var(--blue-100), transparent 70%),
      linear-gradient(135deg, var(--blue-50) 0%, #F8FAFC 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    right: -10%;
    top: -20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(50% 50% at 50% 50%, var(--blue-100) 0%, rgba(219,234,254,0) 70%);
    filter: blur(8px);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    max-width: 14ch;
}

.hero-image {
    flex: 1;
    padding: 2rem;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Badges */
.badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--text-color);
    font-size: 0.9rem;
}

.badge i {
    color: var(--primary-600);
}

.cta-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Features Section */
.features {
    padding: 6rem 5%;
    background-color: var(--white);
}

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

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

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

.feature-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Services Section */
.services {
    padding: 6rem 5%;
    background-color: var(--gray-100);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-200);
}

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

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* How It Works */
.how-it-works {
    padding: 6rem 5% 0;
    background: var(--white);
}

.how-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.process-grid {
    max-width: var(--max-width);
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.step-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.step-card .icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.diff-grid {
    max-width: var(--max-width);
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.diff-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.diff-card.highlight {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.diff-card h3 {
    margin-bottom: 0.5rem;
}

.diff-card ul {
    padding-left: 1.25rem;
    color: var(--text-light);
}

/* Diagram */
.diagram {
    padding: 4rem 5% 0;
    background: var(--white);
}

.diagram-wrap {
    max-width: var(--max-width);
    margin: 0 auto 2rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.diagram svg {
    width: 100%;
    height: auto;
    color: var(--primary-color);
}

.diagram-note {
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    margin: 0.5rem auto 0;
}

.diagram .node {
    fill: #fff;
    stroke: var(--gray-200);
    stroke-width: 1.25;
}

.diagram .node.accent {
    stroke: var(--primary-color);
}

.diagram .label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    fill: var(--text-color);
}

.diagram .label.strong {
    font-weight: 600;
}

.diagram .arrow {
    stroke: currentColor;
    stroke-width: 2;
}

/* Contact Section */
.contact {
    padding: 6rem 5%;
    background-color: var(--white);
}

.contact p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Pricing Page */
.pricing-hero {
    padding: 8rem 5% 2rem;
    text-align: center;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
}

.form-note {
    color: var(--text-light);
    margin-top: 0.75rem;
}

.urgency-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    margin-top: 0.75rem;
    animation: pulseGlow 2.2s ease-in-out infinite;
}

.deal-badge {
    background: var(--primary-color);
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 5% 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.price-card {
    border: 2px solid var(--gray-200);
    position: relative;
}

.price-card.highlight {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.ribbon {
    position: absolute;
    top: 0.75rem;
    right: -0.5rem;
    background: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    transform: rotate(6deg);
    box-shadow: var(--shadow-sm);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin: 0.5rem 0 1rem;
}

.old-price {
    color: #9CA3AF;
    text-decoration: line-through;
}

.price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.tiny-note {
    color: var(--text-light);
    font-size: 0.9rem;
}

.primary-button.full,
.secondary-button.full {
    display: block;
    width: 100%;
    text-align: center;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.25); }
    50% { box-shadow: 0 0 0 8px rgba(79, 70, 229, 0.08); }
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Cognito form container */
.cognito-form-embed {
    max-width: 700px;
    margin: 0 auto;
}

/* FAQ */
.faq {
    padding: 6rem 5%;
    background-color: var(--gray-100);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: white;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-answer {
    padding: 0 1.25rem 1rem;
}

.chevron {
    transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background-color: #1F2937;
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #E5E7EB;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-bottom p {
    color: #9CA3AF;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .cta-container {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .nav-links a {
        margin: 0;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    .cta-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .secondary-button {
        margin-left: 0;
    }

    .badges {
        justify-content: center;
    }

    .process-grid, .diff-grid {
        grid-template-columns: 1fr;
    }

    .diagram {
        padding-top: 2rem;
    }

    .diagram .label {
        font-size: 12px;
    }
}
