/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0166be;
    /* Aori Tech Blue */
    --primary-dark: #014f94;
    --primary-light: #3385cb;
    --secondary-color: #1e293b;
    /* Slate 800 */
    --accent-color: #f59e0b;
    /* Amber/Gold */
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --text-lighter: #9ca3af;
    --bg-light: #f0f9ff;
    /* Very subtle blue tint */
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #0166be;
    --gradient-1: linear-gradient(135deg, #0166be 0%, #014f94 100%);
    --gradient-2: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.16);
}

::selection {
    background: var(--accent-color);
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container_2 {
    max-width: 1200px;
    width: 100%;
    margin-top: 60px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 10;
}


section {
    padding: 40px 0;
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); */
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo img {
    vertical-align: top;
}

/* Logo Visibility Logic */
.logo-desktop {
    display: block;
}

.logo-mobile,
.logo-mobile-invert {
    display: none;
}

.logo a {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.nav-link {
    text-decoration: none;
    color: #e5e7eb;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.85;
}

.nav-link:hover {
    color: #ffffff;
    opacity: 1;
}

/* Navbar themes: over dark hero vs over light content */

/* .navbar.navbar-theme-dark .nav-wrapper {
    background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.3), transparent 55%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.85));
} */
.navbar.scrolled .nav-link,
.navbar.scrolled.navbar-theme-dark .nav-link {
    color: var(--text-dark);
}

.navbar.scrolled .mobile-menu-toggle span {
    background: var(--text-dark);
}

.navbar.navbar-theme-dark .nav-link {
    color: white;
}

.navbar.navbar-theme-dark .nav-link:hover,
.navbar.navbar-theme-dark .nav-link.active {
    color: var(--primary-color);
    opacity: 1;
}

.navbar.navbar-theme-dark .nav-phone-number {
    color: #f9fafb;
}

.navbar.navbar-theme-light .nav-wrapper {
    background: rgba(255, 255, 255, 0.98);
    /* box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15); */
}

.navbar.navbar-theme-light .nav-link {
    color: var(--text-dark);
    opacity: 0.9;
}

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

.navbar.navbar-theme-light .nav-phone-icon {
    background: var(--primary-color);
}

.navbar.navbar-theme-light .nav-phone-number {
    color: var(--text-dark);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.9rem 0.35rem 0.35rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.nav-phone-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.9rem;
}

.nav-phone-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-phone-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
}

.nav-phone-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e5e7eb;
}


.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.navbar.navbar-theme-dark .mobile-menu-toggle span {
    background: #ffffff;
}

.navbar.navbar-theme-dark.scrolled .mobile-menu-toggle span {
    background: var(--text-dark);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    position: relative;
    /* min-height: 100vh; */
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.65)),
        url("kl.jpg") center center / cover no-repeat;
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(1, 102, 190, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 1;
}

.hero .container_2 {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: #f9fafb;
    max-width: 100%;
    margin-bottom: 0;
}

.hero-tagline-wrapper {
    margin-bottom: 1.5rem;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(1, 102, 190, 0.15);
    border: 1px solid rgba(1, 102, 190, 0.3);
    color: #60a5fa;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.hero-tagline-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 8px #60a5fa;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease;
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: rgba(226, 232, 240, 0.9);
    max-width: 540px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.15s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.3s backwards;
    margin-bottom: 2.5rem;
}

.hero-tech-badges {
    display: flex;
    gap: 0.75rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.tech-badge {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94a3b8;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.1);
    font-family: 'Consolas', 'Monaco', monospace;
}

.hero-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 0;
    box-shadow: none;
    background: none;
    border: none;
    animation: fadeInRight 0.8s ease 0.5s backwards;
}

.hero-metric-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.15), transparent 60%);
    pointer-events: none;
}

.hero-metric-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(1, 102, 190, 0.25);
    border-color: rgba(56, 189, 248, 0.6);
}

