/* assets/css/style.css */

/* Core Variables - Bespoke Skyrocket Theme */
:root {
    --primary: #ea580c; /* Vibrant Rocket Orange */
    --primary-light: #f97316; /* Fresh Orange Flame */
    --primary-dark: #c2410c; /* Deep Burnt Orange */
    --secondary: #0f172a; /* Deep Slate Space Blue */
    --secondary-light: #1e293b; /* Slate Gray Blue */
    --bg-light: #f8fafc; /* Light Slate Ice Tint */
    --bg-green-tint: #f1f5f9; /* Soft Slate Tint */
    --text-main: #0f172a; /* Dark Slate Text */
    --text-muted: #475569; /* Muted Steel Text */
    --border: #cbd5e1; /* Light Steel Border */
    --border-green: #94a3b8; /* Accent Slate Border */
    --white: #ffffff;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
    --radius-sm: 8px;
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Fraunces', serif;
    --font-body: 'DM Sans', sans-serif;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

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

/* Site Header & Navigation */
header.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 230, 201, 0.6);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 48px;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

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

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(234, 88, 12, 0.3);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
    transform: translateY(-1px);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Split Layout */
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.9) 100%), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    color: var(--white);
    padding: 10rem 0 8rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--primary-light);
    background: linear-gradient(to right, #fed7aa, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
}

.hero-features li {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-features li::before {
    content: '✓';
    color: var(--primary-light);
    font-weight: 800;
}

/* Floating Glass Card */
.hero-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-card-header h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.hero-card-header p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.calc-row strong {
    font-size: 1.25rem;
    color: var(--white);
}

.calc-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 0.75rem;
    overflow: hidden;
}

.calc-progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
}

.calc-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

/* Section Spacing & Backdrops */
.section-padding {
    padding: 6.5rem 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Cards Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(200, 230, 201, 0.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-green);
}

.card-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--bg-green-tint);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-weight: 700;
    line-height: 1;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.card h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Split Page Content Blocks */
.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-image-container {
    position: relative;
}

.split-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.split-image-accent {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--bg-green-tint);
    border-radius: var(--radius);
    bottom: -20px;
    left: -20px;
    z-index: -1;
}

.split-content h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.split-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.split-list {
    list-style: none;
    margin-top: 1.5rem;
}

.split-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.split-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Wizard pre-qualification specific styling system */
.wizard-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(200, 230, 201, 0.8);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-body) !important;
}

.wizard-box h1, .wizard-box h2, .wizard-box h3, .wizard-box h4, .wizard-box h5, .wizard-box h6 {
    font-family: var(--font-body) !important;
}

.wizard-progress {
    background: var(--bg-light);
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 1.5rem;
}

.progress-line-bg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border);
    transform: translateY(-50%);
    z-index: 1;
}

.progress-line-fill {
    position: absolute;
    top: 50%;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary);
    transform: translateY(-50%);
    z-index: 2;
    transition: var(--transition);
}

.progress-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 3;
    transition: var(--transition);
    position: relative;
    font-family: var(--font-heading);
}

.progress-node.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 10px rgba(46, 125, 50, 0.3);
}

.progress-node.completed {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
}

.progress-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    width: 80px;
    text-align: center;
}

.progress-label.active {
    color: var(--primary);
}

.wizard-content {
    padding: 3rem;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-step-title {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.wizard-step-desc {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Card Selection layout inside the pre-qualification form */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.selection-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.selection-card:hover {
    border-color: var(--primary-light);
    background: var(--bg-light);
}

.selection-card.selected {
    border-color: var(--primary);
    background: var(--bg-green-tint);
}

.selection-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.selection-icon {
    display: none !important;
}

.selection-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary);
}

.selection-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.card-check-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: transparent;
    transition: var(--transition);
}

.selection-card.selected .card-check-badge {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

/* Wizard Navigation Elements */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

/* Forms & Formatting controls */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* 10DLC SMS Compliance Styling */
.compliance-checkbox-block {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.checkbox-label-container {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.checkbox-label-container input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.disclosure-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.disclosure-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

/* Form Submit Feedback messages */
.form-feedback {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
    text-align: center;
}

.form-feedback.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.form-feedback.success {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}

/* Honeypot anti-spam trap */
.honeypot-field {
    display: none;
    visibility: hidden;
}

/* Grid Layout for details and text info details */
.info-details-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.text-content h2, .text-content h3 {
    color: var(--secondary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.text-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.text-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.text-content li {
    margin-bottom: 0.5rem;
}

.contact-info-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.contact-info-card h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--secondary);
}

.contact-info-list {
    list-style: none;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-item-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-info-item-text h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.contact-info-item-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer styling */
.site-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 5rem 0 2rem;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

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

.footer-info-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
    color: #cbd2cb;
    font-size: 0.95rem;
}

.footer-info-item a:hover {
    color: var(--primary-light);
}

.footer-info-item span {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(200, 230, 201, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #cbd2cb;
}

.footer-bottom-links a {
    color: #cbd2cb;
    font-size: 0.85rem;
    margin-left: 1.5rem;
}

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

.footer-compliance-text {
    font-size: 0.75rem;
    color: #8c9c8e;
    line-height: 1.5;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(200, 230, 201, 0.1);
    padding-top: 1.5rem;
}

/* Success layout page */
.success-card {
    text-align: center;
    max-width: 600px;
    margin: 5rem auto;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    border-top: 6px solid var(--primary);
    background: var(--white);
}

.success-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 2rem;
    background: var(--bg-light);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.success-card h2 {
    font-size: 2.25rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.success-card p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

/* Responsive media queries */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .split-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .info-details-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .wizard-content {
        padding: 1.5rem;
    }
    
    .selection-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
