:root {
    --primary-dark: #111d40;
    --primary-light: #00a3ff;
    --accent: #22c55e;
    --bg-light: #ffffff;
    --bg-soft: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-fade {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo img {
    height: 40px;
    object-fit: contain;
}

.logo {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.05rem;
}

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 163, 255, 0.25);
    background: rgba(0, 163, 255, 0.08);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle span + span {
    margin-top: 6px;
}

.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(17, 29, 64, 0.03) 0%, rgba(0, 163, 255, 0.06) 100%);
    min-height: 80vh;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("Mira CX BG.png");
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 400px at 20% 20%, rgba(0, 163, 255, 0.12) 0%, rgba(0, 163, 255, 0) 70%),
        radial-gradient(900px 400px at 80% 30%, rgba(17, 29, 64, 0.16) 0%, rgba(17, 29, 64, 0) 65%);
    pointer-events: none;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-card {
    position: relative;
    width: min(520px, 100%);
}

.hero-image img {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.hero-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-md);
    color: var(--primary-dark);
    font-weight: 600;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 163, 255, 0.18);
    box-shadow: var(--shadow-sm);
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.pill .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--primary-light);
    box-shadow: 0 0 0 6px rgba(0, 163, 255, 0.18);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero h1 span {
    color: var(--primary-light);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 14px 0 rgba(17, 29, 64, 0.39);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 29, 64, 0.23);
    background: var(--primary-light);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary-dark);
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 620px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.70);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow-sm);
}

.trust-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 163, 255, 0.10);
}

.trust-text strong {
    display: block;
    line-height: 1.2;
    color: var(--primary-dark);
}

.trust-text span {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.3;
}

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

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto;
}

.section-subtitle--inverted {
    color: rgba(255, 255, 255, 0.75);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.location-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.location-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.location-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* Benefits */
.benefits {
    background: var(--primary-dark);
    color: white;
    border-radius: 40px;
    margin: 50px 2rem;
    padding: 80px 4rem;
}

.benefits h2 {
    color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
}

.benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.benefit-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.benefit-text p {
    color: rgba(255, 255, 255, 0.7);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step {
    background: white;
    border-radius: 24px;
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 163, 255, 0.35);
}

.step-no {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(0, 163, 255, 0.12);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.step p {
    color: var(--text-muted);
}

/* FAQ */
.section-soft {
    background: var(--bg-soft);
}

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

.faq-item {
    background: white;
    border-radius: 18px;
    padding: 1.2rem 1.2rem;
    border: 1px solid #eef2f7;
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--primary-dark);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--primary-light);
    font-size: 1.25rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "—";
}

.faq-item p {
    color: var(--text-muted);
    margin-top: 0.8rem;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--bg-soft);
    text-align: center;
}

.footer-logo img {
    height: 46px;
    margin-bottom: 2rem;
}

.footer-logo {
    display: inline-flex;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-sm);
}

.contact-info {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.65rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(0, 163, 255, 0.25);
    color: var(--primary-dark);
}

.footer-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.footer-subtitle {
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 1.75rem;
}

.footer-cta {
    margin-top: 1.25rem;
}

.footer-bottom {
    margin-top: 2.5rem;
    color: var(--text-muted);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--primary-dark);
    font-size: 1.5rem;
    transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .hero-inner {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-image {
        justify-content: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-row {
        grid-template-columns: 1fr;
        margin-left: auto;
        margin-right: auto;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }
    
    .benefits {
        margin: 20px 1rem;
        padding: 60px 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }
}

@media (max-width: 820px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 0;
    }

    .nav {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        transform: translateY(-130%);
        transition: var(--transition);
        padding: 1rem 0;
        z-index: 999;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .nav a {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        padding: 0.85rem 1.2rem;
    }

    .nav-open .nav {
        transform: translateY(0);
    }
}
