@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;700;800&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --action: #f97316;
    --action-hover: #ea580c;
    --text-main: #334155;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    --accent-blue: #38bdf8;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    line-height: 1.2;
}

/* --- Layout Components --- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px; /* Increased from 20px for better spacing on all devices */
}

header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--action);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Call Button Styling */
.btn-call {
    background: var(--action);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mobile-hide {
    display: inline-flex;
}

.btn-call:hover {
    transform: translateY(-3px) scale(1.05);
    background: var(--action-hover);
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.4);
}

/* --- Hero Section --- */

.hero {
    padding: 160px 0 120px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--action) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

.hero h1 {
    color: white;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    max-width: 900px;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #cbd5e1;
    position: relative;
    z-index: 2;
}

/* --- Content Sections --- */

.section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* --- Cards & Glassmorphism --- */

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

.card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 60px -15px rgba(15, 23, 42, 0.1);
    border-color: var(--action);
}

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

.floating {
    animation: float 6s ease-in-out infinite;
}

.stats-bar {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    display: flex;
    justify-content: space-around;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--action);
    margin-bottom: 5px;
}

.stat-item p {
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.card h3 {
    margin-bottom: 15px;
}

/* --- FAQ Accordions --- */

details {
    background: white;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

summary {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--action);
}

details[open] summary::after {
    content: '-';
}

details div {
    padding: 0 20px 20px;
    color: var(--text-main);
}

/* --- Sidebar --- */

.content-layout {
    display: flex;
    gap: 50px;
}

.main-content {
    flex: 1;
}

.sidebar {
    width: 350px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-box {
    background: var(--primary);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.sidebar-box h3 {
    color: white;
    margin-bottom: 20px;
}

/* --- Mobile Menu --- */

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

/* Sticky Tap-to-Call (Mobile only) */
.mobile-tap-to-call {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--action);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
    .section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 30px;
        right: 30px;
        background: white;
        padding: 40px;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
        border: 1px solid #e2e8f0;
        z-index: 1000;
    }
    .mobile-hide {
        display: none !important;
    }
    .mobile-tap-to-call {
        display: flex;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    h2 {
        font-size: 1.8rem !important;
    }
    h3 {
        font-size: 1.5rem !important;
    }
    .content-layout {
        flex-direction: column;
        gap: 30px;
    }
    .sidebar {
        width: 100%;
        position: static;
    }
    .stats-bar {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }
}
