/* ============================================
   CV Faeyza Computer - Company Profile CSS
   Theme: Distributor Perangkat Komputer
   ============================================ */

/* ----- CSS Variables / Design Tokens ----- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --gradient-main: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --gradient-primary: linear-gradient(135deg, #2563eb, #06b6d4);
    --gradient-accent: linear-gradient(135deg, #06b6d4, #3b82f6);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --bg-dark: #0a0f1a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-card-hover: rgba(30, 41, 59, 0.9);
    --border-color: rgba(148, 163, 184, 0.1);
    --border-accent: rgba(37, 99, 235, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1200px;
    --nav-height: 75px;
}

/* ----- Light Theme Overrides ----- */
.light-theme {
    --secondary: #f1f5f9;
    --gradient-main: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --border-color: rgba(15, 23, 42, 0.1);
    --border-accent: rgba(37, 99, 235, 0.25);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.1);
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

img { max-width: 100%; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----- Section Headers ----- */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--border-accent);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 15, 26, 0.95);
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.light-theme .navbar {
    background: rgba(248, 250, 252, 0.85);
}

.light-theme .navbar.scrolled {
    background: rgba(248, 250, 252, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ----- Theme Toggle Button ----- */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 8px;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--border-accent);
    color: var(--primary-light);
    transform: rotate(15deg);
}

.light-theme .theme-toggle {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.15);
    color: #f59e0b;
}

.light-theme .theme-toggle:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

/* Nav Toggle (Hamburger) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* Particle canvas */
#particles-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 50px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid var(--border-accent);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
    z-index: 2;
    animation: bounceDown 2s infinite;
}

.scroll-indicator i {
    font-size: 1rem;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   TECH VECTOR ELEMENTS (Hero Background)
   ============================================= */

/* ----- Circuit Pattern Background ----- */
.circuit-pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.12;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(37, 99, 235, 0.5) 40px,
            rgba(37, 99, 235, 0.5) 41px,
            transparent 41px,
            transparent 80px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(37, 99, 235, 0.5) 40px,
            rgba(37, 99, 235, 0.5) 41px,
            transparent 41px,
            transparent 80px
        ),
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.8) 2px, transparent 2px),
        radial-gradient(circle at 60% 20%, rgba(37, 99, 235, 0.8) 2px, transparent 2px),
        radial-gradient(circle at 80% 60%, rgba(37, 99, 235, 0.8) 2px, transparent 2px),
        radial-gradient(circle at 30% 80%, rgba(37, 99, 235, 0.8) 2px, transparent 2px),
        radial-gradient(circle at 70% 70%, rgba(37, 99, 235, 0.8) 2px, transparent 2px),
        radial-gradient(circle at 10% 60%, rgba(37, 99, 235, 0.8) 2px, transparent 2px),
        radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.8) 2px, transparent 2px),
        radial-gradient(circle at 90% 40%, rgba(37, 99, 235, 0.8) 2px, transparent 2px),
        linear-gradient(45deg, transparent 48%, rgba(37, 99, 235, 0.3) 48%, rgba(37, 99, 235, 0.3) 49%, transparent 49%),
        linear-gradient(-45deg, transparent 48%, rgba(37, 99, 235, 0.3) 48%, rgba(37, 99, 235, 0.3) 49%, transparent 49%);
    background-size: 80px 80px, 80px 80px, 40px 40px, 40px 40px, 40px 40px, 40px 40px, 40px 40px, 40px 40px, 40px 40px, 40px 40px, 100% 100%, 100% 100%;
    background-position: 0 0, 0 0, 20% 30%, 60% 20%, 80% 60%, 30% 80%, 70% 70%, 10% 60%, 50% 10%, 90% 40%, 0 0, 0 0;
    background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
}

.light-theme .circuit-pattern {
    opacity: 0.25;
}

/* ----- Tech Vector Shapes Container ----- */
.tech-vector-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* ----- Individual Tech Shapes ----- */
.tech-shape {
    position: absolute;
    opacity: 0.15;
    color: var(--primary-light);
    transition: opacity 0.5s ease;
}

.light-theme .tech-shape {
    opacity: 0.2;
    color: var(--primary);
}

/* Hexagon Shape */
.shape-hexagon {
    top: 10%;
    left: 5%;
    width: 90px;
    height: 90px;
    animation: floatShape 8s ease-in-out infinite;
}

.hex-svg {
    width: 100%;
    height: 100%;
    color: inherit;
}

/* CPU Chip Shape */
.shape-cpu {
    bottom: 15%;
    right: 8%;
    width: 60px;
    height: 60px;
    animation: floatShape 10s ease-in-out infinite 1s;
}

.cpu-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border: 1.5px solid currentColor;
    border-radius: 6px;
}

.cpu-inner i {
    font-size: 1.6rem;
    color: currentColor;
}

.cpu-pin {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.pin-tl { top: -4px; left: -4px; }
.pin-tr { top: -4px; right: -4px; }
.pin-bl { bottom: -4px; left: -4px; }
.pin-br { bottom: -4px; right: -4px; }

/* Server Rack Shape */
.shape-server {
    top: 20%;
    right: 12%;
    width: 40px;
    height: 56px;
    animation: floatShape 12s ease-in-out infinite 2s;
}

.server-rack {
    width: 100%;
    height: 100%;
    border: 1.5px solid currentColor;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: rgba(37, 99, 235, 0.05);
}

.server-slot {
    height: 6px;
    background: currentColor;
    border-radius: 2px;
    opacity: 0.6;
}

.server-slot:nth-child(2) { opacity: 0.8; }
.server-slot:nth-child(3) { opacity: 0.4; }

/* Network Nodes Shape */
.shape-nodes {
    bottom: 30%;
    left: 10%;
    width: 80px;
    height: 80px;
    animation: floatShape 9s ease-in-out infinite 0.5s;
}

.node-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    z-index: 2;
}

