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

:root {
    --primary-orange: #E66833;
    --dark-navy: #162F43;
    --accent-blue: #3A8DAF;
    --light-bg: #F9FAFB;
    --white: #FFFFFF;
    --text-dark: #162F43;
    --text-light: #6B7280;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    /* Increased from 1200px to give header more breathing room */
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-orange);
}

.text-navy {
    color: var(--dark-navy);
}

.bg-light {
    background-color: var(--light-bg);
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.section-padding {
    padding: 100px 0;
}

.hidden {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    /* Slightly reduced padding */
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
    transition: var(--transition);
    font-size: 15px;
    /* Slightly reduced font size */
    white-space: nowrap;
    /* Prevent text wrapping */
    line-height: 1;
    /* Better vertical alignment */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #d65522 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 104, 51, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 104, 51, 0.5);
}

.btn-secondary {
    background: var(--dark-navy);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(22, 47, 67, 0.4);
}

.btn-secondary:hover {
    background: #0f2231;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 47, 67, 0.5);
}

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

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

/* Header */
.main-header {
    background: rgba(22, 47, 67, 0.98);
    /* Brand Dark Navy */
    position: fixed;
    top: 20px;
    /* Floating effect */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1320px;
    /* Match container width constraints */
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* Lifted shadow */
    border-radius: 50px;
    /* usage of curves */
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle rim light */
}

.main-header.scrolled {
    top: 10px;
    /* Snug up slightly on scroll */
    padding: 8px 0;
    background: rgba(22, 47, 67, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border-radius: 50px;
    /* Maintain curves */
}

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

.logo a {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Make sure logo is white */
}

.logo-full {
    height: 50px;
    /* Slightly larger for full logo */
    width: auto;
    /* No filter to show original colors */
    transition: var(--transition);
}

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

.nav-menu {
    display: flex;
    gap: 20px;
    /* Reduced from 30px to prevent wrapping */
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--white);
    /* White text for dark hero */
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    opacity: 0.9;
    font-size: 0.95rem;
    /* Slightly smaller font to fit more items */
}

.nav-link:hover {
    color: var(--primary-orange);
    opacity: 1;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: transparent;
    transition: var(--transition);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: var(--white);
    color: var(--dark-navy);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.dropdown-link:hover {
    background: var(--light-bg);
    color: var(--primary-orange);
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-navy);
}

/* Hero Section */
.hero {
    padding: 120px 0 160px;
    background: linear-gradient(135deg, #162F43 0%, #0F202E 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(58, 141, 175, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--white);
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.trust-points {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.9;
}

.trust-points span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Cards */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-orange);
}

.card-icon {
    font-size: 40px;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-light);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Pricing Table */
.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border: 2px solid var(--primary-orange);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.price-tag {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin: 20px 0;
}

.price-tag span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.features-list {
    text-align: left;
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.features-list i {
    color: var(--primary-orange);
}

/* Footer */
footer {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #9CA3AF;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-bottom {
    background: #0F202E;
    padding: 30px 0;
    margin-top: 60px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .pricing-card.popular {
        transform: scale(1);
    }

    .hero {
        padding: 80px 0 120px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}