.hero-metric-card:hover .metric-glow {
    background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.25), transparent 70%);
}

.metric-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(37, 99, 235, 0.1));
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
}

.metric-content {
    display: flex;
    flex-direction: column;
}

.hero-metric-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00fd3f 0%, rgb(139, 255, 139) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-metric-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tech Stack Strip */
.tech-stack-strip {
    background: #0f172a;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    padding: 2rem 0;
    overflow: hidden;
}

.tech-stack-label {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.tech-stack-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.tech-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.3s ease;
    /* filter: grayscale(100%); */
}

.tech-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.tech-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

@media (max-width: 960px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .hero .container_2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-tagline-wrapper, .hero-buttons, .hero-tech-badges {
        justify-content: center;
    }

    .hero-metrics {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-metric-card {
        flex: 1;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .hero-subtitle {
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        margin-bottom: 1.5rem;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 1.25rem;
    }

    .hero-metric-card {
        padding: 1rem 1.25rem;
    }
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-full {
    width: 100%;
}

/* ===========================
   SECTION HEADERS
   =========================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about-section {
    background: var(--bg-white);
}

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

.about-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.about-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.about-icon svg {
    width: 32px;
    height: 32px;
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services-section {
    background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.25), transparent 55%),
        linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #e5e7eb;
    border-radius: 0px 0px 40px 40px;
    margin: 0;
    --services-card-gap: 1.75rem;
}

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

.services-section .section-tag {
    color: #93c5fd;
}

.services-section .section-title {
    color: #f9fafb;
}

.services-section .section-description {
    color: rgba(226, 232, 240, 0.9);
}

.services-carousel {
    position: relative;
    --services-visible: 4;
}

.services-track-mask {
    overflow: hidden;
}

.services-grid {
    display: flex;
    gap: var(--services-card-gap);
    transition: transform 0.6s ease;
}

.services-grid.no-transition {
    transition: none !important;
}

.service-card {
    background: rgba(15, 23, 42, 0.4);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - (var(--services-card-gap) * (var(--services-visible, 4) - 1))) / var(--services-visible, 4));
    min-width: 0;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(96, 165, 250, 0.5);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #93c5fd, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f9fafb;
}

.service-card p {
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.service-link {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
}

.service-link:hover {
    color: #fff;
}

.service-link::after {
    content: '↗';
    font-size: 0.85rem;
}

.services-cta-row {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.services-cta-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.services-cta-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #facc15;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #022c22;
    font-size: 1.1rem;
}

.services-cta-text {
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.95);
}

.services-cta-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #93c5fd;
    text-decoration: none;
}

.services-cta-link:hover {
    color: #ffffff;
}

.services-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: white;
    font-weight: 600;
    text-decoration: none;
    background: radial-gradient(circle at 20% 20%, rgba(148, 197, 253, 0.5), rgba(37, 99, 235, 0.5));
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-cta-button::after {
    content: '→';
    font-size: 1rem;
}

.services-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.45);
}

.services-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.services-nav svg {
    width: 20px;
    height: 20px;
}

.services-nav:hover {
    background: rgba(59, 130, 246, 0.25);
    color: #93c5fd;
    transform: translateY(-50%) scale(1.05);
}

.services-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.services-nav-prev {
    left: -22px;
}

.services-nav-next {
    right: -22px;
}

.services-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.services-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.2s ease;
    cursor: pointer;
}

.services-dot.active {
    width: 28px;
    background: #93c5fd;
}

@media (max-width: 1200px) {
    .services-nav-prev {
        left: -10px;
    }

    .services-nav-next {
        right: -10px;
    }
}

@media (max-width: 1024px) {
    .services-carousel {
        --services-visible: 2;
    }
}

@media (max-width: 768px) {
    .services-section {
        border-radius: 0 0 32px 32px;
    }

    .services-carousel {
        --services-visible: 1;
    }

    .services-nav {
        opacity: 0.8;
    }

    .services-cta-row {
        border-radius: 20px;
        align-items: flex-start;
    }
}

.ai-agentic-section {
    background: var(--bg-white);
    padding: 4.5rem 0;
}

.ai-agentic-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.ai-agentic-section .section-header {
    margin-bottom: 3rem;
}

.ai-agentic-section .section-title {
    font-size: 2.2rem;
}

.ai-benefits-panel,
.ai-usecases-panel {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.ai-benefits-panel h3,
.ai-usecases-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.ai-benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.ai-benefits-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: var(--bg-light);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.ai-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(1, 102, 190, 0.1);
    font-size: 1.2rem;
}

.ai-benefits-list strong {
    display: block;
    color: var(--text-dark);
}

.ai-benefits-list p {
    color: var(--text-light);
    margin: 0.25rem 0 0 0;
}

.ai-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.ai-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.ai-stat-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.ai-usecases-panel h3 {
    margin-bottom: 0.75rem;
}

.ai-usecases-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.ai-usecase-card {
    border-radius: 18px;
    padding: 1.5rem;
    background: var(--bg-light);
    border: 1px solid rgba(1, 102, 190, 0.1);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, border 0.2s ease;
}

.ai-usecase-card:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 102, 190, 0.3);
}

.ai-usecase-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(1, 102, 190, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.ai-usecase-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.ai-usecase-card p {
    color: var(--text-light);
    margin: 0;
}

.ai-why-row {
    margin-top: 3rem;
    background: #ffffff;
    border-radius: 24px;
    padding: 2.25rem 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.ai-why-row h3 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.ai-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.ai-why-item strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.ai-why-item p {
    color: var(--text-light);
    margin: 0;
}

.ai-why-row .ai-stats {
    margin-top: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding-top: 1.5rem;
}

.ai-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    background: var(--gradient-1);
    color: white;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.ai-cta-button::after {
    content: '↗';
}

@media (max-width: 1024px) {
    .ai-agentic-grid {
        grid-template-columns: 1fr;
    }

    .ai-usecases-grid {
        grid-template-columns: 1fr;
    }

    .ai-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ai-why-grid {
        grid-template-columns: 1fr;
    }

    .ai-benefits-panel,
    .ai-usecases-panel,
    .ai-why-row {
        padding: 1.75rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .ai-why-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ===========================
   WHY CHOOSE US SECTION
   =========================== */
.why-choose-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.why-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: stretch;
    margin-top: 2rem;
}

.why-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.why-intro {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.why-tabs-container {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

.why-tabs {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
}

.why-tab {
    border: none;
    background: transparent;
    padding: 0 0 1rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.why-tab:hover {
    color: var(--primary-color);
}

.why-tab.active {
    background: transparent;
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    box-shadow: none;
}

.why-tab-icon {
    width: 20px;
    height: 20px;
}

.why-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
    line-height: 1.2;
}

.why-body {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.why-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.why-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 6px;
}

.why-badge::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230166be'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
}

.why-text-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.why-text-link:hover {
    text-decoration: underline;
}

.why-media-col {
    height: 100%;
}

.why-card-image {
    border-radius: 24px;
    background-image: url('kl-office.jpg');
    /* placeholder */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    min-height: 400px;
    box-shadow: var(--shadow-xl);
}

.why-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.why-tab-content.active {
    display: block;
}

@media (max-width: 960px) {
    .why-main-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-card-image {
        min-height: 250px;
    }

    .why-tabs {
        padding-bottom: 0.5rem;
    }
}

.promises-section {
    background: var(--secondary-color);
    color: white;
}

.promises-section .section-tag {
    color: var(--accent-color);
}

.promises-section .section-title {
    color: white;
}

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

.promise-card {
    padding: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.promise-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.promise-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.promise-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.promise-card p {
    opacity: 0.9;
    line-height: 1.6;
}


/* Vision & Mission */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.vision-card,
.mission-card {
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.vision-card {
    background: var(--gradient-1);
    color: white;
}

.mission-card {
    background: linear-gradient(135deg, #c5a065 0%, #d97706 100%);
    color: white;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

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

.vm-icon svg {
    width: 32px;
    height: 32px;
}

.vision-card h3,
.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.vision-card p,
.mission-card p {
    opacity: 0.95;
    line-height: 1.8;
}

/* Values */
.values-container {
    margin-bottom: 5rem;
}

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

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.value-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.value-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.value-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Box */
.cta-box {
    background: var(--primary-color);
    color: white;
    padding: 4rem 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.cta-box h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.cta-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===========================
   ONBOARDING SECTION
   =========================== */
.onboarding-section {
    background: white;
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.onboarding-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 3rem;
}

.step-card {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 1rem;
    z-index: 2;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(226, 232, 240, 0.6);
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    position: relative;
}

.step-icon svg {
    width: 32px;
    height: 32px;
}

.step-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.step-connector {
    flex: 0.5;
    height: 2px;
    background: #e2e8f0;
    margin-top: 2rem;
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
}

@media (max-width: 960px) {
    .onboarding-steps {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .step-connector {
        display: none;
        /* Hide horizontal connectors on mobile */
    }

    .step-card {
        width: 100%;
        max-width: 400px;
    }

    /* Add vertical connectors if needed, or keep simple stack */
}

/* ===========================
   FREE TEMPLATES SECTION
   =========================== */
.templates-section {
    background: var(--bg-light);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

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

/* Template Card */
.template-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.template-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Screenshot Area */
.template-screenshot {
    height: 280px;
    background: #1e293b;
    position: relative;
    overflow: hidden;
}

.template-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.template-img[src=""],
.template-img:not([src]) {
    display: none;
}

.template-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.template-img[src]:not([src=""]) + .template-placeholder {
    display: none;
}

.template-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.template-placeholder span {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Template Title */
.template-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    padding: 1.25rem 1.5rem;
    text-align: center;
    color: var(--text-dark);
    background: white;
    margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .template-screenshot {
        height: 220px;
    }
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section {
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

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

.contact-item p {
    color: var(--text-light);
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 48px;
    width: auto;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li 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-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 968px) {

    /* Fix Hero Layout */
    .container_2 {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        margin-top: 20px;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-metrics {
        width: 100%;
        justify-content: flex-start;
        margin-bottom: 2rem;
    }

    .hero-metric-number, .hero-metric-label, .hero-tagline {
        text-align: center;
    }

    .workflow-arrow {
        display: none;
    }

    .workflow-steps {
        flex-direction: column;
    }

    .workflow-step {
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .hero {
        padding-top: 85px;
    }

    .hero-meta,
    .hero-metrics,
    .hero-tagline {
        justify-content: center;
    }

    .hero-tagline {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -110%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
        backdrop-filter: none;
        /* Ensure no blur effect */
    }

    .nav-menu.active {
        left: 0;
        color: var(--primary-color);
    }

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

    .nav-menu li {
        margin: 1rem 0;
        color: black;
    }

    .navbar.navbar-theme-dark .nav-link {
        color: black;
    }

    .navbar.navbar-theme-dark .nav-link:hover {
        color: var(--primary-color);
    }

    /* Fix mobile menu text color */
    .nav-link {
        color: var(--text-dark);
    }

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

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        text-align: center;
    }

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

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

    section {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cta-box {
        padding: 3rem 2rem;
    }

    .cta-box h3 {
        font-size: 1.5rem;
    }

    .logo img {
        width: 150px !important;
    }

    /* Logo Logic */
    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
    }

    .logo-mobile-invert {
        display: none;
    }

    /* When navbar is light (white background), show dark logo */
    .navbar.navbar-theme-light .logo-mobile {
        display: none;
    }

    .navbar.navbar-theme-light .logo-mobile-invert {
        display: block;
    }

    .services-cta-icon {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-grid,
    .services-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
}