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

:root {
    --primary: #1B2A7D;
    --primary-dark: #0f1a4d;
    --accent-magenta: #A10071;
    --accent-teal: #09BAB3;
    --accent-teal-light: #B5EAE8;
    --text-dark: #1B2A7D;
    --text-light: #64748b;
    --text-white: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

/* Generic hidden class */
.hidden {
    display: none !important;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    font-weight: 300;
}

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

/* Hero Navigation */
.hero-nav {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 1000;
    display: flex;
    gap: 32px;
}

.hero-nav a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 400;
    transition: color 0.2s;
    opacity: 0.9;
}

.hero-nav a:hover {
    opacity: 1;
    color: var(--accent-teal-light);
}

.hero-nav.nav-dark a {
    color: var(--primary);
}

.hero-nav.nav-dark a:hover {
    color: var(--accent-magenta);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: url('assets/hero-wave.jpg') center center / cover no-repeat;
    background-color: #0a0a1a;
    padding: 80px 24px 24px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: 5%;
    text-align: left;
}

.hero-logo-img {
    width: 280px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 32px;
}

.hero-headline {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text-white);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero-subheadline {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--text-white);
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 24px;
}

.hero-value-prop {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: var(--text-white);
    font-weight: 300;
    opacity: 0.85;
    margin-bottom: 24px;
    line-height: 1.7;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 32px;
    padding: 0;
    padding-left: 8px;
}

.hero-benefits li {
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    color: var(--text-white);
    font-weight: 400;
    padding: 10px 0 10px 36px;
    position: relative;
}

.hero-benefits li::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--accent-teal);
    border-radius: 50%;
}

.hero-cta {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--accent-teal-light);
    font-weight: 500;
    margin-bottom: 32px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--accent-teal);
    color: white;
}

.btn-primary:hover {
    background: #07a39c;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(9, 186, 179, 0.3);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 60px;
}

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

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

.about-text p {
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 300;
    text-align: center;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.about-list {
    list-style: none;
    padding: 0;
    max-width: 500px;
    margin: 0 auto 32px;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 16px 24px;
}

.about-list li {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 300;
    padding: 14px 0 14px 40px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent-teal);
    border-radius: 50%;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 300;
    max-width: 700px;
    margin: -40px auto 60px;
}

.sar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.sar-features {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.sar-features h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.sar-list {
    list-style: none;
    padding: 0;
}

.sar-list li {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 300;
    padding: 16px 0 16px 44px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.sar-list li:last-child {
    border-bottom: none;
}

.sar-list li::before {
    content: "✓";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-teal);
    font-weight: 700;
    font-size: 1.1rem;
}

.sar-result {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-magenta) 100%);
    padding: 40px;
    border-radius: 16px;
    color: white;
}

.sar-result h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.sar-result p {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.5;
}

/* Contact Section */
.contact {
    background: var(--bg-white);
}

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

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 32px;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-dark);
    justify-content: center;
}

.contact-item svg {
    color: var(--accent-teal);
    flex-shrink: 0;
}

.contact-link {
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--accent-teal);
}

.contact-link:hover svg {
    color: var(--accent-magenta);
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(9, 186, 179, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    height: 32px;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
    font-weight: 300;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--accent-teal-light);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 968px) {
    .sar-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
        margin-left: 0;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero-nav {
        top: 20px;
        right: 20px;
        gap: 20px;
    }

    .hero {
        padding: 100px 24px 60px;
        justify-content: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-logo-img {
        margin: 0 auto 24px;
    }

    .hero-benefits {
        text-align: left;
        display: inline-block;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .section-intro {
        margin-bottom: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px 24px;
    }
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1001;
    font-family: 'Poppins', sans-serif;
}

.chat-toggle {
    height: 50px;
    padding: 0 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-magenta) 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(27, 42, 125, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
}

.chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(27, 42, 125, 0.4);
}

.chat-toggle svg {
    flex-shrink: 0;
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 380px;
    max-height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.hidden {
    display: none;
}

.chat-header {
    background: var(--primary);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
}

.chat-close:hover {
    opacity: 1;
}

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

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-message p {
    margin: 0;
}

.chat-message.bot {
    background: var(--bg-light);
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message.bot.agent {
    background: linear-gradient(135deg, var(--accent-teal-light) 0%, rgba(9, 186, 179, 0.2) 100%);
    border-left: 3px solid var(--accent-teal);
}

.chat-message.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.verification-area {
    padding: 16px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.verification-area p {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.verification-question {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem !important;
    margin-bottom: 12px !important;
}

.verification-input {
    display: flex;
    gap: 8px;
}

.verification-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

.verification-input input:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.verification-input button {
    padding: 10px 16px;
    background: var(--accent-teal);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.verification-input button:hover {
    background: #07a39c;
}

.verification-error {
    color: var(--accent-magenta);
    font-size: 0.85rem !important;
    margin-top: 8px !important;
}

.verification-area.hidden {
    display: none;
}

.chat-input-area {
    padding: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
}

.chat-input-area.hidden {
    display: none;
}

.chat-input-area input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.chat-input-area button {
    padding: 12px 20px;
    background: var(--accent-teal);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-input-area button:hover {
    background: #07a39c;
}

.chat-input-area button:disabled {
    background: var(--text-light);
    cursor: not-allowed;
}

.handoff-form {
    padding: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.handoff-form.hidden {
    display: none;
}

.handoff-form p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.handoff-form input,
.handoff-form textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

.handoff-form input:focus,
.handoff-form textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.handoff-form textarea {
    resize: vertical;
    min-height: 60px;
}

.handoff-form button {
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.handoff-form button:hover {
    background: var(--primary-dark);
}

.handoff-form .success {
    color: var(--accent-teal);
    font-weight: 500;
    text-align: center;
    padding: 20px 0;
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 48px);
        right: -12px;
    }
}
