/* =========================================================
   AI PLATFORM - GLOBAL STYLES
   ========================================================= */

:root {
    --primary: #2563eb;
    --primary-light: #38bdf8;
    --secondary: #0ea5e9;
    --dark: #0f172a;
    --dark-blue: #172554;
    --text: #334155;
    --muted: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
    --radius: 20px;
}

/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 90px 0;
}

/* =========================================================
   NAVBAR
   ========================================================= */

.main-navbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 5px 25px rgba(15, 23, 42, 0.05);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-brand {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark) !important;
    letter-spacing: -1px;
}

.navbar-brand span {
    color: var(--primary);
}

.brand-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    margin-right: 8px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.navbar-nav .nav-link {
    color: #334155 !important;
    font-weight: 600;
    margin: 0 7px;
    transition: 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

/* Navbar button */

.nav-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 12px;
    font-weight: 700 !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.nav-btn:hover {
    transform: translateY(-2px);
    color: white !important;
}

/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.20), transparent 30%),
        radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.10), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: rgba(56, 189, 248, 0.08);
    border-radius: 50%;
    top: -200px;
    right: -150px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: #eff6ff;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 22px;
    border: 1px solid #dbeafe;
}

.hero-title {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--dark);
    margin-bottom: 25px;
}
.hero-title {
    position: relative;
    z-index: 5;
}


.hero-title span {
    color: #2563eb;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #2563eb;
}
.hero-description {
    font-size: 18px;
    color: var(--muted);
    max-width: 650px;
    margin-bottom: 35px;
}

/* Hero buttons */

.btn-primary-ai {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 26px;
    border-radius: 13px;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    font-weight: 700;
    border: none;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
    transition: 0.3s ease;
}

.btn-primary-ai:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(37, 99, 235, 0.30);
}

.btn-outline-ai {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 25px;
    border-radius: 13px;
    color: var(--primary);
    background: white;
    font-weight: 700;
    border: 1px solid #bfdbfe;
    transition: 0.3s ease;
}

.btn-outline-ai:hover {
    background: #eff6ff;
    color: var(--primary);
    transform: translateY(-3px);
}

/* =========================================================
   AI VISUAL
   ========================================================= */

.ai-visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-main-card {
    width: 360px;
    min-height: 390px;
    border-radius: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.16);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

.ai-circle {
    width: 90px;
    height: 90px;
    margin: 10px auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
}

.ai-main-card h3 {
    text-align: center;
    color: var(--dark);
    font-weight: 800;
}

.ai-main-card p {
    text-align: center;
    color: var(--muted);
}

.ai-mini-card {
    position: absolute;
    padding: 13px 18px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    font-weight: 700;
    color: var(--dark);
    z-index: 3;
    animation: floating 4s ease-in-out infinite;
}

.ai-mini-card i {
    color: var(--primary);
    margin-right: 7px;
}

.mini-one {
    top: 70px;
    left: 0;
}

.mini-two {
    top: 160px;
    right: 0;
    animation-delay: 1s;
}

.mini-three {
    bottom: 75px;
    left: 20px;
    animation-delay: 2s;
}

.mini-four {
    bottom: 25px;
    right: 20px;
    animation-delay: 3s;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* =========================================================
   SECTION TITLES
   ========================================================= */

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 55px;
}

.section-heading .small-title {
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--dark);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--muted);
    font-size: 17px;
}

/* =========================================================
   MODEL CARDS
   ========================================================= */

.model-card {
    height: 100%;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
}

.model-card::before {
    content: "";
    position: absolute;
    height: 4px;
    width: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.10);
    border-color: #bfdbfe;
}

.model-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #eff6ff;
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 22px;
}

.model-card h3 {
    color: var(--dark);
    font-size: 23px;
    font-weight: 800;
    margin-bottom: 12px;
}

.model-card p {
    color: var(--muted);
}

.model-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.model-list li {
    margin-bottom: 9px;
    color: var(--text);
}

.model-list i {
    color: #16a34a;
    margin-right: 8px;
}

/* =========================================================
   AI TOOL CARDS
   ========================================================= */

.tool-card {
    height: 100%;
    padding: 28px;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--border);
    transition: 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: #bfdbfe;
}

.tool-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 18px;
}

.tool-card h4 {
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 8px;
}

.tool-card p {
    color: var(--muted);
    font-size: 15px;
}

/* =========================================================
   FEATURES
   ========================================================= */

.feature-box {
    display: flex;
    gap: 18px;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: white;
    height: 100%;
    transition: 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    min-width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

/* =========================================================
   STATS
   ========================================================= */

.stats-section {
    background: linear-gradient(135deg, #eff6ff, #f0f9ff);
}

.stat-card {
    text-align: center;
    padding: 25px;
}

.stat-card h3 {
    color: var(--primary);
    font-size: 40px;
    font-weight: 800;
}

.stat-card p {
    color: var(--muted);
    font-weight: 600;
}

/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 80px 0;
}

.cta-box {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 70px 40px;
    text-align: center;
    background: linear-gradient(135deg, #172554, #1d4ed8);
    color: white;
}

.cta-box::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    top: -150px;
    right: -80px;
}

.cta-box h2 {
    font-size: 42px;
    font-weight: 800;
    position: relative;
}

.cta-box p {
    max-width: 650px;
    margin: 15px auto 28px;
    color: #dbeafe;
    position: relative;
}

/* =========================================================
   FOOTER
   ========================================================= */

.main-footer {
    background: #071225;
    color: #94a3b8;
    padding: 75px 0 25px;
}

.footer-brand {
    color: white;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 18px;
}

.footer-brand span {
    color: #38bdf8;
}

.footer-description {
    max-width: 350px;
    line-height: 1.8;
}

.footer-title {
    color: white;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #38bdf8;
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: white;
    background: rgba(255,255,255,0.08);
    transition: 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 50px;
    padding-top: 22px;
    text-align: center;
    font-size: 14px;
}

/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
    padding: 100px 0;
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(56,189,248,0.15), transparent 30%),
        #f8fbff;
}

.page-hero h1 {
    font-size: clamp(40px, 6vw, 62px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.page-hero p {
    max-width: 700px;
    margin: auto;
    color: var(--muted);
    font-size: 17px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .navbar-nav {
        padding-top: 15px;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }

    .hero-section {
        min-height: auto;
        padding: 100px 0;
    }

    .ai-visual {
        margin-top: 60px;
    }
}

@media (max-width: 576px) {

    section {
        padding: 65px 0;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 16px;
    }

    .ai-main-card {
        width: 290px;
    }

    .ai-mini-card {
        font-size: 13px;
        padding: 9px 12px;
    }

    .mini-one {
        left: -5px;
    }

    .mini-two {
        right: -5px;
    }

    .cta-box {
        padding: 50px 22px;
    }

    .cta-box h2 {
        font-size: 31px;
    }
}