:root {
    --primary-color: #0F172A;
    /* Dark Blue */
    --secondary-color: #1E293B;
    /* Slightly Lighter Dark Blue */
    --highlight-color: #f97316;
    /* Orange */
    --highlight-hover: #ea580c;
    --text-main: #334155;
    --text-muted: #64748B;
    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-card: #FFFFFF;
    --border-color: #E2E8F0;

    --font-family: 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

ul {
    list-style: none;
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Layout Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

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

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

.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
    color: #fff;
}

.bg-dark p {
    color: #CBD5E1;
}

.bg-accent {
    background-color: var(--highlight-color);
    color: #fff;
}

.mt-4 {
    margin-top: 24px;
}

.section-title {
    margin-bottom: 56px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.bg-dark .section-title p {
    color: #94A3B8;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--highlight-color);
    margin: 16px 0 24px 0;
    border-radius: var(--radius-full);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--highlight-color);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--highlight-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--highlight-color);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-main);
    position: relative;
    padding: 4px 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--highlight-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: url('../images/hero_bg.png') center/cover no-repeat;
    background-color: var(--primary-color);
    /* Fallback */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 1;
}

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

.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #E2E8F0;
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.card {
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
    text-align: left;
    position: relative;
    top: 0;
}

.card:hover {
    top: -8px;
    box-shadow: var(--shadow-lg);
    border-color: rgba(249, 115, 22, 0.3);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--highlight-color);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.card:hover .icon-wrapper {
    background-color: var(--highlight-color);
    color: #fff;
    transform: scale(1.05);
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

/* Split Layouts (About, Partner) */
.about-container,
.partner-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2,
.partner-content h2 {
    font-size: 2.5rem;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.image-placeholder {
    width: 100%;
    height: 480px;
    background: linear-gradient(135deg, var(--bg-main), #F1F5F9);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--text-muted);
    opacity: 0.8;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.partner-benefits {
    margin-top: 32px;
}

.partner-benefits li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.partner-benefits li i {
    color: var(--highlight-color);
    background-color: rgba(249, 115, 22, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* How It Works Steps */
.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    gap: 16px;
    margin-top: 32px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 16px;
}

.step-number {
    width: 48px;
    height: 48px;
    background-color: var(--highlight-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 24px;
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.2);
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    transition: var(--transition);
}

.step:hover .step-icon {
    transform: translateY(-8px);
    color: var(--highlight-color);
}

.step h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.step-arrow {
    display: flex;
    align-items: center;
    color: var(--border-color);
    font-size: 2rem;
    padding-top: 60px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 32px;
}

.benefit-item {
    text-align: center;
    padding: 32px 24px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.benefit-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.8rem;
    color: var(--highlight-color);
    margin-bottom: 24px;
}

.benefit-item h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.benefit-item p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Stats Section */
.statistics {
    padding: 70px 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

.contact-card {
    background-color: var(--bg-main);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    text-align: center;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--highlight-color);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.contact-card a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-card a:hover {
    color: var(--highlight-color);
}

.contact-form-wrapper {
    background-color: var(--bg-main);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-light);
    color: var(--text-main);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
    background-color: #fff;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 80px 0 24px;
}

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

.footer-logo {
    color: #fff;
    margin-bottom: 24px;
    display: inline-flex;
    font-size: 1.8rem;
}

.footer-brand p {
    color: #94A3B8;
    max-width: 320px;
    font-size: 1.05rem;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.35rem;
    margin-bottom: 24px;
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 16px;
}

.footer-links ul li a {
    color: #94A3B8;
    font-weight: 500;
}

.footer-links ul li a:hover {
    color: var(--highlight-color);
    padding-left: 8px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-icons a:hover {
    background-color: var(--highlight-color);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {

    .about-container,
    .partner-container {
        gap: 40px;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        display: flex;
        gap: 24px;
    }

    .contact-card {
        flex: 1;
        margin-bottom: 0;
    }

    .steps-container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .step-arrow {
        display: none;
    }

    .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 400px;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .partner-container {
        grid-template-columns: 1fr;
    }

    .partner-content {
        order: -1;
    }

    .divider {
        margin-left: auto;
        margin-right: auto;
    }

    .partner-benefits li {
        justify-content: flex-start;
    }

    .image-placeholder {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-md);
        gap: 20px;
    }

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

    .mobile-menu-btn {
        display: block;
    }

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

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .nav-container {
        gap: 8px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }
}