/* Clean, Minimalist Design System */
:root {
    --white: #ffffff;
    --black: #000000;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --primary: #000000;
    --primary-hover: #171717;
    --accent: #0066ff;
    --accent-hover: #0052cc;
    
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition: all 0.2s ease;
    
    --max-width: 1280px;
    --spacing-unit: 8px;
}

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

/* Ensure content doesn't hide under navbar */
body {
    padding-top: 70px;
}

/* Mobile navbar adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar .d-flex {
        gap: 0.5rem !important;
    }
    
    .navbar .nav-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .navbar .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .navbar .badge {
        display: none;
    }
}

/* Shared container styles for consistent alignment */
.navbar-container,
.hero-container,
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}



/* Navbar specific styles */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Adjust navbar for visual alignment with hero grid content */
@media (min-width: 1025px) {
    .navbar-container {
        padding-right: calc(2rem + 2rem); /* Account for grid gap - half of 4rem gap */
    }
}



/* Bootstrap utility classes for navbar */
.d-flex {
    display: flex !important;
}

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

.gap-3 {
    gap: 1rem !important;
}

@media (max-width: 1024px) {
    .navbar-container,
    .hero-container,
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-container,
    .hero-container,
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--black);
}

.nav-link.faq-box {
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.nav-link.faq-box:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
}

/* Hero Section - Clean & Minimal */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: var(--gray-50);
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero-title {
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gray-600);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 60px);
        padding: 3rem 1.5rem;
    }
    
    .hero-content {
        margin-top: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

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

/* Buttons - Clean & Modern */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1.5;
}

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

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

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--gray-300);
    cursor: pointer;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--black);
    transform: translateY(-1px);
}

/* Sections */
.section {
    padding: 5rem 2rem;
}

/* Container styles moved to shared styles above */

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Feature Grid - Clean Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--gray-300);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Stats Section - Minimal */
.stats {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    background: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--black);
}

/* Footer - Minimal */
.footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
    color: var(--gray-600);
}

.footer-minimal {
    padding: 2rem 0;
    border-top: 1px solid var(--gray-100);
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.footer-minimal .footer-links {
    margin-top: 0;
    gap: 2rem;
}

.footer-link {
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
}

.footer-minimal .footer-link {
    color: var(--gray-400);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.footer-minimal .footer-link:hover {
    color: var(--black);
    background-color: var(--gray-50);
    transform: translateY(-2px);
}

.footer-link:hover {
    color: var(--black);
}

@media (max-width: 768px) {
    .footer-minimal {
        padding: 1.5rem 0;
    }
    
    .footer-minimal .footer-links {
        gap: 1.5rem;
    }
    
    .footer-minimal .footer-link {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--gray-600); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-400);
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.modal-close:hover {
    color: var(--gray-700);
    background-color: var(--gray-100);
}

.modal-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Subtle Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.scale-in {
    transform: scale(0.95);
    opacity: 0;
    animation: scaleIn 0.6s ease forwards;
}

@keyframes scaleIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 4px;
}

.badge-primary {
    background: var(--black);
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Auth Forms */
.auth-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: 0;
}

.auth-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
}

.auth-card h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form {
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #1f2937;
    font-size: 0.925rem;
    letter-spacing: 0.01em;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #fafbfc;
    color: #1f2937;
}

.form-control::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.form-control:hover {
    border-color: #d1d5db;
    background-color: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: var(--black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
    background-color: white;
}

/* Select styling */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236b7280' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.125rem center;
    background-size: 10px;
    padding-right: 2.75rem;
}

select.form-control:hover {
    cursor: pointer;
}

select.form-control:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23111827' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
}

.form-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
}

.checkbox-label span {
    font-size: 0.95rem;
}

.btn-block {
    width: 100%;
}

.auth-links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.auth-links p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.auth-links .link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-links .link:hover {
    text-decoration: underline;
}

.auth-links .separator {
    margin: 0 0.5rem;
    color: var(--text-muted);
}

