/* AMZ Leads Master Stylesheet 2026
    Theme: Modern Enterprise / Dark SaaS
    Colors: Midnight Navy, Electric Blue, Slate Grey
*/

:root {
    --bg-dark: #050a15;            /* Deep Midnight */
    --bg-body: #070e1c;           /* Slightly lighter body blue */
    --card-dark: #0f172a;          /* Slate Blue Cards */
    --primary-blue: #2563eb;       /* Electric Blue */
    --accent-blue: #38bdf8;        /* Sky Blue */
    --text-white: #f8fafc;         /* High-contrast text */
    --text-muted: #94a3b8;         /* Secondary text */
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.03);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. Reset & Global Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
}

p {
    color: var(--text-muted);
}

.section-padding {
    padding: 100px 0;
}

.centered-header {
    text-align: center;
    margin-bottom: 60px;
}

.centered-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 2. Top Bar & Navigation */
.top-bar {
    background: #000;
    padding: 10px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

.main-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(5, 10, 21, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-bold { font-weight: 800; font-size: 1.8rem; color: #fff; }
.logo-light { font-weight: 300; font-size: 1.8rem; color: var(--primary-blue); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-blue);
}

/* --- DROPDOWN SYSTEM --- */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 15px 0;
    list-style: none;
    min-width: 240px;
    display: none; /* Hidden by default */
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    z-index: 1100;
    margin-top: 10px;
}

.dropdown-menu li {
    margin: 0;
    width: 100%;
}

.dropdown-menu a {
    padding: 12px 25px;
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted) !important;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-blue) !important;
    padding-left: 30px; /* Slight slide effect */
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: navFadeIn 0.3s ease;
}

@keyframes navFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3. Buttons */
.btn-primary {
    background: var(--primary-blue);
    color: #fff;
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    border: 1px solid var(--border);
    color: #fff;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-left: 15px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--glass);
    border-color: #fff;
}

.btn-glass {
    border: 1px solid var(--accent-blue);
    padding: 10px 20px;
    border-radius: 6px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-glass:hover {
    background: var(--accent-blue);
    color: var(--bg-dark);
}

/* 4. Hero & Visuals */
.hero {
    padding: 140px 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent);
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content { flex: 1; }

.hero-badge {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-blue);
    margin-bottom: 25px;
    display: inline-block;
    font-weight: 600;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 45px;
    max-width: 600px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.glass-stat-box {
    background: var(--card-dark);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.trend-up {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    display: block;
}

/* 5. Grids & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card, .service-card, .testimonial-card, .faq-item {
    background: var(--card-dark);
    padding: 45px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover, .service-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-10px);
    background: #141d33;
}

.f-icon, .service-card .icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: block;
}

.text-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 700;
    margin-top: 25px;
    display: block;
}

/* 6. Layout Components (Audit Grid / Tables) */
.audit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.table-container {
    background: var(--card-dark);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid var(--border);
    overflow-x: auto;
}

.pro-table {
    width: 100%;
    border-collapse: collapse;
}

.pro-table th, .pro-table td {
    padding: 25px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.pro-table th { font-size: 1.1rem; color: #fff; }
.active-col { color: var(--accent-blue); font-weight: 700; background: rgba(56, 189, 248, 0.05); }

/* 7. Stats & Process */
.stats-section {
    background: var(--primary-blue);
    padding: 80px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item h2 { font-size: 4rem; margin-bottom: 5px; }
.stat-item p { color: #fff; font-weight: 600; opacity: 0.9; }

.step-num {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(to bottom, var(--primary-blue), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    line-height: 1;
}

/* 8. Forms & Newsletter */
.main-form {
    background: var(--card-dark);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.main-form input, .main-form textarea, .main-form select {
    width: 100%;
    padding: 18px;
    margin-bottom: 20px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
}

.main-form input:focus {
    border-color: var(--accent-blue);
}

.newsletter-cta {
    background: var(--primary-blue);
    padding: 80px 0;
    text-align: center;
}

.news-form input {
    padding: 18px;
    width: 350px;
    border-radius: 8px;
    border: none;
    margin-right: 15px;
    font-family: inherit;
}

/* 9. Footer */
.footer {
    background: #010409;
    padding: 100px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.logo-white { color: #fff; font-weight: 800; font-size: 1.8rem; }
.logo-light-blue { color: var(--accent-blue); font-weight: 300; font-size: 1.8rem; }

.footer-nav h4 { margin-bottom: 25px; font-size: 1.1rem; }
.footer-nav a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 15px;
    transition: var(--transition);
}
.footer-nav a:hover { color: #fff; }
.footer-bottom { text-align: center; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 40px; font-size: 0.9rem; }

/* 10. Responsive Design */
@media (max-width: 1024px) {
    .hero-wrapper, .audit-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero h1 { font-size: 3.5rem; }
    .hero p { margin: 0 auto 40px; }
    .footer-top { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; } /* Consider adding a mobile menu button later */
    .hero h1 { font-size: 2.8rem; }
    .news-form input { width: 100%; margin-bottom: 15px; margin-right: 0; }
    .stat-item h2 { font-size: 2.5rem; }
    .audit-grid { gap: 40px; }
}

/* ==========================================================================
   FIXED: TRUST BAR (CERTIFIED BY INDUSTRY GIANTS) - DARK THEME
   ========================================================================== */
.trust-bar {
    padding: 60px 0;
    background: var(--bg-dark); /* Matches your midnight background */
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.trust-label {
    text-align: center;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-transform: uppercase;
}

.logo-strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-item {
    font-size: 20px;
    color: var(--text-white);
    opacity: 0.5;
    transition: var(--transition);
    filter: brightness(0) invert(1); /* Forces text/logos to be white-ish */
}

.trust-item:hover {
    opacity: 1;
    filter: none; /* Shows natural colors on hover */
    transform: translateY(-3px);
}

.trust-item b {
    color: var(--accent-blue);
}

/* ==========================================================================
   FIXED: AUDIT SECTION & FORM - DARK THEME
   ========================================================================== */
.audit-section {
    padding: 120px 0;
    background: var(--bg-body);
}

/* Added separation margin between Form and Newsletter */
#contact-form {
    margin-bottom: 80px; 
}

.audit-text h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(to right, #ffffff, var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.audit-form-container {
    background: var(--card-dark);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.main-form input {
    background: var(--bg-dark) !important; /* Forces dark input */
    border: 1px solid var(--border) !important;
    color: var(--text-white) !important;
    padding: 18px !important;
    margin-bottom: 20px !important;
    transition: var(--transition);
}

.main-form input:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.full-btn {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================================
   FIXED: NEWSLETTER SECTION - DARK THEME
   ========================================================================== */
.newsletter-cta {
    background: var(--card-dark) !important; /* Changed from Blue to Card Dark for professionalism */
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px;
    max-width: 1100px;
    margin: 100px auto; /* Centered with huge spacing from the form above */
    text-align: center;
}

.newsletter-cta h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 15px;
}

.newsletter-cta p {
    color: var(--text-muted);
    margin-bottom: 35px;
}

.news-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.news-form input {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: #fff;
    padding: 18px;
    border-radius: 8px;
    outline: none;
}

.news-form input:focus {
    border-color: var(--accent-blue);
}

/* ==========================================================================
   MOBILE FIXES
   ========================================================================== */
@media (max-width: 768px) {
    .newsletter-cta {
        margin: 60px 20px;
        padding: 40px 20px;
    }
    
    .news-form {
        flex-direction: column;
    }
    
    .audit-grid {
        gap: 50px;
    }
}