/* ========================================
   Font Face - Local Inter Variable Font
   ======================================== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --primary-blue: #024DF2;
    --primary-blue-light: #2f6fe3;
    --primary-blue-dark: #142f73;
    --accent-orange: #f2a329;
    --accent-orange-light: #ffc162;
    --text-dark: #1a315f;
    --text-medium: #425377;
    --text-light: #72819f;
    --bg-white: #ffffff;
    --bg-light: #f8f9fc;
    --bg-blue-light: #eef2fa;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Header / Navbar
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.28rem;
    color: var(--primary-blue-dark);
}

.logo img {
    height: 46px;
    width: auto;
}

.logo-dana {
    color: var(--primary-blue-dark);
}

.logo-plus {
    color: var(--accent-orange);
}

.footer-brand .logo .logo-dana {
    color: #fff;
}

.footer-brand .logo .logo-plus {
    color: var(--accent-orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 3px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a.active {
    color: var(--accent-orange);
    font-weight: 700;
}

.btn-get-started {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: linear-gradient(180deg, #2f6fe3 0%, #1f57bf 62%, #1a4daa 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.86rem;
    border-radius: 10px;
    border: 1px solid rgba(20, 47, 115, 0.4);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(31, 87, 191, 0.2), 0 1px 0 rgba(20, 47, 115, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-get-started:hover {
    background: linear-gradient(180deg, #3b79ea 0%, #2864ce 60%, #1f57bf 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 13px rgba(31, 87, 191, 0.25), 0 1px 0 rgba(20, 47, 115, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-get-started:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(31, 87, 191, 0.18), 0 1px 0 rgba(20, 47, 115, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.mobile-only {
    display: none !important;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: flex-start;
    padding-top: 70px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 50%, #dce6ff 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: -30px;
    width: 60%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 42%;
    height: 100%;
    background: linear-gradient(90deg, rgba(240, 244, 255, 0.9) 0%, rgba(240, 244, 255, 0.2) 76%, transparent 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 24px;
    min-height: 470px;
}

.hero-content {
    max-width: 510px;
}

.hero-content h1 {
    font-size: 2.62rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.13;
    color: var(--primary-blue-dark);
    margin-bottom: 12px;
}

.hero-content h1 .highlight {
    color: var(--accent-orange);
}

.hero-content p {
    font-size: 0.91rem;
    color: var(--text-medium);
    line-height: 1.68;
    margin-bottom: 28px;
    max-width: 405px;
}

.hero-accent-line {
    width: 52px;
    height: 3px;
    border-radius: 2px;
    background: var(--primary-blue-light);
    margin-bottom: 16px;
}

.hero-ornaments {
    position: absolute;
    top: 165px;
    right: 7%;
    width: 40%;
    height: calc(100% - 15px);
    z-index: 2;
    pointer-events: none;
}

.hero-ornaments .ornament {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.4px solid rgba(255, 255, 255, 0.72);
    color: rgba(255, 255, 255, 0.94);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
}

.hero-ornaments .ornament svg {
    width: 48%;
    height: 48%;
}

.hero-ornaments .orb-1 {
    width: 60px;
    height: 60px;
    top: 17%;
    left: 12%;
}

.hero-ornaments .orb-2 {
    width: 68px;
    height: 68px;
    top: 9%;
    right: 14%;
}

.hero-ornaments .orb-3 {
    width: 56px;
    height: 56px;
    top: 36%;
    right: 7%;
}

.hero-ornaments .orb-4 {
    width: 52px;
    height: 52px;
    top: 46%;
    left: 27%;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: linear-gradient(180deg, #2f6fe3 0%, #1f57bf 60%, #1a4daa 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(20, 47, 115, 0.4);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 12px rgba(31, 87, 191, 0.22), 0 1px 0 rgba(20, 47, 115, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-learn-more:hover {
    background: linear-gradient(180deg, #3b79ea 0%, #2864ce 60%, #1f57bf 100%);
    transform: translateY(-1px);
    box-shadow: 0 7px 15px rgba(31, 87, 191, 0.26), 0 1px 0 rgba(20, 47, 115, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.btn-learn-more:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(31, 87, 191, 0.18), 0 1px 0 rgba(20, 47, 115, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.btn-learn-more .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    transition: var(--transition);
}

.btn-learn-more:hover .arrow {
    background: rgba(255, 255, 255, 0.35);
    transform: translateX(3px);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 72px 0;
    background: var(--bg-light);
}

.about .container {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(620px, 1.45fr);
    gap: 26px;
    align-items: start;
}

.about-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
    padding: 24px;
    height: 100%;
}

.about-text h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 18px;
    position: relative;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    background: var(--accent-orange);
    margin-top: 10px;
    border-radius: 2px;
}

.about-text p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.72;
    margin-bottom: 14px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.stats-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
    padding: 22px 14px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.stat-card {
    background: transparent;
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
    box-shadow: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.09);
    border-color: #e7eaf3;
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 40px;
    height: 40px;
}

.stat-card .stat-top-label {
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--primary-blue-dark);
    font-weight: 500;
    margin-bottom: 6px;
}

.stat-card .stat-value {
    font-size: 2.08rem;
    line-height: 1.3;
    font-weight: 800;
    color: #024DF2;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 0.98rem;
    line-height: 1.5;
    color: #20458f;
    font-weight: 600;
}

@media (min-width: 1025px) {
    .stat-card:not(:last-child) {
        border-right: 1px solid #edf1f7;
        border-radius: 0;
    }

    .stat-card:first-child {
        border-radius: 8px 0 0 8px;
    }

    .stat-card:last-child {
        border-radius: 0 8px 8px 0;
    }
}

@media (max-width: 1180px) {
    .about .container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .stats-panel {
        padding: 18px;
    }
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .stat-card {
        border-color: #edf1f7;
        border-radius: 10px;
        padding: 18px 12px;
    }

    .stat-card .stat-value {
        font-size: 1.75rem;
        line-height: 1.28;
    }

    .stat-card .stat-label {
        font-size: 0.86rem;
        line-height: 1.46;
        color: #68799b;
        font-weight: 500;
    }
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 72px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 48px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-orange);
    margin: 12px auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.1);
    border-color: transparent;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-blue-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-blue);
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   Partners Section
   ======================================== */