/* Alerts */
.alert {
    position: relative;
    padding: 1rem 2.5rem 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert-success {
    background-color: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.alert-success::before {
    content: "✓";
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 1.1rem;
}

.alert-danger, .alert-error {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-danger::before, .alert-error::before {
    content: "!";
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 1.1rem;
    width: 1.5rem;
    height: 1.5rem;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-warning {
    background-color: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-warning::before {
    content: "!";
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 1.1rem;
    width: 1.5rem;
    height: 1.5rem;
    background: #fbbf24;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-info {
    background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.alert-info::before {
    content: "i";
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 0.9rem;
    font-style: italic;
    width: 1.5rem;
    height: 1.5rem;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Adjust padding for alerts with icons */
.alert-success, .alert-danger, .alert-error, .alert-warning, .alert-info {
    padding-left: 3.5rem;
}

/* Alert close button */
.alert .close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.25rem;
    color: inherit;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s;
}

.alert .close:hover {
    opacity: 0.8;
}

/* Alert with timer */
.alert-timer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: currentColor;
    opacity: 0.3;
    animation: timer 5s linear forwards;
}

@keyframes timer {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Toast-style alerts */
.alert-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    left: auto;
    width: auto;
    min-width: 300px;
    max-width: 400px;
    z-index: 1050;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Stack multiple alerts */
.alerts-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Mobile alert adjustments */
@media (max-width: 600px) {
    .alerts-container {
        left: 10px;
        right: 10px;
    }
    
    .alert-toast {
        position: relative;
        width: 100%;
        max-width: none;
    }
}

/* Dashboard */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.dashboard-header h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Deals Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.deal-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.deal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.deal-card.closed {
    opacity: 0.7;
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.deal-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.deal-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-closed {
    background-color: #e2e3e5;
    color: #383d41;
}

.status-funded {
    background-color: #cce5ff;
    color: #004085;
}

.deal-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 500;
    text-align: right;
}

.deal-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Form Sections */
.form-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.form-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.criteria-card {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 1rem;
    text-align: center;
}

.criteria-card.selected {
    background: var(--primary-color);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: start;
        gap: 1rem;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .dashboard-container {
        padding: 1rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

.text-highlight {
    background: linear-gradient(120deg, #000 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Role Select */
.role-grid {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 2rem;
}

@media (max-width: 700px) {
    .role-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.role-card, .role-card:hover, .role-card * {
    color: var(--black) !important;
}

.role-card {
    flex: 1 1 320px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.role-card:hover {
    border-color: var(--black);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.role-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.role-select .btn-outline {
    margin-top: 1.25rem;
}

/* Multi-step Registration Form Styles */
.auth-card-wide {
    max-width: 720px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Progress Indicator */
.progress-container {
    margin-bottom: 3rem;
}

.progress-bar {
    height: 3px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 2.25rem;
}

.progress-fill {
    height: 100%;
    background: var(--black);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.progress-step {
    text-align: center;
    opacity: 0.4;
    transition: opacity 0.2s;
}

.progress-step.active {
    opacity: 1;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gray-200);
    color: var(--gray-600);
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.progress-step.active .step-number {
    background: var(--black);
    color: var(--white);
}

.step-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Form Step Headers */
.step-header {
    text-align: center;
    margin-bottom: 3.5rem;
    padding-bottom: 1rem;
}

.step-header h3 {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.02em;
}

.step-header .text-muted {
    font-size: 1.05rem;
    color: #6b7280;
    font-weight: 400;
}

/* Form Elements */
.tab {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab.active {
    display: block;
}

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

.required {
    color: var(--accent);
    margin-left: 2px;
}

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

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

/* Phone Input */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    overflow: hidden;
}

.phone-prefix {
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-right: 1px solid var(--gray-300);
    font-size: 0.95rem;
}

.phone-input {
    border: none;
    flex: 1;
}

.phone-input:focus {
    outline: none;
}

.phone-input-wrapper:focus-within {
    border-color: var(--black);
}

/* Classification Grid */
.classification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.classification-option {
    display: block;
    padding: 1.25rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafbfc;
}

.classification-option:hover {
    border-color: #9ca3af;
    background: #ffffff;
    transform: translateY(-1px);
}

.classification-option input[type="radio"],
.classification-option input[type="checkbox"] {
    display: none;
}

.classification-option input[type="radio"]:checked + .option-content,
.classification-option input[type="checkbox"]:checked + .option-content {
    font-weight: 500;
}

.classification-option input[type="radio"]:checked ~ *,
.classification-option input[type="checkbox"]:checked ~ * {
    color: var(--black);
}

.classification-option:has(input:checked) {
    border-color: var(--black);
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

.option-title {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.option-desc {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Acknowledgement Cards */
.acknowledgements-section {
    margin: 2.5rem 0;
}

.acknowledgements-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.ack-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    transition: all 0.2s;
}

.ack-card:hover {
    background: #ffffff;
    border-color: #d1d5db;
}

.ack-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.ack-content {
    flex: 1;
}

.ack-content h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.ack-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Custom Checkbox */
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-box {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-400);
    border-radius: 4px;
    margin-right: 0.75rem;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.custom-checkbox input:checked + .checkbox-box {
    background: var(--black);
    border-color: var(--black);
}

.custom-checkbox input:checked + .checkbox-box::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.875rem;
}

.checkbox-label {
    font-size: 0.875rem;
    line-height: 1.4;
}

.custom-checkbox.error .checkbox-box {
    border-color: #dc3545;
}

/* Experience Grid (LP) */
.experience-grid {
    display: grid;
    gap: 2rem;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.radio-option {
    display: block;
    padding: 0.875rem 1.125rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fafbfc;
}

.radio-option:hover {
    border-color: #9ca3af;
    background: #ffffff;
    transform: translateY(-1px);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option:has(input:checked) {
    border-color: var(--black);
    background: var(--black);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.radio-option:has(input:checked) .radio-label {
    color: white;
    font-weight: 500;
}

.radio-label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--gray-200);
}

.form-actions .btn {
    min-width: 140px;
    padding: 0.875rem 2rem;
    font-weight: 600;
}

.form-actions .btn-outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.form-actions .btn-outline:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.form-actions .btn-primary {
    margin-left: auto;
    background: var(--black);
    color: white;
    border: 2px solid var(--black);
}

.form-actions .btn-primary:hover {
    background: var(--gray-900);
    border-color: var(--gray-900);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Final Message */
.final-message {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
}

.final-message p {
    margin: 0;
}

/* Error States */
.form-control.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-control.error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.form-group.error label {
    color: #ef4444;
}

.form-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

/* Button Styles */
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .auth-card-wide {
        padding: 2rem 1.5rem;
    }
    
    .progress-steps {
        font-size: 0.75rem;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .classification-grid {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        grid-template-columns: 1fr 1fr;
    }
    
    .ack-card {
        flex-direction: column;
        text-align: center;
    }
    
    .ack-icon {
        font-size: 2rem;
    }
}


.tab { display: none; }
.tab.active { display: block; }

.auth-card.role-select {
    max-width: 850px;
}

.role-grid .btn {
    flex: 1 1 45%;
    white-space: normal;
}

/* Premium Landing Page Styles */

/* Hero Split Section */
.hero-split {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
    position: relative;
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .hero-split {
        min-height: auto;
        padding: 1rem 0;
        margin-top: 20px;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .badge-dot {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .hero-split {
        margin-top: 10px;
        padding: 0.5rem 0;
    }
}

/* Hero container specific styles */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
}

.hero-left {
    padding-right: 2rem;
}

@media (max-width: 1024px) {
    .hero-left {
        padding-right: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-left {
        padding-right: 0;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #10B981;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-badge {
        margin-bottom: 1rem;
        margin-top: 1rem;
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: #111827;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
        line-height: 1.15;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 0.75rem;
    }
}

.text-gradient {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 2rem;
    max-width: 540px;
}

@media (max-width: 1024px) {
    .hero-description {
        font-size: 1.05rem;
        line-height: 1.55;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 2.5rem;
}

.hero-cta .btn {
    flex: 0 0 auto;
}

@media (max-width: 1024px) {
    .hero-cta {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-cta .btn {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
        min-width: unset;
    }
}

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

@media (max-width: 768px) {
    .btn-large {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

.btn-primary {
    background: #111827;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1F2937;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(3px);
}

.btn-ghost {
    background: transparent;
    color: #111827;
    border: 2px solid #E5E7EB;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 500;
}

.btn-ghost:hover {
    border-color: #111827;
    background: #111827;
    color: white;
}

/* Removed - consolidated into clean rewrite below */

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
}

.stat-label {
    font-size: 0.875rem;
    color: #6B7280;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #E5E7EB;
}

/* Hero Visual Cards */
.hero-right {
    position: relative;
    height: 500px;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.card-1 {
    top: 20px;
    left: 0;
    width: 320px;
    z-index: 3;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-badge {
    background: #FEF3C7;
    color: #D97706;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-status {
    color: #10B981;
    font-size: 0.875rem;
    font-weight: 500;
}

.visual-card h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #111827;
}

.card-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: #6B7280;
    margin-bottom: 0.25rem;
}

.metric-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.card-progress {
    margin-top: 1rem;
}

.progress-bar {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: #10B981;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: #6B7280;
}

.card-2 {
    top: 200px;
    right: 20px;
    width: 340px;
    z-index: 2;
}

.match-notification {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.notification-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #ECFDF5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-notification h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #111827;
}

.match-notification p {
    font-size: 0.875rem;
    color: #6B7280;
    margin: 0;
}

.card-3 {
    bottom: 40px;
    left: 60px;
    width: 300px;
    z-index: 1;
}

.investor-profile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    background: #111827;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.profile-type {
    font-size: 0.875rem;
    color: #6B7280;
}

.profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.stat-text {
    font-size: 0.75rem;
    color: #6B7280;
}

/* Trust Section */
.trust-section {
    padding: 2rem 0;
    background: #FAFAFA;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 500;
}

.trust-icon {
    color: #111827;
}

/* Premium Sections */
.section-premium {
    padding: 4rem 2rem;
}

.section-dark {
    background: #111827;
    color: white;
    padding: 4rem 2rem;
}

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

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0066ff;
    margin-bottom: 1rem;
}

.section-header.light .section-label {
    color: #60A5FA;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.section-header.light .section-title {
    color: white;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

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

.process-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.process-card:hover {
    border-color: #111827;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.process-number {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: #F3F4F6;
    z-index: 0;
}

.process-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.process-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.process-card p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.process-link {
    color: #0066ff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.3s ease;
}

.process-link:hover {
    gap: 0.5rem;
}

.process-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #EFF6FF;
    color: #0066ff;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Premium Features */
.features-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

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

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.feature-premium h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.feature-premium p {
    color: #9CA3AF;
    line-height: 1.6;
}

/* Testimonials */
.section-testimonials {
    padding: 4rem 2rem;
    background: #F9FAFB;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.testimonial-author h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #111827;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: #6B7280;
}

/* CTA Premium */
.cta-premium {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.25rem;
    color: #9CA3AF;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn-white {
    background: white;
    color: #111827;
}

.btn-white:hover {
    background: #F3F4F6;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #9CA3AF;
    font-size: 0.875rem;
}

.cta-trust svg {
    color: #10B981;
}

/* Footer Premium */
.footer-premium {
    background: #111827;
    color: #9CA3AF;
    padding: 3rem 2rem 2rem;
}

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

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.footer-column h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

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

.footer-column a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

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

.footer-badges {
    display: flex;
    gap: 1rem;
}

.footer-badge {
    height: 24px;
    opacity: 0.6;
}

/* Animations */
[data-animate="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInRight 0.8s ease forwards;
}

[data-animate="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInLeft 0.8s ease forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-left {
        padding-right: 0;
    }
    
    .hero-right {
        display: none;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    /* Removed - using clean rewrite below */
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-left {
        padding: 2rem 0;
    }
    
    .hero-badge {
        margin-top: 2rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
        margin-top: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    .btn-large {
        font-size: 1rem;
    }
    
    /* Removed - using clean rewrite below */
    
    .stat-divider {
        display: none;
    }
    
        /* Removed - using clean rewrite below */
    
    .trust-section {
        padding: 1.5rem 0;
    }
    
    .trust-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .trust-item {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    
    .trust-icon {
        width: 20px;
        height: 20px;
    }
    
    .process-grid,
    .features-premium,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .section-premium,
    .section-dark,
    .section-testimonials,
    .cta-premium {
        padding: 3rem 1.5rem;
    }
    
    /* Removed - using clean rewrite below */
    
    .stat-divider {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-card {
        padding: 2rem;
    }
    
    .process-number {
        font-size: 2rem;
        top: 2rem;
        right: 2rem;
    }
}

/* Extra small devices (phones < 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    .navbar .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .hero-split {
        padding: 1rem 0;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
        margin-top: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
        padding: 0;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-item {
        justify-content: center;
        padding: 0.5rem;
    }
}

/* Modern Section Styles */
.section-how-it-works {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, #FFFFFF 0%, #F9FAFB 100%);
    position: relative;
    overflow: hidden;
}

.section-how-it-works::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #111827;
}

.section-subtitle-modern {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline-line {
    position: absolute;
    left: 90px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: #E5E7EB;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    background: #E5E7EB;
    border-radius: 50%;
    z-index: 2;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #0066ff 0%, #10B981 100%);
    animation: fillLine 3s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fillLine {
    to {
        height: 100%;
    }
}

.process-step {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: flex-start;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.step-circle {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid #111827;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.process-step:hover .step-circle {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: #111827;
    color: white;
}

.step-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
}

.process-step:hover .step-content {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #E5E7EB;
}

.step-content h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: #111827;
    font-weight: 700;
}

.step-content p {
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.0625rem;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-features li {
    position: relative;
    padding-left: 2.5rem; /* give a bit more space for icon */
    margin-bottom: 0.75rem;
    color: #374151;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.step-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-features li::after {
    content: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .step-features li {
        padding-left: 2rem;
    }

    .step-features li::before {
        width: 16px;
        height: 16px;
    }
}

.step-features li:last-child {
    margin-bottom: 0;
}

/* Mobile adjustments for process timeline */
@media (max-width: 768px) {
    .process-timeline {
        padding: 0 1rem;
    }
    
    .timeline-line {
        left: 40px;
    }
    
    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        border-width: 2px;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .step-content h3 {
        font-size: 1.5rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
    
    .step-features li {
        font-size: 0.875rem;
        padding-left: 1.5rem;
    }
    
    .step-features li::before {
        width: 16px;
        height: 16px;
        font-size: 0.625rem;
    }
}

/* Bento Grid Features */
.section-features-modern {
    padding: 5rem 2rem;
    background: #F9FAFB;
}

.features-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-item {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    grid-column: span 1;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-icon {
    margin-bottom: 1.5rem;
}

.bento-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.bento-item p {
    color: #6B7280;
    line-height: 1.6;
}

.bento-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
}

.bento-stats .stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bento-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.bento-stats .stat-label {
    font-size: 0.875rem;
    color: #6B7280;
}

.bento-content-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

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

.metric-large {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #0066ff;
    line-height: 1;
}

.metric-label {
    font-size: 0.875rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

/* Social Proof Section */
.section-social-proof {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, #F9FAFB 0%, #FFFFFF 100%);
}

.social-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.proof-stat {
    text-align: center;
    padding: 2rem;
}

.proof-stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.proof-stat p {
    color: #6B7280;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Modern Testimonials */
.section-testimonials-modern {
    padding: 5rem 2rem;
    background: white;
}

.testimonials-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-modern {
    background: #F9FAFB;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-modern.featured {
    background: #111827;
    color: white;
    transform: scale(1.05);
}

.testimonial-quote {
    font-size: 4rem;
    color: #E5E7EB;
    line-height: 1;
    margin-bottom: -1rem;
    font-family: Georgia, serif;
}

.testimonial-modern.featured .testimonial-quote {
    color: #374151;
}

.testimonial-modern .testimonial-text {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #374151;
}

.testimonial-modern.featured .testimonial-text {
    color: #F3F4F6;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.testimonial-footer h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #111827;
}

.testimonial-modern.featured .testimonial-footer h5 {
    color: white;
}

.testimonial-footer span {
    font-size: 0.875rem;
    color: #6B7280;
}

.testimonial-modern.featured .testimonial-footer span {
    color: #9CA3AF;
}

/* Modern CTA */
.cta-modern {
    padding: 5rem 2rem;
    background: white;
}

.cta-card {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-pattern {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content-modern {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-content-modern h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content-modern p {
    font-size: 1.125rem;
    color: #9CA3AF;
    margin-bottom: 2.5rem;
}

.cta-buttons-modern {
    display: flex;
    /* Updated to show buttons side-by-side on larger screens */
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cta-buttons-modern .btn {
    width: auto;
    min-width: 200px;
}

/* Stack buttons vertically on mobile for better readability */
@media (max-width: 768px) {
    .cta-buttons-modern {
        flex-direction: column;
    }
    
    .cta-buttons-modern .btn {
        width: 100%;
        max-width: 300px;
    }
}

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9CA3AF;
    font-size: 0.875rem;
}

.cta-feature svg {
    flex-shrink: 0;
}

/* Responsive Design Updates */
@media (max-width: 1024px) {
    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
    }
    
    .process-step.reverse {
        grid-template-columns: 60px 1fr;
    }
    
    .process-step.reverse .step-content {
        grid-column: 2;
        text-align: left;
    }
    
    .step-visual {
        display: none;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .features-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .section-title-modern {
        font-size: 2rem;
    }
    
    .process-step {
        margin-bottom: 3rem;
    }
    
    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step-content h3 {
        font-size: 1.5rem;
    }
    
    .features-bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .bento-item.large,
    .bento-item.wide {
        grid-column: span 1;
    }
    
    .bento-content-horizontal {
        flex-direction: column;
        text-align: center;
    }
    
    .social-proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-modern-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-modern.featured {
        transform: scale(1);
    }
    
    .cta-card {
        padding: 3rem 2rem;
    }
    
    .cta-content-modern h2 {
        font-size: 2rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .section-how-it-works,
    .section-features-modern,
    .section-testimonials-modern,
    .cta-modern {
        padding: 3rem 1.5rem;
    }
    
    .social-proof-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .proof-stat {
        padding: 1.5rem;
    }
    
    .proof-stat h3 {
        font-size: 2rem;
    }
}

/* Footer Disclaimers Section */
.disclaimers-section {
    padding: 3rem 2rem;
    background: #F9FAFB;
    border-top: 1px solid #E5E7EB;
}

.disclaimers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.disclaimer-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.disclaimer-item p {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.6;
}

/* Mobile adjustments for disclaimers */
@media (max-width: 768px) {
    .disclaimers-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .disclaimers-section {
        padding: 2rem 1.5rem;
    }
}

/* --- Custom override: hero stats equal columns --- */
/* Removed - consolidated into clean rewrite below */

/* --- Hero Stats Grid on Right --- */
.hero-split .hero-container { 
    grid-template-columns: 1fr 1fr !important; 
}

/* Stat subtext style */
.hero-stats .stat-subtext {
    font-size: 0.75rem;
    color: #6B7280;
    margin-top: 0.25rem;
}
/* --- End --- */

/* Removed - consolidated into clean rewrite below */

/* --- HERO STATS GRID --- */
.hero-right {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
    margin-bottom: 3rem; /* space before footer */
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-card .stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.stat-card .stat-subtext {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* Tablet responsive */
@media (max-width: 1024px) {
    .hero-split .hero-container {
        grid-template-columns: 1fr !important;
        gap: 4rem;
    }
    
    .hero-right {
        order: 2;
    }
    
    .hero-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-split .hero-container {
        gap: 2rem;
    }
    
    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 2rem; /* reduced space on tablet */
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.75rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-card .stat-subtext {
        font-size: 0.75rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-split .hero-container {
        gap: 1.5rem;
    }
    
    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 2.5rem; /* balanced bottom spacing */
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.75rem;
    }
}
/* --- END HERO STATS REDESIGN --- */
