/* Rank & Ring Stylesheet | Contractor-Grade & Fast-Loading */

/* ========================================= */
/* VARIABLES & BASE SETUP
/* ========================================= */
:root {
    --primary: #111827;
    /* Very dark navy/charcoal */
    --secondary: #1F2937;
    /* Dark charcoal */
    --accent-primary: #F97316;
    /* Bright safety orange */
    --accent-secondary: #EA580C;
    /* Darker orange for hover */
    --background: #FFFFFF;
    --light: #F3F4F6;
    --text-main: #374151;
    --text-muted: #6B7280;
    --white: #FFFFFF;

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

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --transition: all 0.2s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* ========================================= */
/* TYPOGRAPHY
/* ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.font-mono {
    font-family: monospace;
}

.op-80 {
    opacity: 0.8;
}

.op-60 {
    opacity: 0.6;
}

/* ========================================= */
/* UTILITIES & GRID
/* ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.bg-dark {
    background-color: var(--primary);
    color: var(--white);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
    color: var(--white);
}

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

.bg-medium {
    background-color: #D1D5DB;
}

.pb-loose {
    padding-bottom: 5rem;
}

.pt-loose {
    padding-top: 5rem;
}

.pt-regular {
    padding-top: 2rem;
}

.pb-regular {
    padding-bottom: 2rem;
}

.mt-loose {
    margin-top: 4rem;
}

.mt-regular {
    margin-top: 2rem;
}

.mt-tight {
    margin-top: 1rem;
}

.mb-loose {
    margin-bottom: 3rem;
}

section {
    padding: 5rem 0;
}

.grid-2,
.grid-3 {
    display: grid;
    gap: 2rem;
}

.align-center {
    align-items: center;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3rem;
    }
}

/* ========================================= */
/* BUTTONS & LINKS
/* ========================================= */
a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-secondary);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    display: block;
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================= */
/* NAVBAR
/* ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 100;
    border-bottom: 1px solid #E5E7EB;
    transition: var(--transition);
}

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

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

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

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

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--primary);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 3px;
    background-color: var(--primary);
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 2rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid #E5E7EB;
    }

    .nav-links.active {
        display: flex;
    }
}

@media (min-width: 901px) {
    .nav-links {
        display: flex;
    }
}

/* ========================================= */
/* HERO SECTION
/* ========================================= */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background-color: var(--primary);
    background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(31, 41, 55, 0.7) 100%);
}

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

.badge {
    display: inline-block;
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--accent-primary);
    padding: 0.25rem 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: var(--white);
}

.hero-subline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* ========================================= */
/* PARTNERS
/* ========================================= */
.partners {
    padding: 2rem 0;
    background-color: var(--secondary);
    color: var(--white);
    text-align: center;
    border-bottom: 4px solid var(--accent-primary);
}

.partners p {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    opacity: 0.6;
    text-transform: uppercase;
}

/* ========================================= */
/* PAIN POINTS & CARDS
/* ========================================= */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
    transition: var(--transition);
}

.icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-wrap.error {
    background-color: #FEE2E2;
    color: #EF4444;
}

.icon-wrap.success {
    background-color: #FEF3C7;
    color: var(--accent-primary);
}

/* ========================================= */
/* SOLUTION SECTION
/* ========================================= */
.feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.system-mockup {
    background-color: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.mockup-header {
    background-color: var(--accent-primary);
    color: var(--white);
    padding: 1rem;
    font-weight: 700;
    text-align: center;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mockup-body {
    padding: 2rem;
}

.mockup-body p {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #F3F4F6;
}

/* ========================================= */
/* PRICING PACKAGES
/* ========================================= */
.pricing-card {
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--accent-primary);
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-primary);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
}

.package-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 1rem;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.period {
    color: var(--text-muted);
    font-weight: 600;
}

.divider {
    border: 0;
    height: 1px;
    background-color: #E5E7EB;
    margin: 1.5rem 0;
}

.features-list {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
    padding: 1.5rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 0;
}

.faq-answer {
    margin-top: 1rem;
    display: none;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
    transition: var(--transition);
}

/* ========================================= */
/* SOCIAL PROOF
/* ========================================= */
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.author strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent-primary);
}

/* ========================================= */
/* ABOUT
/* ========================================= */
.image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: bold;
}

.bullet-list {
    list-style: none;
}

.bullet-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* ========================================= */
/* INTAKE FORM
/* ========================================= */
.intake-wrapper {
    display: grid;
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

@media (min-width: 900px) {
    .intake-wrapper {
        grid-template-columns: 1fr 2fr;
    }
}

.shadow-lg {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.intake-info {
    padding: 4rem 3rem;
}

.intake-info h2 {
    font-size: 2.25rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.intake-form-container {
    padding: 3rem;
}

.intake-form-container h3 {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 1rem;
    display: inline-block;
}

.form-row {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #F9FAFB;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
    background-color: var(--white);
}

.radio-group {
    display: flex;
    gap: 2rem;
    padding: 0.875rem 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.form-status {
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
}

.form-status.hidden {
    display: none;
}

.form-status.success {
    background-color: #D1FAE5;
    color: #065F46;
}

/* ========================================= */
/* FOOTER
/* ========================================= */
.footer-brand p {
    font-size: 1.125rem;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}