.node-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    animation: pulseDot 2s ease-in-out infinite;
}

.dot-1 { top: 15px; left: 15px; }
.dot-1::after { animation-delay: 0s; }
.dot-2 { top: 15px; right: 15px; }
.dot-2::after { animation-delay: 0.3s; }
.dot-3 { bottom: 15px; left: 50%; transform: translateX(-50%); }
.dot-3::after { animation-delay: 0.6s; }

.node-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: inherit;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 0.2; }
}

/* Data Flow Bars */
.shape-dataflow {
    top: 50%;
    left: 3%;
    transform: translateY(-50%);
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 40px;
    animation: floatShape 7s ease-in-out infinite 3s;
}

.data-bar {
    width: 5px;
    background: currentColor;
    border-radius: 2px;
    animation: dataBarPulse 1.5s ease-in-out infinite;
}

.bar-1 { height: 20px; animation-delay: 0s; }
.bar-2 { height: 30px; animation-delay: 0.2s; }
.bar-3 { height: 40px; animation-delay: 0.4s; }
.bar-4 { height: 25px; animation-delay: 0.1s; }
.bar-5 { height: 15px; animation-delay: 0.3s; }

@keyframes dataBarPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Orbiting Ring */
.shape-orbit {
    top: 55%;
    right: 3%;
    width: 50px;
    height: 50px;
    animation: floatShape 11s ease-in-out infinite 1.5s;
}

.orbit-ring-outer {
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    animation: spin 6s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: spin 6s linear infinite;
    transform-origin: center 25px;
}

/* Grid Dots */
.shape-griddots {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: floatShape 13s ease-in-out infinite 4s;
}

.grid-dot-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.grid-dot-row span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
    animation: gridPulse 3s ease-in-out infinite;
}

.grid-dot-row:nth-child(2) span { animation-delay: 0.5s; }
.grid-dot-row:nth-child(3) span { animation-delay: 1s; }

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* ----- Float Animation for Shapes ----- */
@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(8px) rotate(-1deg); }
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 23, 42, 0.5) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image .image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image .image-wrapper i {
    font-size: 8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.experience-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--gradient-primary);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.experience-badge .exp-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.experience-badge span:last-child {
    font-size: 0.8rem;
    opacity: 0.9;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-text > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-feature i {
    font-size: 1.4rem;
    color: var(--primary-light);
    margin-top: 2px;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.products {
    background: var(--bg-dark);
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--border-accent);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card .product-icon {
    font-size: 2.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.product-card .product-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--border-accent);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
}

/* =============================================
   WHY US SECTION
   ============================================= */
.why-us {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, var(--bg-dark) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.why-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary-light);
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =============================================
   PARTNERS SECTION
   ============================================= */
.partners {
    background: var(--bg-dark);
}

.partners-slider {
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
}

.partners-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollPartners 25s linear infinite;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 140px;
    transition: var(--transition);
}

.partner-logo i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partner-logo span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.partner-logo:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 23, 42, 0.5) 100%);
}

.testimonials-slider {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.testimonial-card.active {
    display: block;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-card > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.author-avatar i {
    font-size: 2.8rem;
    color: var(--text-muted);
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
}

.testimonial-author span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: left;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.4;
}

.testimonial-dot.active {
    background: var(--primary);
    opacity: 1;
    width: 32px;
    border-radius: 6px;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

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

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

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

.contact-card i {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

.btn-submit {
    align-self: flex-start;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 16px 0 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal animation on scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

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

    .about-image {
        order: -1;
    }

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

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

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 15, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: var(--transition);
        border-left: 1px solid var(--border-color);
    }

    .light-theme .nav-menu {
        background: rgba(248, 250, 252, 0.98);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .why-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-brand p {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

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

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .product-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Loading animation for filter transition */
.products-grid.loading .product-card {
    opacity: 0;
    transform: scale(0.9);
}

.products-grid .product-card {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ----- Detail Button on Product Card ----- */
.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 20px;
    border-radius: 50px;
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-detail i {
    font-size: 0.9rem;
}

/* =============================================
   PRODUCT DETAIL MODAL
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 640px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header-left i {
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-header-left h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.modal-body {
    padding: 20px 28px 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
}

.modal-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    transition: var(--transition);
    cursor: default;
}

.modal-item:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.modal-item-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-light);
    opacity: 0.5;
    min-width: 36px;
    font-variant-numeric: tabular-nums;
}

.modal-item-content {
    flex: 1;
}

.modal-item-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.modal-item-content p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.modal-item-icon {
    color: var(--text-muted);
    opacity: 0.4;
    font-size: 0.85rem;
    transition: var(--transition);
}

.modal-item:hover .modal-item-icon {
    opacity: 1;
    color: var(--primary-light);
    transform: translateX(3px);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-container {
        max-height: 90vh;
    }

    .modal-header {
        padding: 18px 20px;
    }

    .modal-header-left h3 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 16px 20px 20px;
    }

    .modal-item {
        padding: 14px 16px;
    }

    .modal-item-number {
        font-size: 1rem;
        min-width: 28px;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 12px;
    }

    .modal-container {
        border-radius: var(--radius-md);
    }

    .modal-item-content h4 {
        font-size: 0.88rem;
    }

    .modal-item-content p {
        font-size: 0.78rem;
    }
}