.partners {
    padding: 64px 0 72px;
    background: var(--bg-light);
}

.partners-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px 28px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
    transition: var(--transition);
}

.partners-strip:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.1);
}

.partner-entry {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.partner-divider {
    width: 1px;
    height: 58px;
    background: var(--border-light);
    margin: 0 24px;
}

.partner-entry img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.partner-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.partner-info p {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(135deg, #0f2b76 0%, #0d235f 100%);
    color: #fff;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand .logo img {
    height: 50px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    max-width: 300px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.footer-column ul li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent-orange);
}

.footer-column ul li a:hover {
    color: var(--accent-orange-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about .container {
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-only {
        display: inline-flex !important;
    }

    .desktop-only {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-bg {
        width: 100%;
        opacity: 0.2;
    }

    .hero-ornaments {
        display: none;
    }

    .hero-bg::before {
        width: 100%;
        background: linear-gradient(180deg, rgba(240, 244, 255, 0.8) 0%, rgba(240, 244, 255, 0.5) 100%);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero .container {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 12px;
    }

    .about .container {
        grid-template-columns: 1fr;
    }

    .about-card,
    .stats-panel {
        padding: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .partners-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 20px;
    }

    .partner-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.65rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-card .stat-value {
        font-size: 1.68rem;
        line-height: 1.26;
    }

    .about-card,
    .stats-panel {
        padding: 16px;
    }

    .container {
        padding: 0 16px;
    }
}
