/* CSS Variables & Reset */
:root {
    /* Colors */
    --color-bg: #ffffff;
    --color-text: #111827;
    --color-text-light: #4b5563;
    --color-primary: #4f46e5;
    /* Indigo 600 */
    --color-primary-dark: #4338ca;
    --color-accent: #10b981;
    /* Emerald 500 */
    --color-surface: #f9fafb;
    --color-border: #e5e7eb;

    /* Fonts */
    /* Using Oswald as a fallback for Thunder Extra Bold LC */
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Epilogue', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    /* Regular */
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--color-text);
    color: #fff;
}

.btn-primary:hover {
    background-color: #000;
    transform: translateY(-1px);
}

.btn-large {
    background-color: var(--color-primary);
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-large:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
}

/* Typography Overrides */
.display-text {
    font-family: var(--font-display);
    font-weight: 700;
    /* Extra Bold equivalent */
    font-size: 4rem;
    /* text-transform: uppercase; Removed to respect 'LC' request */
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
}

/* If user meant Thunder Lowercase, Oswald might be too caps-y. 
   But for "Display" impact, Oswald is good. */

h2 {
    font-family: var(--font-body);
    font-weight: 600;
    /* Semibold */
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-family: var(--font-body);
    font-weight: 500;
    /* Medium */
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.subheading {
    font-family: var(--font-body);
    font-weight: 500;
    /* Medium */
    font-size: 1.25rem;
    color: var(--color-text-light);
}

/* Navigation */
.navbar {
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
}

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

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--color-text-light);
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    padding: 0.5rem 0;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1000;
    border: 1px solid var(--color-border);
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.dropdown-menu li a:hover {
    background-color: var(--color-surface);
    color: var(--color-primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0;
    background: radial-gradient(circle at top right, #e0e7ff 0%, #fff 40%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
}

.text-highlight {
    color: var(--color-text);
    font-weight: 600;
    border-bottom: 2px solid var(--color-accent);
}

.usp-grid {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-icon {
    width: 300px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Kits Section */
.section-kits {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-surface);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

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

.kit-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.kit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-weight: 500;
}

.card-content {
    padding: var(--spacing-md);
}

.kit-desc {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
}

.kit-components {
    margin-bottom: var(--spacing-sm);
    padding-left: 1.2rem;
}

.kit-components li {
    list-style: disc;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.kit-meta {
    display: flex;
    justify-content: space-between;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-text-light);
    font-weight: 600;
}

.meta-item .value {
    font-weight: 700;
    color: var(--color-primary);
}

/* Funnel Section */
.section-funnel {
    padding: var(--spacing-xl) 0;
    background: var(--color-text);
    /* Dark background for contrast */
    color: #fff;
}

.funnel-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.funnel-text h2 {
    color: #fff;
    margin-bottom: var(--spacing-sm);
}

.funnel-text p {
    color: #d1d5db;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.funnel-benefits li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quote-form {
    background: #fff;
    padding: var(--spacing-md);
    border-radius: 16px;
    color: var(--color-text);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

input,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

.file-upload {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-upload input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.file-custom {
    display: block;
    border: 1px dashed var(--color-border);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    color: var(--color-text-light);
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    background-color: var(--color-primary);
    color: white;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: var(--color-primary-dark);
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 99;
        opacity: 0;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    /* Mobile Dropdown Handling */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle::after {
        content: ' +';
        font-weight: bold;
    }

    .display-text {
        font-size: 2.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        margin-top: var(--spacing-md);
    }

    .usp-grid {
        justify-content: center;
    }

    .funnel-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}