/* ===== CSS VARIABLES & THEMING ===== */
:root {
    --bg-dark: #0B0C10;
    /* Deep absolute black-charcoal */
    --bg-card: #14171F;
    /* Slightly lighter for elevation */
    --bg-lighter: #1F2833;

    --accent-gold: #F4D03F;
    /* Premium, rich gold */
    --accent-gold-hover: #D4AC0D;
    --accent-glow: rgba(244, 208, 63, 0.15);

    --text-white: #FFFFFF;
    --text-gray: #C5C6C7;
    /* Soft gray for high readability */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-gray);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-white);
    line-height: 1.2;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    color: var(--accent-gold);
    text-shadow: 0 0 15px var(--accent-glow);
}

.section-padding {
    padding: 6rem 0;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(11, 12, 16, 0.85);
    /* Semi-transparent */
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary-small) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray);
}

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* Offset for navbar */
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtext {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Background Subtle Grid/Texture for Hero */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at center, rgba(11, 12, 16, 0.6) 0%, var(--bg-dark) 90%),
        url('assets/autolist_hero_mockup.webp');
    background-size: cover, cover;
    background-position: center, top center;
    background-attachment: scroll, scroll;
    z-index: 1;
    opacity: 0.9;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-primary-small,
.btn-secondary,
.btn-block {
    display: inline-block;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    padding: 1rem 2rem;
    background-color: var(--accent-gold);
    color: #000000;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 208, 63, 0.25);
}

.btn-primary-small {
    padding: 0.6rem 1.2rem;
    background-color: var(--accent-gold);
    color: #000000;
    font-weight: 800;
    font-size: 0.85rem;
}

.btn-primary-small:hover {
    background-color: var(--accent-gold-hover);
}

.btn-secondary {
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: var(--accent-glow);
}

.btn-block {
    width: 100%;
    text-align: center;
    border: none;
    padding: 1rem;
    background-color: var(--accent-gold);
    color: #000000;
    font-weight: 800;
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--accent-gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
}

/* Products Layout */
.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-image-container {
    margin-top: 1rem;
}

.product-info h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.product-tag {
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "✦";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 2px;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-lighter));
    border: 1px dashed rgba(244, 208, 63, 0.3);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-gray);
    position: relative;
    overflow: hidden;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-dark);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(244, 208, 63, 0.3);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* Contact Area */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form input,
.contact-form select {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-white);
    font-family: var(--font-body);
}

.contact-form input:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* ===== FOOTER ===== */
footer {
    background-color: #050608;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand p {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-links a {
    margin-left: 2rem;
    font-size: 0.85rem;
}

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

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FAQ ===== */
.faq-item {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(244, 208, 63, 0.3);
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white);
}

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

.faq-item summary::after {
    content: '+';
    color: var(--accent-gold);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-gray);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 1rem;
    padding-top: 1rem;
    line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .product-card,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .nav-links {
        display: none;
        /* In a real app, implement hamburger menu */
    }
}