:root {
    --brand: #1976D2;
    --brand-deep: #0B2E59;
    --brand-soft: #E3F2FD;

    --background: #f8fafc;
    --surface: #ffffff;
    --foreground: #0f172a;
    --ink-soft: #64748b;
    --border: #e2e8f0;

    --font-family: 'Poppins', sans-serif;

    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 10px 25px -5px rgba(25, 118, 210, 0.4);
    --shadow-card: 0 20px 40px -15px rgba(11, 46, 89, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-pad {
    padding: 6rem 0;
}

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

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

.bg-transparent {
    background-color: transparent;
}

/* Layout Utilities */
.fixed {
    position: fixed;
}

.top-0 {
    top: 0;
}

.w-full {
    width: 100%;
}

.z-50 {
    z-index: 50;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

/* Sizing Utilities */
.w-11 {
    width: 2.75rem;
}

.h-11 {
    height: 2.75rem;
}

.object-contain {
    object-fit: contain;
}

.max-w-sm {
    max-width: 24rem;
}

/* Typography Utilities */
.text-base {
    font-size: 1rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Transition Utilities */
.transition-all {
    transition: all 0.3s ease;
}

.duration-300 {
    transition-duration: 300ms;
}

/* Border Utilities */
.border-t {
    border-top: 1px solid var(--border);
}

.border-border {
    border-color: var(--border);
}

/* Spacing Utilities */
.pt-32 {
    padding-top: 8rem;
}

.mt-16 {
    margin-top: 4rem;
}

.pt-8 {
    padding-top: 2rem;
}

/* Overflow */
.overflow-x-hidden {
    overflow-x: hidden;
}

/* Color Utilities */
.text-brand {
    color: var(--brand);
}

.text-foreground {
    color: var(--foreground);
}

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

.hover\:text-brand:hover {
    color: var(--brand);
}

/* Responsive Utilities */
@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .lg\:pt-40 {
        padding-top: 10rem;
    }
}

.text-brand-deep {
    color: var(--brand-deep);
}

.text-brand-soft {
    color: #90caf9;
}

/* Specifically for dark backgrounds */
.text-ink-soft {
    color: var(--ink-soft);
}

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

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

.max-w-2xl {
    max-width: 42rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-7 {
    margin-top: 1.75rem;
}

.mt-9 {
    margin-top: 2.25rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-14 {
    margin-top: 3.5rem;
}

.mt-20 {
    margin-top: 5rem;
}

.pt-20 {
    padding-top: 5rem;
}

.pb-8 {
    padding-bottom: 2rem;
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

section:not(#beranda) .eyebrow {
    color: var(--brand);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-0 {
    transition-delay: 0ms;
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-icon {
    gap: 0.5rem;
}

.btn-brand {
    background: linear-gradient(to right, var(--brand-deep), var(--brand));
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-brand:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px -5px rgba(25, 118, 210, 0.5);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.btn-glass:hover {
    background: white;
    color: var(--brand-deep);
}

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

.btn-white:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

.rounded-full {
    border-radius: var(--radius-full);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
}

.logo-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    color: white;
}

.navbar.scrolled .logo-title {
    color: var(--brand-deep);
}

.logo-subtitle {
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.7);
}

.navbar.scrolled .logo-subtitle {
    color: var(--ink-soft);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 0.5rem 0;
}

.navbar.scrolled .nav-link {
    color: var(--foreground);
}

.nav-link:hover {
    color: #90caf9;
}

.navbar.scrolled .nav-link:hover {
    color: var(--brand);
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background-color: var(--brand);
    transition: width 0.3s ease;
}

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator {
    width: 100%;
}

.nav-cta-desktop .btn {
    padding: 0.625rem 1.25rem;
}

.mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: none;
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.navbar.scrolled .mobile-toggle {
    background: var(--background);
    color: var(--foreground);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 46, 89, 0.92), rgba(11, 46, 89, 0.65) 55%, rgba(25, 118, 210, 0.55));
}

.hero-radial-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(25, 118, 210, 0.35), transparent 55%);
}

.hero-content {
    max-width: 48rem;
    color: white;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1.5rem;
    max-width: 42rem;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.25rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 4rem;
}

@media (min-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(5, 1fr);
    }
}

.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    color: white;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1;
}

@media (min-width: 640px) {
    .stat-value {
        font-size: 2.25rem;
    }
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.25rem;
}

/* About Section */
.about-grid {
    display: grid;
    gap: 3.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image-wrapper {
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    height: 350px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zoom-hover {
    transition: transform 1.2s ease;
}

.zoom-hover:hover {
    transform: scale(1.05);
}

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

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-lg);
    background-color: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand-deep);
    margin-top: 1.25rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--ink-soft);
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Products Section */
.products-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
}

.product-floating-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(to bottom right, var(--brand-deep), var(--brand));
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.product-floating-badge i {
    width: 18px;
    height: 18px;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand-deep);
}

.product-brands {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand);
    margin-top: 0.25rem;
}

.product-desc {
    font-size: 0.875rem;
    color: var(--ink-soft);
    margin-top: 0.75rem;
}

.product-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-deep);
    background: none;
    border: none;
    margin-top: 1.25rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.product-detail-btn:hover {
    color: var(--brand);
}

.product-detail-btn i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-detail-btn i {
    transform: translateX(4px);
}

/* Custom Product Banner */
.custom-banner {
    background: linear-gradient(to bottom right, var(--brand-deep), #143E73);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    color: white;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .custom-banner {
        grid-template-columns: 1.1fr 1fr;
    }
}

.custom-banner-content {
    padding: 2rem;
}

@media (min-width: 1024px) {
    .custom-banner-content {
        padding: 3.5rem;
    }
}

.custom-banner-title {
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .custom-banner-title {
        font-size: 2.25rem;
    }
}

.custom-banner-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.custom-checklist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .custom-checklist {
        grid-template-columns: 1fr 1fr;
    }
}

.custom-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.checklist-icon {
    width: 1.75rem;
    height: 1.75rem;
    background: rgba(25, 118, 210, 0.3);
    color: var(--brand-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.checklist-icon i {
    width: 14px;
    height: 14px;
}

.custom-banner-image-wrapper {
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

.custom-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA Section */
.cta-box-premium {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    color: white;
    box-shadow: var(--shadow-card);
}

@media (min-width: 1024px) {
    .cta-box-premium {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        padding: 4rem 4rem;
    }
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 800;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.75rem;
}

/* Footer */
.footer-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-deep);
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.footer-contact i {
    width: 20px;
    height: 20px;
    margin-top: 0.125rem;
}

.footer-contact a:hover {
    color: var(--brand);
}

/* Mobile Nav Styles */
@media (max-width: 1023px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(30, 6, 250, 0.575);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: -1;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
        color: var(--foreground);
    }

    .nav-indicator {
        display: none;
    }

    .nav-cta-desktop {
        margin-top: 1.5rem;
        width: 100%;
    }

    .nav-cta-desktop .btn {
        width: 100%;
    }

    .mobile-toggle {
        display: flex;
    }
}