/* ========================================
   Star Fence Developer - Landing Page CSS
   ======================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
    /* Primary Colors - Based on Logo */
    --primary-dark: #0a1628;
    --primary-blue: #1a3a5c;
    --accent-cyan: #00b4d8;
    --accent-teal: #0077b6;
    --accent-yellow: #ffd60a;
    --accent-gold: #f9c74f;

    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0077b6 100%);
    --gradient-accent: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    --gradient-gold: linear-gradient(135deg, #ffd60a 0%, #f9c74f 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Fluid Typography using clamp() */
    /* These custom properties provide responsive typography that scales smoothly
       from mobile (320px) to desktop (1400px+) using the clamp() function.
       Format: clamp(min-size, preferred-size, max-size) */
    --font-size-h1: clamp(2rem, 5vw, 4rem);
    /* Mobile: 32px, Desktop: 64px */
    --font-size-h2: clamp(1.75rem, 4vw, 3rem);
    /* Mobile: 28px, Desktop: 48px */
    --font-size-h3: clamp(1.5rem, 3vw, 2.5rem);
    /* Mobile: 24px, Desktop: 40px */
    --font-size-h4: clamp(1.25rem, 2.5vw, 2rem);
    /* Mobile: 20px, Desktop: 32px */
    --font-size-h5: clamp(1.125rem, 2vw, 1.5rem);
    /* Mobile: 18px, Desktop: 24px */
    --font-size-h6: clamp(1rem, 1.5vw, 1.25rem);
    /* Mobile: 16px, Desktop: 20px */

    /* Body text fluid typography */
    --font-size-body: clamp(0.875rem, 1.5vw, 1rem);
    /* Mobile: 14px, Desktop: 16px */
    --font-size-body-lg: clamp(1rem, 2vw, 1.125rem);
    /* Mobile: 16px, Desktop: 18px */
    --font-size-body-sm: clamp(0.75rem, 1vw, 0.875rem);
    /* Mobile: 12px, Desktop: 14px */

    /* Special text sizes */
    --font-size-lead: clamp(1.125rem, 2.5vw, 1.375rem);
    /* Mobile: 18px, Desktop: 22px */
    --font-size-caption: clamp(0.6875rem, 1vw, 0.75rem);
    /* Mobile: 11px, Desktop: 12px */

    /* Line heights for fluid typography */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(0, 180, 216, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Responsive Spacing Variables */
    --spacing-section: 40px;
    /* Mobile: 40px vertical padding */
    --spacing-container-h: 16px;
    /* Mobile: 16px horizontal padding */
    --spacing-element: 1rem;
    /* Base element spacing */
    --spacing-card-gap: 1rem;
    /* Mobile: 16px gap between cards */
    --spacing-touch-target: 8px;
    /* Minimum spacing between touch targets */
}

/* ========================================
   RESPONSIVE SPACING VARIABLE ADJUSTMENTS
   ======================================== */
/* Tablet spacing adjustments */
@media (min-width: 768px) {
    :root {
        --spacing-section: 60px;
        /* Tablet: 60px vertical padding */
        --spacing-container-h: 24px;
        /* Tablet: 24px horizontal padding */
        --spacing-card-gap: 1.5rem;
        /* Tablet: 24px gap between cards */
    }
}

/* Desktop spacing adjustments */
@media (min-width: 992px) {
    :root {
        --spacing-section: 100px;
        /* Desktop: 100px vertical padding */
        --spacing-card-gap: 2rem;
        /* Desktop: 32px gap between cards */
    }
}

/* ========================================
   FALLBACK TYPOGRAPHY FOR LEGACY BROWSERS
   ======================================== */
/* Fallback typography for browsers without clamp() support */
@supports not (font-size: clamp(1rem, 2vw, 2rem)) {
    :root {
        /* Fallback font sizes - mobile first approach */
        --font-size-h1: 2rem;
        /* 32px */
        --font-size-h2: 1.75rem;
        /* 28px */
        --font-size-h3: 1.5rem;
        /* 24px */
        --font-size-h4: 1.25rem;
        /* 20px */
        --font-size-h5: 1.125rem;
        /* 18px */
        --font-size-h6: 1rem;
        /* 16px */
        --font-size-body: 0.875rem;
        /* 14px */
        --font-size-body-lg: 1rem;
        /* 16px */
        --font-size-body-sm: 0.75rem;
        /* 12px */
        --font-size-lead: 1.125rem;
        /* 18px */
        --font-size-caption: 0.6875rem;
        /* 11px */
    }

    /* Tablet typography adjustments for legacy browsers */
    @media (min-width: 768px) {
        :root {
            --font-size-h1: 3rem;
            /* 48px */
            --font-size-h2: 2.5rem;
            /* 40px */
            --font-size-h3: 2rem;
            /* 32px */
            --font-size-h4: 1.5rem;
            /* 24px */
            --font-size-h5: 1.25rem;
            /* 20px */
            --font-size-h6: 1.125rem;
            /* 18px */
            --font-size-body: 1rem;
            /* 16px */
            --font-size-body-lg: 1.125rem;
            /* 18px */
            --font-size-body-sm: 0.875rem;
            /* 14px */
            --font-size-lead: 1.25rem;
            /* 20px */
            --font-size-caption: 0.75rem;
            /* 12px */
        }
    }

    /* Desktop typography adjustments for legacy browsers */
    @media (min-width: 992px) {
        :root {
            --font-size-h1: 4rem;
            /* 64px */
            --font-size-h2: 3rem;
            /* 48px */
            --font-size-h3: 2.5rem;
            /* 40px */
            --font-size-h4: 2rem;
            /* 32px */
            --font-size-h5: 1.5rem;
            /* 24px */
            --font-size-h6: 1.25rem;
            /* 20px */
            --font-size-body: 1rem;
            /* 16px */
            --font-size-body-lg: 1.125rem;
            /* 18px */
            --font-size-body-sm: 0.875rem;
            /* 14px */
            --font-size-lead: 1.375rem;
            /* 22px */
            --font-size-caption: 0.75rem;
            /* 12px */
        }
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background: var(--primary-dark);
    color: var(--white);
    font-size: var(--font-size-body);
    line-height: var(--line-height-normal);
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: var(--line-height-tight);
}

/* Apply fluid typography to headings */
h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

h4 {
    font-size: var(--font-size-h4);
}

h5 {
    font-size: var(--font-size-h5);
}

h6 {
    font-size: var(--font-size-h6);
}

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

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
    box-sizing: border-box;
}

/* Scrolled state — glass panel */
.navbar.scrolled {
    background: rgba(8, 18, 35, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(0, 180, 216, 0.2);
    border-bottom-color: rgba(0, 180, 216, 0.18);
    padding: 0.55rem 0;
}

/* Top accent line — always visible on sub-pages (scrolled class already applied) */
.navbar.scrolled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 180, 216, 0.6) 30%,
            rgba(0, 180, 216, 0.9) 50%,
            rgba(0, 180, 216, 0.6) 70%,
            transparent 100%);
    opacity: 0;
    animation: navGlow 0.5s ease 0.3s forwards;
}

@keyframes navGlow {
    to {
        opacity: 1;
    }
}

/* ---- Brand / Logo ---- */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand img {
    height: 48px;
    width: auto;
    transition: height 0.4s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.2));
}

.navbar.scrolled .navbar-brand img {
    height: 38px;
}

.navbar-brand img:hover {
    filter: drop-shadow(0 0 14px rgba(0, 180, 216, 0.5));
}

/* ---- Nav Links ---- */
.navbar-nav {
    align-items: center;
    gap: 0.15rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-xl);
    position: relative;
    transition: color 0.25s ease, background 0.25s ease;
}

/* Hover state — subtle background flash */
.navbar-nav .nav-link:hover {
    color: var(--white);
    background: rgba(0, 180, 216, 0.1);
}

/* Dot indicator below hovered link */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-cyan);
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}

.navbar-nav .nav-link:hover::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* Active link — pill highlight */
.navbar-nav .nav-link.active {
    color: var(--white);
    background: rgba(0, 180, 216, 0.18);
    box-shadow: 0 0 0 1px rgba(0, 180, 216, 0.3) inset;
}

.navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    background: var(--accent-cyan);
    box-shadow: 0 0 6px rgba(0, 180, 216, 0.8);
}

/* ---- WhatsApp CTA Button in Nav ---- */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: var(--white) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    padding: 0.45rem 1.1rem !important;
    border-radius: var(--radius-xl) !important;
    margin-left: 0.5rem;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
    white-space: nowrap;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
}

.nav-cta:hover {
    background: #128C7E !important;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4) !important;
    transform: translateY(-2px) !important;
    color: var(--white) !important;
}

.nav-cta::after {
    display: none !important;
}

/* ---- Hamburger Toggler ---- */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.6rem;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.25);
}

.navbar-toggler:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 180, 216, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Mobile Nav Collapse ---- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 1rem;
        background: rgba(8, 18, 35, 0.95);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-md);
        border: 1px solid rgba(0, 180, 216, 0.15);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    }

    .navbar-nav {
        gap: 0.25rem;
    }

    .navbar-nav .nav-link {
        padding: 0.65rem 1rem;
        border-radius: var(--radius-md);
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
}



/* ========================================
/* ========================================
   Utility: Gold Text
   ======================================== */
.text-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Hero Section — Premium
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: transparent;
    overflow: clip;
}

/* Cyan glow — top right */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Gold glow — bottom left */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(255, 214, 10, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ---- Dot-grid overlay ---- */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 180, 216, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 216, 0.04) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: radial-gradient(ellipse 70% 90% at 30% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 30% 50%, black 30%, transparent 100%);
    pointer-events: none;
}

/* ---- Hero floating particles ---- */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-cyan);
    opacity: 0;
    animation: heroParticleFloat 10s ease-in-out infinite;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.hero-particle:nth-child(1) {
    width: 5px;
    height: 5px;
    left: 8%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 9s;
}

.hero-particle:nth-child(2) {
    width: 4px;
    height: 4px;
    left: 55%;
    top: 15%;
    animation-delay: 1.5s;
    animation-duration: 7s;
    background: var(--accent-yellow);
    box-shadow: 0 0 8px var(--accent-yellow);
}

.hero-particle:nth-child(3) {
    width: 3px;
    height: 3px;
    left: 15%;
    top: 75%;
    animation-delay: 3s;
    animation-duration: 11s;
}

.hero-particle:nth-child(4) {
    width: 6px;
    height: 6px;
    left: 75%;
    top: 70%;
    animation-delay: 0.5s;
    animation-duration: 8s;
    background: rgba(123, 220, 181, 0.9);
    box-shadow: 0 0 8px rgba(123, 220, 181, 0.9);
}

.hero-particle:nth-child(5) {
    width: 3px;
    height: 3px;
    left: 38%;
    top: 85%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.hero-particle:nth-child(6) {
    width: 4px;
    height: 4px;
    left: 88%;
    top: 35%;
    animation-delay: 4s;
    animation-duration: 9s;
    background: var(--accent-yellow);
    box-shadow: 0 0 8px var(--accent-yellow);
}

.hero-particle:nth-child(7) {
    width: 5px;
    height: 5px;
    left: 48%;
    top: 50%;
    animation-delay: 1s;
    animation-duration: 14s;
    opacity: 0;
}

.hero-particle:nth-child(8) {
    width: 3px;
    height: 3px;
    left: 25%;
    top: 42%;
    animation-delay: 6s;
    animation-duration: 10s;
}

@keyframes heroParticleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    15% {
        opacity: 0.7;
    }

    85% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        transform: translateY(-80px) scale(1.3);
    }
}

/* ---- Hero decorative rings (right side) ---- */
.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 180, 216, 0.12);
    pointer-events: none;
    animation: heroRingPulse 7s ease-in-out infinite;
}

.hero-ring-1 {
    width: 400px;
    height: 400px;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 0s;
}

.hero-ring-2 {
    width: 620px;
    height: 620px;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 1.5s;
    border-color: rgba(0, 180, 216, 0.06);
}

@keyframes heroRingPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 0.9;
        transform: translateY(-50%) scale(1.04);
    }
}

/* ---- Hero badge ---- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 100px;
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 6px var(--accent-cyan);
    animation: phDotPulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

/* ---- Hero content ---- */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 400px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: var(--font-size-h1);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--white);
}

.hero-subtitle {
    font-size: var(--font-size-lead);
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 2rem;
    max-width: 560px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* ---- Trust stats bar ---- */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 0.5rem;
    padding: 0.65rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0 1.25rem 0 0;
}

.hero-trust-item:first-child {
    padding-left: 0;
}

.hero-trust-item strong {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-trust-item span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.hero-trust-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 1.25rem 0 0;
    flex-shrink: 0;
}



/* Hero Image & Mascot */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.mascot-image {
    max-width: 420px;
    width: 100%;
    height: auto;
    animation: mascotFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(255, 214, 10, 0.3));
    position: relative;
    z-index: 2;
}

@keyframes mascotFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(2deg);
    }

    50% {
        transform: translateY(-8px) rotate(0deg);
    }

    75% {
        transform: translateY(-20px) rotate(-2deg);
    }
}

/* Glow effect behind mascot */
.hero-image::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 214, 10, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: mascotGlow 4s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes mascotGlow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Animated Background Stars */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--white);
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* ========================================
   Aurora Background Effect
   ======================================== */
.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background: var(--primary-dark);
    pointer-events: none;
}

.aurora-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(60px);
    opacity: 0.8;
}

.aurora-beam {
    position: absolute;
    border-radius: 50%;
    animation: aurora-move 15s infinite alternate ease-in-out;
    opacity: 0.6;
}

.aurora-beam:nth-child(1) {
    top: -20%;
    left: -10%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.4) 0%, rgba(0, 119, 182, 0) 70%);
    animation-duration: 20s;
}

.aurora-beam:nth-child(2) {
    bottom: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(123, 220, 181, 0.3) 0%, rgba(0, 180, 216, 0) 70%);
    animation-duration: 25s;
    animation-direction: alternate-reverse;
}

.aurora-beam:nth-child(3) {
    top: 40%;
    left: 40%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(142, 68, 173, 0.3) 0%, rgba(26, 58, 92, 0) 70%);
    animation-duration: 18s;
    animation-delay: -5s;
}

.aurora-beam:nth-child(4) {
    top: 10%;
    right: 20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(67, 206, 162, 0.25) 0%, rgba(24, 90, 157, 0) 70%);
    animation-duration: 22s;
    animation-delay: -8s;
}

@keyframes aurora-move {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(30px, 50px) rotate(5deg) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg) scale(0.9);
    }

    100% {
        transform: translate(10px, -30px) rotate(3deg) scale(1);
    }
}

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

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

/* ========================================
   Buttons
   ======================================== */
.btn-primary-custom {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-glow);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 180, 216, 0.5);
    color: var(--white);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    color: var(--white);
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: var(--spacing-section) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

/* Gradient line accent below section header */
.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    margin: 1.5rem auto 0;
    box-shadow: 0 0 12px rgba(0, 180, 216, 0.5);
}

.section-header.text-lg-start::after {
    margin-left: 0;
}

/* Pill-style section subtitle badge */
.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-radius: 100px;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(6px);
}

.section-title {
    font-size: var(--font-size-h2);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 180, 216, 0.08);
    border-bottom: 1px solid rgba(0, 180, 216, 0.08);
}

/* ---- About Card — Premium Glassmorphism ---- */
.about-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease, box-shadow 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Subtle inner shimmer */
.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,180,216,0.5), rgba(249,199,79,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Cyan gradient corner glow */
.about-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,180,216,0.12) 0%, transparent 70%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
}

.about-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 180, 216, 0.38);
    box-shadow:
        0 0 0 1px rgba(0,180,216,0.15),
        0 20px 50px rgba(0,0,0,0.3),
        0 0 40px rgba(0,180,216,0.18);
}

.about-card:hover::before {
    opacity: 1;
}

.about-card:hover::after {
    opacity: 1;
    transform: scale(1.3);
}

/* About icon: gradient orb with glow ring */
.about-icon {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, rgba(0,180,216,0.9) 0%, rgba(0,119,182,0.9) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    box-shadow: 0 0 0 4px rgba(0,180,216,0.15), 0 8px 24px rgba(0,180,216,0.25);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.about-card:hover .about-icon {
    box-shadow: 0 0 0 6px rgba(0,180,216,0.22), 0 12px 32px rgba(0,180,216,0.35);
    transform: scale(1.08) rotate(-4deg);
}

.about-card h4 {
    margin-bottom: 0.85rem;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.about-card p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.925rem;
    line-height: 1.65;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing-section {
    background: rgba(10, 22, 40, 0.7);
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

/* ---- Pricing Card — Premium Tiered Design ---- */
.pricing-card {
    background: linear-gradient(160deg, rgba(255,255,255,0.07) 0%, rgba(10,22,40,0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease, box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Top accent line — revealed on hover */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Subtle background orb */
.pricing-card::after {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,180,216,0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 180, 216, 0.4);
    box-shadow:
        0 0 0 1px rgba(0,180,216,0.15),
        0 24px 60px rgba(0,0,0,0.35),
        0 0 50px rgba(0,180,216,0.18);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover::after {
    opacity: 1;
}

/* ---- Featured / Popular card ---- */
.pricing-card.featured {
    border-color: rgba(255, 214, 10, 0.35);
    transform: scale(1.05);
    background: linear-gradient(160deg, rgba(255,214,10,0.08) 0%, rgba(10,22,40,0.55) 100%);
}

.pricing-card.featured::before {
    background: var(--gradient-gold);
    opacity: 1;
    height: 3px;
}

.pricing-card.featured::after {
    background: radial-gradient(circle, rgba(255,214,10,0.1) 0%, transparent 70%);
    opacity: 0.6;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-12px);
    border-color: rgba(255, 214, 10, 0.55);
    box-shadow:
        0 0 0 1px rgba(255,214,10,0.2),
        0 24px 60px rgba(0,0,0,0.4),
        0 0 60px rgba(255,214,10,0.22);
}

/* ---- Popular ribbon badge ---- */
.pricing-badge {
    position: absolute;
    top: 18px;
    right: -28px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 0.45rem 2.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(255,214,10,0.4);
}

/* ---- Pricing header area ---- */
.pricing-header {
    margin-bottom: 1.75rem;
}

.pricing-name {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.pricing-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ---- Price display ---- */
.pricing-price {
    margin-bottom: 1.75rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pricing-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: -0.03em;
    display: block;
    line-height: 1.1;
}

.pricing-card.featured .pricing-amount {
    color: var(--accent-yellow);
}

.pricing-period {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.825rem;
    margin-top: 0.3rem;
    margin-bottom: 0;
}

/* Strikethrough original price (anchor pricing) */
.pricing-original {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.92rem;
    text-decoration: line-through;
    text-decoration-color: rgba(255,80,80,0.5);
    margin-bottom: 0.15rem;
    display: block;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* "Mulai dari" label for price ranges */
.pricing-starting {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

/* Savings badge */
.pricing-save {
    display: inline-block;
    background: rgba(35, 209, 96, 0.15);
    border: 1px solid rgba(35, 209, 96, 0.3);
    color: #23d160;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    margin-top: 0.45rem;
    letter-spacing: 0.03em;
}

.pricing-card.featured .pricing-save {
    background: rgba(255, 214, 10, 0.12);
    border-color: rgba(255, 214, 10, 0.3);
    color: var(--accent-yellow);
}

/* ---- Feature list ---- */
.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.88);
    transition: color 0.2s ease;
}

.pricing-features li:first-child {
    padding-top: 0;
}

.pricing-features li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pricing-features i.fa-check {
    color: var(--accent-cyan);
    font-size: 0.8rem;
    background: rgba(0,180,216,0.12);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-card.featured .pricing-features i.fa-check {
    color: var(--accent-yellow);
    background: rgba(255,214,10,0.12);
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    background: rgba(26, 58, 92, 0.6);
    backdrop-filter: blur(10px);
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 991px) {
    .feature-item {
        flex-direction: column;
        gap: 1rem;
        background: rgba(255, 255, 255, 0.03);
        padding: 1.25rem;
        border-radius: var(--radius-md);
        height: 100%;
        margin-bottom: 0; /* Handled by row gap */
    }

    .feature-item .feature-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.25rem;
    }

    .feature-item .feature-content h4 {
        font-size: 1rem;
    }

    .feature-item .feature-content p {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-content h4 {
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: rgba(0, 180, 216, 0.15);
    text-align: center;
    padding: 80px 0;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section h2 {
    font-size: var(--font-size-h2);
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-whatsapp {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: rgba(10, 22, 40, 0.9);
    padding: 60px 0 30px;
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-cyan);
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent-cyan);
    transform: translateY(-3px);
}

/* ========================================
   WhatsApp Float Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================================
   Utility: Gradient Text
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #7bdcb5 60%, var(--accent-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Page Header (clients.html) — Premium Hero
   ======================================== */
.page-header {
    padding: 170px 0 90px;
    text-align: center;
    position: relative;
    overflow: clip;
    background: rgba(10, 22, 40, 0.55);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ---- Decorative grid overlay ---- */
.page-header-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 180, 216, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 216, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    pointer-events: none;
}

/* ---- Top cyan glow blob ---- */
.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 450px;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.22) 0%, rgba(0, 119, 182, 0.1) 40%, transparent 70%);
    pointer-events: none;
    animation: phGlowPulse 5s ease-in-out infinite alternate;
}

/* ---- Bottom gold accent blob ---- */
.page-header::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(255, 214, 10, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes phGlowPulse {
    from {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

/* ---- Decorative glowing rings ---- */
.ph-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 180, 216, 0.15);
    pointer-events: none;
    animation: phRingPulse 6s ease-in-out infinite;
}

.ph-ring-1 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.ph-ring-2 {
    width: 750px;
    height: 750px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1.5s;
    border-color: rgba(0, 180, 216, 0.07);
}

@keyframes phRingPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.04);
    }
}

/* ---- Floating particles ---- */
.page-header-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ph-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-cyan);
    opacity: 0;
    animation: phParticleFloat 8s ease-in-out infinite;
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* Stagger particle positions & delays */
.ph-particle:nth-child(1) {
    left: 12%;
    top: 30%;
    animation-delay: 0s;
    animation-duration: 7s;
    width: 4px;
    height: 4px;
}

.ph-particle:nth-child(2) {
    left: 82%;
    top: 25%;
    animation-delay: 1.2s;
    animation-duration: 9s;
    width: 6px;
    height: 6px;
    background: var(--accent-yellow);
    box-shadow: 0 0 8px var(--accent-yellow);
}

.ph-particle:nth-child(3) {
    left: 25%;
    top: 70%;
    animation-delay: 2.5s;
    animation-duration: 8s;
    width: 3px;
    height: 3px;
}

.ph-particle:nth-child(4) {
    left: 70%;
    top: 65%;
    animation-delay: 0.8s;
    animation-duration: 10s;
    width: 5px;
    height: 5px;
}

.ph-particle:nth-child(5) {
    left: 50%;
    top: 15%;
    animation-delay: 3.5s;
    animation-duration: 6s;
    width: 4px;
    height: 4px;
    background: rgba(123, 220, 181, 0.8);
    box-shadow: 0 0 8px rgba(123, 220, 181, 0.8);
}

.ph-particle:nth-child(6) {
    left: 90%;
    top: 50%;
    animation-delay: 1.8s;
    animation-duration: 11s;
    width: 3px;
    height: 3px;
    opacity: 0;
}

@keyframes phParticleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    20% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-60px) scale(1.2);
    }
}

/* ---- Content container ---- */
.page-header-content {
    position: relative;
    z-index: 1;
}

/* ---- Floating badge ---- */
.ph-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 100px;
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.ph-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 6px var(--accent-cyan);
    animation: phDotPulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes phDotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

/* ---- Page title ---- */
.page-title {
    font-size: var(--font-size-h1);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

/* ---- Subtitle ---- */
.page-subtitle {
    font-size: var(--font-size-lead);
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
    margin: 0 auto 2.25rem;
    line-height: 1.7;
}

/* ---- Stats chips row ---- */
.ph-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 0.6rem 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.ph-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 0 1rem;
}

.ph-stat i {
    color: var(--accent-cyan);
    font-size: 0.85rem;
}

.ph-stat strong {
    color: var(--white);
    font-weight: 700;
}

.ph-stat-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
}

/* ---- Breadcrumb ---- */
.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--accent-cyan);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
}

/* ---- Mobile responsive ---- */
@media (max-width: 767.98px) {
    .page-header {
        padding: 130px 0 60px;
    }

    .ph-ring-1 {
        width: 300px;
        height: 300px;
    }

    .ph-ring-2 {
        width: 460px;
        height: 460px;
    }

    .ph-stats {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 1.5rem;
    }

    .ph-stat-divider {
        width: 60px;
        height: 1px;
    }

    .ph-stat {
        padding: 0;
    }
}



/* ========================================
   Portfolio Stats Bar
   ======================================== */
.portfolio-stats-bar {
    padding: 0.85rem 0;
    background: rgba(0, 180, 216, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: sticky;
    top: 70px;
    z-index: 50;
    backdrop-filter: blur(12px);
}

.stats-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.stats-count-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

.stats-count-text strong {
    color: var(--accent-cyan);
}

/* ---- Search Input ---- */
.portfolio-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    pointer-events: none;
    transition: color var(--transition-fast);
}

.portfolio-search-input {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    padding: 0.55rem 2.5rem 0.55rem 2.25rem;
    width: 240px;
    transition: all var(--transition-normal);
    outline: none;
    backdrop-filter: blur(8px);
}

.portfolio-search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.portfolio-search-input:focus {
    border-color: var(--accent-cyan);
    background: rgba(0, 180, 216, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
    width: 280px;
}

.portfolio-search-input:focus+.search-icon,
.portfolio-search-wrap:focus-within .search-icon {
    color: var(--accent-cyan);
}

.search-clear-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.8rem;
    transition: all var(--transition-fast);
    line-height: 1;
}

.search-clear-btn:hover {
    color: var(--white);
}

/* ========================================
   Filter Tabs
   ======================================== */
.filter-section {
    padding: 1.5rem 0;
    background: rgba(10, 22, 40, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-tab:hover {
    background: rgba(0, 180, 216, 0.15);
    border-color: var(--accent-cyan);
    color: var(--white);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: var(--gradient-accent);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.35);
}

/* Count badges on filter tabs */
.filter-count {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
}

.filter-tab.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
}

/* ========================================
   Portfolio Section & Client Cards
   ======================================== */
.portfolio-section {
    padding: 60px 0 80px;
}

.clients-section {
    padding: var(--spacing-section) 0;
}

/* Grid transition target */
#portfolioGrid,
#homepagePortfolioGrid {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ---- End of Filter Tabs ---- */

/* ========================================
   Portfolio Empty State
   ======================================== */
.portfolio-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 5rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    animation: fadeInUp 0.4s ease;
}

.portfolio-empty i {
    font-size: 3.5rem;
    color: rgba(0, 180, 216, 0.3);
}

.portfolio-empty h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.portfolio-empty p {
    font-size: 0.9rem;
    max-width: 380px;
}

/* ========================================
   RESPONSIVE BREAKPOINT SYSTEM

   ======================================== */

/* 
 * Mobile-First Responsive Breakpoint Strategy
 * ==========================================
 * 
 * This project uses a mobile-first approach with the following breakpoints:
 * 
 * 1. Mobile (Default): 320px - 767px
 *    - Base styles are written for mobile devices
 *    - 2-column card layouts
 *    - Stacked navigation and content
 *    - Touch-optimized interactions (44px+ touch targets)
 *    - Reduced font sizes and spacing
 * 
 * 2. Tablet: 768px - 991px  
 *    - 3-column card layouts
 *    - Increased spacing and typography
 *    - Hybrid touch/mouse interactions
 *    - 2-column footer layout
 * 
 * 3. Desktop: 992px - 1399px
 *    - 4-column card layouts  
 *    - Full desktop navigation
 *    - Mouse-optimized interactions
 *    - 4-column footer layout
 *    - Maximum typography sizes
 * 
 * 4. Large Desktop: 1400px+
 *    - Same as desktop but with larger containers
 *    - Enhanced spacing for ultra-wide screens
 * 
 * Breakpoint Usage Guidelines:
 * - Use max-width for mobile-specific overrides
 * - Use min-width for progressive enhancement
 * - Always test at breakpoint boundaries (767px, 768px, etc.)
 * - Ensure touch targets remain 44px+ on all devices
 * - Maintain content readability at all sizes
 */

/* ========================================
   MOBILE BREAKPOINT (Default: 320px - 767px)
   ======================================== */
/* 
 * Mobile styles are the base styles defined throughout this file.
 * Key mobile characteristics:
 * - 2-column card grids
 * - Stacked layouts
 * - 44px minimum touch targets
 * - 16px horizontal container padding
 * - 40px section vertical padding
 * - Hamburger navigation menu
 */

/* ========================================
   TABLET BREAKPOINT (768px - 991px)
   ======================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* 
     * Tablet-specific styles
     * - 3-column card layouts
     * - 2-column footer
     * - Increased spacing
     * - Hybrid touch/mouse interactions
     */

    /* Typography adjustments for tablet */
    body {
        font-size: 1rem;
        /* 16px minimum for tablet+ */
    }

    /* Card grid adjustments - 3 columns for tablet */
    .responsive-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Navigation adjustments for tablet */
    .navbar-nav .nav-link {
        padding: 0.75rem 1.25rem;
    }
}

/* ========================================
   DESKTOP BREAKPOINT (992px - 1399px)  
   ======================================== */
@media (min-width: 992px) and (max-width: 1399.98px) {
    /* 
     * Desktop-specific styles
     * - 4-column card layouts
     * - Full horizontal navigation
     * - Mouse-optimized interactions
     * - Maximum typography scaling
     */

    /* Card grid adjustments - 4 columns for desktop */
    .responsive-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Navigation - full horizontal layout */
    .navbar-toggler {
        display: none;
        /* Hide hamburger menu on desktop */
    }

    .navbar-collapse {
        display: flex !important;
        /* Always show navigation */
        background: transparent;
        padding: 0;
        margin: 0;
        border: none;
    }
}

/* ========================================
   LARGE DESKTOP BREAKPOINT (1400px+)
   ======================================== */
@media (min-width: 1400px) {
    /* 
     * Large desktop enhancements
     * - Same layout as desktop but with enhanced spacing
     * - Optimized for ultra-wide screens
     * - Maximum container widths
     */

    /* Enhanced spacing for ultra-wide screens */
    .container {
        max-width: 1320px;
        /* Prevent content from becoming too wide */
    }

    /* Additional spacing for large screens */
    section {
        padding: 120px 0;
        /* Extra vertical padding */
    }
}

/* ========================================
   MOBILE-SPECIFIC OVERRIDES (max-width: 767px)
   ======================================== */
@media (max-width: 767.98px) {
    /* 
     * Mobile-specific overrides and refinements
     * - Force mobile layouts
     * - Optimize for touch interactions
     * - Reduce sizes for small screens
     */

    /* Force mobile navigation */
    .navbar-toggler {
        display: block;
        min-width: 44px;
        min-height: 44px;
    }

    /* Mobile hero adjustments */
    .hero-section {
        text-align: center;
        min-height: 80vh;
        /* Reduce height on mobile */
    }

    /* Mobile image scaling */
    .mascot-image {
        max-width: 250px;
        /* 40% reduction from desktop */
    }

    /* Mobile button adjustments */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

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

    /* Mobile WhatsApp button */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.75rem;
    }

    /* Mobile AI chatbot */
    .ai-chatbot {
        bottom: 90px;
        right: 20px;
    }

    .ai-chatbot-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .ai-chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
    }

    .ai-chatbot-messages {
        max-height: 300px;
    }

    .ai-chatbot-input input {
        min-height: 44px;
        /* Ensure touch target compliance */
    }
}

/* ========================================
   EXTRA SMALL DEVICES (max-width: 359px)
   ======================================== */
@media (max-width: 359.98px) {
    /* 
     * Extra small device optimizations
     * - Prevent content overflow on very small screens
     * - Reduce padding to maximize content space
     * - Ensure minimum touch targets are maintained
     */

    /* Reduce padding for very small screens */
    .pricing-card,
    .testimonial-card,
    .tutorial-card {
        padding: 0.75rem 0.5rem;
    }

    /* Adjust font sizes for readability */
    .pricing-amount {
        font-size: 1.1rem;
    }

    /* Ensure buttons remain usable */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   RESPONSIVE DESIGN UTILITIES
   ======================================== */

/* 
 * BREAKPOINT SUMMARY & USAGE GUIDE
 * ================================
 * 
 * This responsive system follows these principles:
 * 
 * 1. MOBILE-FIRST APPROACH
 *    - Base styles target mobile devices (320px+)
 *    - Progressive enhancement for larger screens
 *    - Always test on actual devices, not just browser dev tools
 * 
 * 2. BREAKPOINT BOUNDARIES
 *    - Mobile: 320px - 767px (base styles)
 *    - Tablet: 768px - 991px (3-column layouts)
 *    - Desktop: 992px - 1399px (4-column layouts)
 *    - Large: 1400px+ (enhanced spacing)
 * 
 * 3. TOUCH TARGET COMPLIANCE
 *    - Minimum 44px height/width for interactive elements
 *    - 48px for icon-only buttons
 *    - 8px minimum spacing between adjacent targets
 * 
 * 4. TYPOGRAPHY SCALING
 *    - Uses clamp() for fluid typography
 *    - Fallbacks provided for legacy browsers
 *    - Maintains readability at all sizes
 * 
 * 5. GRID SYSTEM
 *    - 2 columns on mobile
 *    - 3 columns on tablet  
 *    - 4 columns on desktop
 *    - Equal height cards using flexbox
 * 
 * 6. TESTING CHECKLIST
 *    - Test at breakpoint boundaries (767px, 768px, 991px, 992px)
 *    - Verify touch targets on actual touch devices
 *    - Check content overflow at 320px width
 *    - Validate accessibility at 200% zoom
 *    - Test landscape/portrait orientations
 * 
 * For adding new responsive styles:
 * - Add mobile styles to base CSS (no media query)
 * - Use min-width media queries for larger screens
 * - Follow the established breakpoint structure
 * - Document any new patterns or exceptions
 */
/* ========================================
   LEGACY RESPONSIVE STYLES (TO BE REORGANIZED)
   ======================================== */
/* Note: These styles will be gradually moved to the organized breakpoint structure above */

@media (max-width: 991.98px) {

    /* Tablet and mobile navigation adjustments */
    .navbar-collapse {
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-radius: var(--radius-md);
        margin-top: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-logo {
        max-width: 300px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* ========================================
   MOBILE LAYOUT OPTIMIZATIONS (max-width: 767px)
   ======================================== */
@media (max-width: 767.98px) {

    /* Section spacing for mobile */
    section {
        padding: var(--spacing-section) 0;
    }

    /* Hero section mobile layout */
    .hero-section {
        text-align: center;
    }

    .hero-logo {
        max-width: 250px;
        margin: 0 auto 2rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Card adjustments for mobile */
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    /* Feature items mobile layout */
    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }

    /* WhatsApp button mobile positioning */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.75rem;
    }
}

/* ========================================
   SMALL MOBILE OPTIMIZATIONS (max-width: 575px)
   ======================================== */
@media (max-width: 575.98px) {

    /* Typography adjustments for small screens */
    .hero-title {
        font-size: 2rem;
    }

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

    /* Button layout for small screens */
    .btn-primary-custom,
    .btn-outline-custom,
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    color: var(--accent-yellow);
}

.bg-blur {
    backdrop-filter: blur(20px);
}

/* Fluid Typography Utility Classes */
.text-h1 {
    font-size: var(--font-size-h1);
    line-height: var(--line-height-tight);
}

.text-h2 {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-tight);
}

.text-h3 {
    font-size: var(--font-size-h3);
    line-height: var(--line-height-tight);
}

.text-h4 {
    font-size: var(--font-size-h4);
    line-height: var(--line-height-tight);
}

.text-h5 {
    font-size: var(--font-size-h5);
    line-height: var(--line-height-tight);
}

.text-h6 {
    font-size: var(--font-size-h6);
    line-height: var(--line-height-tight);
}

.text-body {
    font-size: var(--font-size-body);
    line-height: var(--line-height-normal);
}

.text-body-lg {
    font-size: var(--font-size-body-lg);
    line-height: var(--line-height-normal);
}

.text-body-sm {
    font-size: var(--font-size-body-sm);
    line-height: var(--line-height-normal);
}

.text-lead {
    font-size: var(--font-size-lead);
    line-height: var(--line-height-normal);
}

.text-caption {
    font-size: var(--font-size-caption);
    line-height: var(--line-height-normal);
}

/* Line height utilities */
.lh-tight {
    line-height: var(--line-height-tight);
}

.lh-normal {
    line-height: var(--line-height-normal);
}

.lh-relaxed {
    line-height: var(--line-height-relaxed);
}

/* Responsive text readability - adjust line-height for long lines */
p,
.text-content {
    max-width: 75ch;
    /* Limit line length for readability */
    line-height: var(--line-height-relaxed);
    /* Use relaxed line-height for better readability */
}

/* Override for shorter text blocks */
.text-compact {
    line-height: var(--line-height-normal);
    max-width: none;
}

/* ========================================
   Responsive Utilities
   ======================================== */

/* Responsive Grid System */
.responsive-grid {
    display: grid;
    gap: var(--spacing-card-gap);
    grid-template-columns: repeat(2, 1fr);
    /* Mobile: 2 columns */
}

@media (min-width: 768px) {
    .responsive-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Tablet: 3 columns */
    }
}

@media (min-width: 992px) {
    .responsive-grid {
        grid-template-columns: repeat(4, 1fr);
        /* Desktop: 4 columns */
    }
}

/* Equal height cards within grid */
.responsive-grid>* {
    display: flex;
    flex-direction: column;
}

/* Touch Target Utilities */
.touch-target {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.touch-target-large {
    min-width: 48px;
    min-height: 48px;
}

/* Content Overflow Prevention */
.prevent-overflow {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.prevent-horizontal-scroll {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Responsive Spacing Utilities */
.spacing-mobile {
    padding: var(--spacing-section) 0;
}

@media (max-width: 767.98px) {
    .spacing-responsive {
        padding: var(--spacing-section) 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .spacing-responsive {
        padding: var(--spacing-section) 0;
    }
}

@media (min-width: 992px) {
    .spacing-responsive {
        padding: var(--spacing-section) 0;
    }
}

/* Container Padding Utilities */
.container-padding-mobile {
    padding-left: var(--spacing-container-h);
    padding-right: var(--spacing-container-h);
}

@media (max-width: 767.98px) {
    .container-padding-responsive {
        padding-left: var(--spacing-container-h);
        padding-right: var(--spacing-container-h);
    }
}

@media (min-width: 768px) {
    .container-padding-responsive {
        padding-left: var(--spacing-container-h);
        padding-right: var(--spacing-container-h);
    }
}

/* Responsive Image Utilities */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Mobile-first responsive image scaling */
.img-scale-mobile {
    max-width: 100%;
    width: 100%;
}

@media (max-width: 767.98px) {
    .img-scale-mobile {
        max-width: 60%;
        /* 40% reduction for mobile */
    }
}

/* Responsive Text Utilities */
.text-responsive {
    font-size: var(--font-size-body);
    line-height: var(--line-height-normal);
}

.text-responsive-heading {
    font-size: var(--font-size-h3);
    line-height: var(--line-height-tight);
}

/* Responsive Flexbox Utilities */
.flex-stack-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .flex-stack-mobile {
        flex-direction: row;
        align-items: center;
    }
}

.flex-center-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 992px) {
    .flex-center-mobile {
        flex-direction: row;
        text-align: left;
    }
}

/* Button Spacing Utilities */
.btn-group-responsive {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-group-responsive>*+* {
    margin-left: var(--spacing-touch-target);
    /* Minimum spacing between touch targets */
}

@media (max-width: 767.98px) {
    .btn-group-responsive {
        flex-direction: column;
        width: 100%;
    }

    .btn-group-responsive>*+* {
        margin-left: 0;
        margin-top: var(--spacing-touch-target);
    }

    .btn-group-responsive .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive Visibility Utilities */
.show-mobile {
    display: block;
}

.show-tablet {
    display: none;
}

.show-desktop {
    display: none;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .show-mobile {
        display: none;
    }

    .show-tablet {
        display: block;
    }

    .show-desktop {
        display: none;
    }
}

@media (min-width: 992px) {
    .show-mobile {
        display: none;
    }

    .show-tablet {
        display: none;
    }

    .show-desktop {
        display: block;
    }
}

/* Hide utilities */
.hide-mobile {
    display: none;
}

.hide-tablet {
    display: block;
}

.hide-desktop {
    display: block;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hide-mobile {
        display: block;
    }

    .hide-tablet {
        display: none;
    }

    .hide-desktop {
        display: block;
    }
}

@media (min-width: 992px) {
    .hide-mobile {
        display: block;
    }

    .hide-tablet {
        display: block;
    }

    .hide-desktop {
        display: none;
    }
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(10px);
}

/* ---- Testimonial Card — Quote Style ---- */
.testimonial-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(10,22,40,0.45) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Quote mark decoration */
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(0,180,216,0.12);
    line-height: 1;
    pointer-events: none;
    transition: color 0.3s ease;
}

/* Top shimmer */
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,180,216,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 180, 216, 0.35);
    box-shadow:
        0 0 0 1px rgba(0,180,216,0.12),
        0 20px 50px rgba(0,0,0,0.3),
        0 0 40px rgba(0,180,216,0.15);
}

.testimonial-card:hover::before {
    color: rgba(0,180,216,0.22);
}

.testimonial-card:hover::after {
    opacity: 1;
}

/* Stars row */
.testimonial-stars {
    color: var(--accent-yellow);
    margin-bottom: 1.1rem;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    display: flex;
    gap: 3px;
}

.testimonial-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.5rem;
    line-height: 1.75;
    font-size: 0.925rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* Divider before author */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(0,180,216,0.8) 0%, rgba(0,119,182,0.8) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 0 3px rgba(0,180,216,0.15);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    box-shadow: 0 0 0 4px rgba(0,180,216,0.28);
}

.testimonial-info h5 {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
}

.testimonial-info span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    line-height: 1.3;
}

/* ========================================
   Order Tutorial Section
   ======================================== */
.tutorial-section {
    background: rgba(10, 22, 40, 0.7);
    position: relative;
    backdrop-filter: blur(10px);
}

.tutorial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

/* ---- Tutorial / How-to-Order Card ---- */
.tutorial-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(10,22,40,0.45) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    padding: 2.5rem 1.75rem 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Animated bottom glow on hover */
.tutorial-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-cyan), var(--accent-yellow));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: shimmerSlide 2.5s linear infinite;
}

@keyframes shimmerSlide {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.tutorial-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 180, 216, 0.35);
    box-shadow:
        0 0 0 1px rgba(0,180,216,0.12),
        0 24px 55px rgba(0,0,0,0.32),
        0 0 45px rgba(0,180,216,0.16);
}

.tutorial-card:hover::before {
    opacity: 1;
}

/* Step number badge — gold pill floating above card */
.tutorial-step {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(255,214,10,0.4), 0 0 0 3px rgba(255,214,10,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tutorial-card:hover .tutorial-step {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255,214,10,0.55), 0 0 0 4px rgba(255,214,10,0.18);
}

/* Icon orb */
.tutorial-icon {
    width: 74px;
    height: 74px;
    background: linear-gradient(135deg, rgba(0,180,216,0.9) 0%, rgba(0,119,182,0.9) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.25rem auto 1.5rem;
    font-size: 1.85rem;
    box-shadow: 0 0 0 4px rgba(0,180,216,0.12), 0 8px 24px rgba(0,180,216,0.22);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tutorial-card:hover .tutorial-icon {
    transform: scale(1.08) rotate(6deg);
    box-shadow: 0 0 0 6px rgba(0,180,216,0.18), 0 12px 32px rgba(0,180,216,0.35);
}

.tutorial-card h4 {
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.tutorial-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

/* ========================================
   Clients / Portfolio Section
   ======================================== */
.clients-section {
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(10px);
}

/* ---- Client / Portfolio Card — Media Card Style ---- */
.client-card {
    display: block;
    background: linear-gradient(160deg, rgba(255,255,255,0.07) 0%, rgba(10,22,40,0.5) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease, box-shadow 0.35s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.client-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 180, 216, 0.38);
    box-shadow:
        0 0 0 1px rgba(0,180,216,0.14),
        0 20px 50px rgba(0,0,0,0.35),
        0 0 45px rgba(0,180,216,0.18);
    color: inherit;
}

/* Image container */
.client-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: rgba(10, 22, 40, 0.5);
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
    filter: brightness(0.95);
}

.client-card:hover .client-image img {
    transform: scale(1.07);
    filter: brightness(1);
}

/* Overlay on hover */
.client-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,119,182,0.88) 0%, rgba(0,180,216,0.78) 100%);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.35s ease;
    color: var(--white);
}

.client-card:hover .client-overlay {
    opacity: 1;
}

.client-overlay i {
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.client-overlay span {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Card content */
.client-info {
    padding: 1rem 1.15rem 1.15rem;
}

.client-info h4 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    transition: color 0.2s ease;
}

.client-card:hover .client-info h4 {
    color: var(--accent-cyan);
}

/* Category pill */
.client-category {
    display: inline-block;
    background: rgba(0, 180, 216, 0.14);
    border: 1px solid rgba(0, 180, 216, 0.28);
    color: var(--accent-cyan);
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.client-card:hover .client-category {
    background: rgba(0, 180, 216, 0.22);
    border-color: rgba(0, 180, 216, 0.5);
}

.client-info p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0 0 0.6rem;
}

/* See-more link */
.client-see-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 0.02em;
    transition: color 0.25s ease, gap 0.3s ease;
}

.client-see-more i {
    font-size: 0.65rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.client-card:hover .client-see-more {
    color: var(--accent-yellow);
}

.client-card:hover .client-see-more i {
    transform: translateX(4px);
}

/* ========================================
   AI Chatbot
   ======================================== */
.ai-chatbot {
    position: fixed;
    bottom: 100px;
    right: 20px;
    right: max(16px, min(20px, env(safe-area-inset-right, 20px)));
    z-index: 998;
    max-width: calc(100vw - 32px);
}

.ai-chatbot-toggle {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: var(--transition-normal);
    position: relative;
}

.ai-chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

.ai-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-yellow);
    color: var(--primary-dark);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
}

.ai-chatbot-window {
    position: fixed;
    bottom: 170px;
    right: 20px;
    width: 360px;
    max-width: calc(100vw - 32px);
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    z-index: 999;
}

.ai-chatbot-window.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.ai-chatbot-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ai-chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.ai-chatbot-title {
    flex: 1;
}

.ai-chatbot-title h5 {
    margin: 0;
    font-size: 0.95rem;
}

.ai-status {
    font-size: 0.75rem;
    opacity: 0.9;
}

.ai-status i {
    font-size: 0.5rem;
    color: #4ade80;
    margin-right: 4px;
}

.ai-chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.ai-chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ai-chatbot-messages {
    flex: 1;
    padding: 1rem;
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-message {
    display: flex;
    gap: 0.75rem;
    max-width: 90%;
}

.ai-message-bot {
    align-self: flex-start;
}

.ai-message-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.ai-message-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.ai-message-user .ai-message-avatar {
    background: var(--gradient-accent);
}

.ai-message-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ai-message-user .ai-message-content {
    background: var(--gradient-accent);
}

.ai-message-content p {
    margin-bottom: 0.5rem;
}

.ai-message-content p:last-child {
    margin-bottom: 0;
}

.ai-message-content ul {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

.ai-message-content li {
    margin-bottom: 0.25rem;
}

.ai-chatbot-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 0.75rem 1rem;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.ai-chatbot-input input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.ai-chatbot-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.ai-chatbot-input button {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.ai-chatbot-input button:hover {
    transform: scale(1.05);
}

.ai-chatbot-footer {
    padding: 0.5rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.ai-chatbot-footer small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

.ai-chatbot-footer a {
    color: var(--accent-cyan);
}

.ai-chatbot-footer a:hover {
    text-decoration: underline;
}

.ai-typing {
    display: flex;
    gap: 4px;
    padding: 0.5rem 0;
}

.ai-typing span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.ai-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Responsive for AI Chatbot */
@media (max-width: 767.98px) {
    .ai-chatbot {
        bottom: 80px;
        right: 16px;
    }

    .ai-chatbot-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* Window is now fixed-positioned, just ensure correct sizing */
    .ai-chatbot-window {
        right: 16px;
        bottom: 140px;
        width: calc(100vw - 32px);
        max-width: 380px;
    }

    .ai-chatbot-messages {
        max-height: 280px;
    }
}

/* Responsive for new sections */
@media (max-width: 767.98px) {
    .pricing-card {
        padding: 2rem 1.25rem;
    }
    
    .pricing-name {
        font-size: 1.25rem;
    }
    
    .pricing-desc {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .pricing-amount {
        font-size: 1.85rem;
    }
    
    .pricing-features li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
    
    .pricing-features i.fa-check {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
    
    .pricing-badge {
        font-size: 0.65rem;
        padding: 0.35rem 2rem;
        right: -35px;
        top: 20px;
    }

    .tutorial-card {
        padding: 2.25rem 1.25rem 1.75rem;
    }
    
    .tutorial-step {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        top: -19px;
    }
    
    .tutorial-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0.75rem auto 1.25rem;
    }
    
    .tutorial-card h4 {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }
    
    .tutorial-card p {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .testimonial-card {
        padding: 1.5rem 1.25rem;
    }
    
    .testimonial-card::before {
        font-size: 3.5rem;
        top: -5px;
        left: 12px;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .testimonial-author {
        gap: 0.75rem;
        padding-top: 1rem;
    }
    
    .testimonial-avatar {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }
    
    .testimonial-info h5 {
        font-size: 0.9rem;
        margin-bottom: 0.15rem;
    }
    
    .testimonial-info span {
        font-size: 0.75rem;
    }

    .client-image img {
        height: 150px;
    }
}

/* ========================================
   Page Header (for sub-pages)
   ======================================== */
.page-header {
    background: transparent;
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: var(--font-size-h2);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--accent-cyan);
}

.breadcrumb-item a:hover {
    color: var(--accent-yellow);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Filter Tabs
   ======================================== */
.filter-section {
    background: rgba(10, 22, 40, 0.7);
    padding: 40px 0;
    backdrop-filter: blur(10px);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-cyan);
}

.filter-tab.active {
    background: var(--gradient-accent);
    border-color: transparent;
}

/* ========================================
   Portfolio Section
   ======================================== */
.portfolio-section {
    background: rgba(10, 22, 40, 0.7);
    padding: 60px 0 100px;
    backdrop-filter: blur(10px);
}

/* Responsive for filter tabs */
@media (max-width: 767.98px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* ========================================
   Mobile 2-Column Card Layout
   ======================================== */
@media (max-width: 767.98px) {

    /* Force 2-column grid for all card sections on mobile */
    .about-section .row,
    .pricing-section .row.g-4,
    .testimonials-section .row.g-4,
    .tutorial-section .row.g-4,
    .clients-section .row.g-4,
    .portfolio-section .row,
    .features-section .row.g-4 {
        display: flex;
        flex-wrap: wrap;
    }

    .about-section .row>[class*="col-"],
    .pricing-section .row.g-4>[class*="col-"],
    .testimonials-section .row.g-4>[class*="col-"],
    .tutorial-section .row.g-4>[class*="col-"],
    .clients-section .row.g-4>[class*="col-"],
    .portfolio-section .row>[class*="col-"],
    .features-section .row.g-4>.col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Adjust card styles for compact 2-column display */
    .about-card {
        padding: 1rem;
    }

    .about-card h4 {
        font-size: 0.85rem;
    }

    .about-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .about-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    /* Pricing cards mobile adjustments */
    .pricing-card {
        padding: 1rem 0.75rem;
    }

    .pricing-name {
        font-size: 1rem;
    }

    .pricing-desc {
        font-size: 0.7rem;
    }

    .pricing-amount {
        font-size: 1.25rem;
    }

    .pricing-period {
        font-size: 0.7rem;
    }

    .pricing-features {
        margin-bottom: 1rem;
    }

    .pricing-features li {
        padding: 0.4rem 0;
        font-size: 0.7rem;
        gap: 0.4rem;
    }

    .pricing-features i {
        font-size: 0.65rem;
    }

    .pricing-card .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
    }

    .pricing-badge {
        font-size: 0.5rem;
        padding: 0.25rem 1.5rem;
        top: 12px;
        right: -25px;
    }

    .pricing-card.featured {
        transform: none;
    }

    /* Testimonial cards mobile adjustments */
    .testimonial-card {
        padding: 1rem;
    }

    .testimonial-stars {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .testimonial-text {
        font-size: 0.75rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }

    .testimonial-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .testimonial-info h5 {
        font-size: 0.8rem;
    }

    .testimonial-info span {
        font-size: 0.65rem;
    }

    /* Tutorial cards mobile adjustments */
    .tutorial-card {
        padding: 1.25rem 0.75rem;
    }

    .tutorial-step {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        top: -12px;
    }

    .tutorial-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin: 0.5rem auto 0.75rem;
    }

    .tutorial-card h4 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .tutorial-card p {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    /* Client cards mobile adjustments */
    .client-card {
        border-radius: var(--radius-md);
    }

    .client-image img {
        height: 100px;
    }

    .client-info {
        padding: 0.75rem;
    }

    .client-info h4 {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }

    .client-category {
        font-size: 0.6rem;
        padding: 0.15rem 0.5rem;
        margin-bottom: 0.5rem;
    }

    .client-info p {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .client-overlay i {
        font-size: 1.25rem;
    }

    /* Hero Image adjustments for mobile */
    .hero-image {
        min-height: 250px;
    }

    .hero-image::before {
        width: 250px;
        height: 250px;
    }

    .mascot-image {
        max-width: 250px;
    }

    /* Footer Mobile Adjustments */
    .footer {
        text-align: center;
        padding: 50px 0 20px;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-desc {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .footer-title {
        margin-top: 1rem;
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .footer-contact li {
        justify-content: center;
        font-size: 0.85rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

/* ========================================
   Extra Small Devices (< 360px)
   ======================================== */
@media (max-width: 359.98px) {
    .section-title {
        font-size: 1.5rem;
    }

    .pricing-amount {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Tighten 2-column grid even more */
    .about-card,
    .pricing-card,
    .testimonial-card,
    .tutorial-card,
    .client-card {
        padding: 0.75rem 0.5rem;
    }

    .about-card h4,
    .pricing-name,
    .client-info h4 {
        font-size: 0.75rem;
    }
}

/* ========================================
   Skeleton Loading Cards (Portfolio JSON API)
   ======================================== */
@keyframes skeleton-shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

.skeleton-card {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.skeleton-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.05) 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.5s infinite linear;
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
    margin: 10px 16px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.05) 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.5s infinite linear;
    width: calc(100% - 32px);
}

.skeleton-title {
    height: 18px;
    width: 60% !important;
    margin-top: 16px;
}

.skeleton-badge {
    height: 10px;
    width: 35% !important;
    background: linear-gradient(90deg,
            rgba(0, 180, 216, 0.1) 25%,
            rgba(0, 180, 216, 0.2) 50%,
            rgba(0, 180, 216, 0.1) 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.5s infinite linear;
}

/* ========================================
   Portfolio Page - Mobile Responsive
   ======================================== */
@media (max-width: 767.98px) {

    /* Stats bar stacks vertically on mobile */
    .stats-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    /* Search input takes full width on mobile */
    .portfolio-search-wrap {
        width: 100%;
    }

    .portfolio-search-input {
        width: 100%;
    }

    .portfolio-search-input:focus {
        width: 100%;
    }

    /* Filter tabs scroll horizontally on mobile */
    .filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .filter-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Stats bar not sticky on mobile to save space */
    .portfolio-stats-bar {
        position: static;
    }
}

/* ============================================================
   MOBILE-FIRST APP-STYLE RESPONSIVE OVERHAUL
   Star Fence Developer — All Pages
   ============================================================ */

/* ---- Global touch & scroll optimizations ---- */
@media (hover: none) and (pointer: coarse) {

    /* Remove hover-only transitions that confuse touch devices */
    .client-card:hover {
        transform: none;
    }

    .about-card:hover {
        transform: none;
    }

    .filter-tab:hover {
        transform: none;
    }

    .nav-cta:hover {
        transform: none;
    }

    /* Larger touch targets across the board */
    .filter-tab {
        min-height: 44px;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .btn-primary-custom,
    .btn-whatsapp {
        min-height: 52px;
    }
}

/* ============================================================
   PHASE 1 — SMALL MOBILE  ≤575px
   (iPhone SE, Galaxy A series, etc.)
   ============================================================ */
@media (max-width: 575.98px) {

    /* ---- Container padding ---- */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* ---- Sections ---- */
    section {
        padding: 48px 0;
    }

    /* ---- Section Header ---- */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-header::after {
        margin-top: 1rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .section-desc {
        font-size: 0.9rem;
    }

    /* ---- Hero ---- */
    .hero-section {
        text-align: center;
        padding-top: 96px;
        min-height: 100svh;
    }

    .hero-ring-1,
    .hero-ring-2 {
        display: none;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.85rem;
    }

    .hero-title {
        font-size: clamp(1.85rem, 8vw, 2.4rem);
        margin-bottom: 1rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons .btn-primary-custom,
    .hero-buttons .btn-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-trust {
        justify-content: center;
        gap: 0;
        flex-wrap: nowrap;
    }

    .hero-trust-item {
        padding: 0 0.75rem 0 0;
    }

    .hero-trust-item strong {
        font-size: 0.95rem;
    }

    .hero-trust-item span {
        font-size: 0.65rem;
    }

    .hero-trust-divider {
        margin: 0 0.75rem 0 0;
        height: 24px;
    }

    .hero-image {
        min-height: 260px;
    }

    .mascot-image {
        max-width: 260px;
    }

    /* ---- App-style Card System ---- */
    /* About cards — 2-column grid */
    .about-card {
        border-radius: 20px;
        padding: 1.4rem 1rem;
        border-color: rgba(0, 180, 216, 0.12);
        background: linear-gradient(145deg, rgba(0, 180, 216, 0.07) 0%, rgba(255, 255, 255, 0.04) 100%);
    }

    .about-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        margin-bottom: 0.85rem;
    }

    .about-card h4 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .about-card p {
        font-size: 0.82rem;
    }

    /* ---- Pricing cards — app-style ---- */
    .pricing-card {
        border-radius: 24px;
        padding: 1.75rem 1.25rem;
        border-color: rgba(255, 255, 255, 0.08);
    }

    .pricing-name {
        font-size: 1.2rem;
    }

    .pricing-amount {
        font-size: 1.6rem;
    }

    .pricing-period {
        font-size: 0.78rem;
    }

    .pricing-features li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }

    .pricing-card.featured {
        transform: none;
    }

    /* ---- Tutorial cards — step number app style ---- */
    .tutorial-card {
        border-radius: 20px;
        padding: 1.4rem 1rem;
    }

    .tutorial-step {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .tutorial-icon {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .tutorial-card h4 {
        font-size: 0.95rem;
    }

    .tutorial-card p {
        font-size: 0.82rem;
    }

    /* ---- Testimonial cards ---- */
    .testimonial-card {
        border-radius: 20px;
        padding: 1.4rem 1.1rem;
    }

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

    .testimonial-stars i {
        font-size: 0.85rem;
    }

    /* ---- Feature items ---- */
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .feature-icon {
        margin: 0 auto;
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .feature-content h4 {
        font-size: 1rem;
    }

    .feature-content p {
        font-size: 0.875rem;
    }

    /* ---- Portfolio / Client cards ---- */
    .client-card {
        border-radius: 20px;
    }

    .client-image {
        aspect-ratio: 16 / 9;
    }

    .client-info {
        padding: 1rem;
    }

    .client-info h4 {
        font-size: 0.9rem;
    }

    .client-info p {
        font-size: 0.8rem;
    }

    .client-category {
        font-size: 0.65rem;
    }

    /* ---- Page header (clients.html) ---- */
    .page-header {
        padding: 110px 0 52px;
    }

    .page-title {
        font-size: clamp(1.7rem, 7.5vw, 2.2rem);
    }

    .page-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .ph-badge {
        font-size: 0.7rem;
    }

    .ph-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0;
        padding: 0.55rem 1rem;
        margin-bottom: 1.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .ph-stat {
        font-size: 0.78rem;
        padding: 0 0.65rem;
    }

    .ph-stat i {
        display: none;
    }

    .ph-stat-divider {
        height: 18px;
    }

    .ph-ring-1,
    .ph-ring-2 {
        display: none;
    }

    /* ---- Filter tabs ---- */
    .filter-section {
        padding: 1rem 0;
    }

    .filter-tab {
        font-size: 0.78rem;
        padding: 0.45rem 0.9rem;
        min-height: 38px;
    }

    /* ---- Portfolio search ---- */
    .search-icon {
        left: 12px;
    }

    .portfolio-search-input {
        padding: 0.5rem 2rem 0.5rem 2rem;
        font-size: 0.82rem;
    }

    /* ---- CTA Section ---- */
    .cta-section .container {
        padding: 2.5rem 1.25rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.9rem;
    }

    .cta-section .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    /* ---- Footer ---- */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-logo {
        height: 36px;
    }

    .footer-desc {
        font-size: 0.85rem;
    }

    .footer-title {
        font-size: 0.95rem;
    }

    .footer-links li a {
        font-size: 0.85rem;
    }

    .footer-bottom p {
        font-size: 0.78rem;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    /* ---- WhatsApp float ---- */
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }

    /* ---- AI Chatbot ---- */
    .ai-chatbot-window {
        width: calc(100vw - 32px);
        right: -8px;
        bottom: 70px;
        max-height: 70vh;
    }
}

/* ============================================================
   PHASE 2 — MOBILE  576px–767px
   (Large phones: iPhone Pro Max, Pixel 7 etc.)
   ============================================================ */
@media (min-width: 576px) and (max-width: 767.98px) {

    section {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Hero */
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }

    .hero-ring-1 {
        width: 300px;
        height: 300px;
    }

    .hero-ring-2 {
        display: none;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .mascot-image {
        max-width: 320px;
    }

    /* Cards — 2-col on this width */
    .about-card,
    .tutorial-card,
    .testimonial-card {
        border-radius: 20px;
    }

    /* Portfolio */
    .page-header {
        padding: 120px 0 60px;
    }

    .ph-ring-1 {
        width: 380px;
        height: 380px;
    }

    .ph-ring-2 {
        display: none;
    }

    /* CTA */
    .cta-section .btn-whatsapp {
        min-width: 280px;
    }
}

/* ============================================================
   PHASE 3 — TABLET  768px–991px
   (iPad Mini, Surface Go, etc.)
   ============================================================ */
@media (min-width: 768px) and (max-width: 991.98px) {

    section {
        padding: 70px 0;
    }

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

    /* Hero */
    .hero-section {
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2.4rem, 5vw, 3.2rem);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-ring-1 {
        width: 320px;
        height: 320px;
        right: 0;
    }

    .hero-ring-2 {
        display: none;
    }

    .mascot-image {
        max-width: 360px;
    }

    /* Cards — app-style radius upgrade */
    .about-card,
    .pricing-card,
    .tutorial-card,
    .testimonial-card,
    .client-card {
        border-radius: 22px;
    }

    .pricing-card.featured {
        transform: none;
    }

    /* Portfolio */
    .page-header {
        padding: 135px 0 70px;
    }

    .ph-ring-1 {
        width: 420px;
        height: 420px;
    }

    .ph-ring-2 {
        width: 600px;
        height: 600px;
    }

    /* Horizontal scroll for pricing on tablet (doesn't need wrap) */
    /* Column grid handled by Bootstrap col-md-6 already */
}

/* ============================================================
   PHASE 4 — DESKTOP  992px+  (fine-tuning only)
   ============================================================ */
@media (min-width: 992px) {

    /* Restore hover effects that were removed for touch */
    .client-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 40px rgba(0, 180, 216, 0.2);
    }

    .about-card:hover {
        transform: translateY(-5px);
    }

    /* Ensure hero rings are visible on desktop */
    .hero-ring-1,
    .hero-ring-2 {
        display: block;
    }

    .ph-ring-1,
    .ph-ring-2 {
        display: block;
    }
}

/* ============================================================
   LANDSCAPE MOBILE — Keep hero usable in landscape
   ============================================================ */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero-image {
        display: none;
    }

    /* hide mascot in landscape to save vertical space */
    .page-header {
        padding: 90px 0 40px;
    }
}

/* ============================================================
   APP-STYLE CARD POLISH — Applied at all sizes
   ============================================================ */

/* Smooth tap highlight removal for iOS */
a,
button,
.filter-tab,
.client-card {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Card pressed state for touch */
@media (hover: none) {
    .client-card:active {
        transform: scale(0.97);
        border-color: rgba(0, 180, 216, 0.5);
        transition: transform 0.1s ease, border-color 0.1s ease;
    }

    .filter-tab:active {
        background: rgba(0, 180, 216, 0.2);
        transform: scale(0.96);
        transition: all 0.1s ease;
    }

    .btn-primary-custom:active,
    .btn-whatsapp:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
}

/* Safe area padding for phones with notch/home bar */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .whatsapp-float {
        bottom: calc(16px + env(safe-area-inset-bottom));
    }

    .ai-chatbot {
        bottom: calc(80px + env(safe-area-inset-bottom));
    }

    footer {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }
}

/* ============================================================
   DEFINITIVE VIEWPORT CONTAINMENT — Fixes menu/chatbot overflow
   ============================================================ */

/* Prevent horizontal scrollbar without breaking mobile scroll.
   overflow-x:hidden on html/body creates a new scroll context on iOS Safari
   which kills native momentum scrolling. Use 'clip' instead — it clips
   visual overflow without creating a scroll container. */
html,
body {
    overflow-x: clip;
    max-width: 100vw;
    width: 100%;
}

/* Clip decorative overflow from sections without blocking vertical scroll */
section {
    overflow-x: clip;
}

/* Hero section must not bleed beyond viewport */
.hero-section {
    overflow: clip;
    max-width: 100vw;
}

/* Page header same treatment */
.page-header {
    overflow: clip;
    max-width: 100vw;
}

/* Navbar must never overflow the viewport width */
.navbar,
.navbar>.container,
.navbar>.container-fluid {
    max-width: 100%;
    box-sizing: border-box;
}

/* WhatsApp float — definitive safe positioning */
.whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    right: max(16px, 20px) !important;
    z-index: 997 !important;
    width: 60px;
    height: 60px;
}

/* AI chatbot toggle + window — definitive safe positioning */
.ai-chatbot {
    position: fixed !important;
    bottom: 88px !important;
    right: 20px !important;
    z-index: 998 !important;
}

.ai-chatbot-window {
    position: fixed !important;
    bottom: 156px !important;
    right: 20px !important;
    max-width: min(380px, calc(100vw - 32px)) !important;
    z-index: 999 !important;
}

/* Ensure aurora container stays contained */
.aurora-container {
    overflow: hidden;
    max-width: 100vw;
}

/* Mobile-specific fixes for the problematic nav toggler area */
@media (max-width: 991.98px) {

    /* Make collapsed menu drop DOWN inside the page, not overflow */
    .navbar .container {
        position: relative;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: calc(100vw - 32px);
        box-sizing: border-box;
        margin-top: 8px;
    }

    /* WhatsApp float smaller on mobile */
    .whatsapp-float {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.6rem;
        bottom: 16px !important;
        right: 16px !important;
    }

    /* Chatbot repositioned for mobile */
    .ai-chatbot {
        bottom: 76px !important;
        right: 16px !important;
    }

    .ai-chatbot-window {
        bottom: 140px !important;
        right: 16px !important;
        max-width: calc(100vw - 32px) !important;
    }
}


/* ============================================================
   PRODUK.HTML — Products & Pricing Page Styles
   ============================================================ */

/* Package icon inside pricing card header */
.prod-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 180, 216, 0.12);
    border: 1px solid rgba(0, 180, 216, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-cyan);
    margin: 0 auto 1rem;
    transition: all var(--transition-normal);
}

.prod-icon-featured {
    background: rgba(255, 214, 10, 0.15);
    border-color: rgba(255, 214, 10, 0.4);
    color: var(--accent-yellow);
}

.pricing-card:hover .prod-icon {
    background: rgba(0, 180, 216, 0.2);
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.3);
}

/* Renewal line in pricing features */
.prod-renewal {
    color: rgba(255, 255, 255, 0.45) !important;
    font-size: 0.78rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.5rem;
    padding-top: 0.5rem !important;
}

.prod-renewal i {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* ---- Comparison Table ---- */
.prod-compare-section {
    padding: 80px 0;
    background: rgba(10, 22, 40, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 180, 216, 0.08);
    border-bottom: 1px solid rgba(0, 180, 216, 0.08);
}

.prod-table-wrap {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Fix mobile scroll: ensure table's horizontal scroll area doesn't swallow vertical swipes */
.prod-table-wrap .table-responsive {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
}

.prod-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.prod-table th,
.prod-table td {
    padding: 0.85rem 1.1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
}

.prod-table th:first-child,
.prod-table td:first-child {
    text-align: left;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    width: 30%;
}

.prod-table thead th {
    background: rgba(0, 180, 216, 0.08);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-bottom: 2px solid rgba(0, 180, 216, 0.2);
    position: relative;
}

.prod-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* Featured column highlight */
.featured-col {
    background: rgba(0, 180, 216, 0.07) !important;
    border-left: 1px solid rgba(0, 180, 216, 0.15) !important;
    border-right: 1px solid rgba(0, 180, 216, 0.15) !important;
}

.table-badge {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 100px;
    margin-left: 6px;
    vertical-align: middle;
}

.text-success {
    color: #23d160 !important;
}

.text-danger {
    color: rgba(255, 255, 255, 0.2) !important;
}

/* ---- FAQ Accordion ---- */
.prod-faq-section {
    padding: 80px 0;
}

.prod-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prod-faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-normal);
}

.prod-faq-item.open {
    border-color: rgba(0, 180, 216, 0.35);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.08);
}

.prod-faq-q {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.prod-faq-q:hover {
    color: var(--accent-cyan);
}

.prod-faq-item.open .prod-faq-q {
    color: var(--accent-cyan);
}

.prod-faq-icon {
    flex-shrink: 0;
    font-size: 0.8rem;
    transition: transform var(--transition-normal);
    color: var(--accent-cyan);
}

.prod-faq-item.open .prod-faq-icon {
    transform: rotate(180deg);
}

.prod-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 1.25rem;
}

.prod-faq-item.open .prod-faq-a {
    max-height: 200px;
    padding: 0 1.25rem 1.1rem;
}

.prod-faq-a p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ---- Mobile FAQ ---- */
@media (max-width: 575.98px) {
    .prod-compare-section {
        padding: 48px 0;
    }

    .prod-table th,
    .prod-table td {
        padding: 0.65rem 0.6rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .prod-table th:first-child,
    .prod-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: rgba(10, 22, 40, 0.95);
    }

    .prod-table thead th:first-child {
        background: rgba(10, 22, 40, 0.98);
    }

    .prod-faq-section {
        padding: 48px 0;
    }

    .prod-faq-q {
        font-size: 0.875rem;
        padding: 1rem;
    }

    .prod-faq-item.open .prod-faq-a {
        padding: 0 1rem 1rem;
    }

    .prod-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        border-radius: 14px;
    }
}


/* ============================================================
   PORTOFOLIO.HTML — Portfolio Page Styles
   ============================================================ */

/* Featured badge on cards */
.pf-featured-card {
    position: relative;
}

.pf-featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 10px rgba(255, 214, 10, 0.3);
}

.pf-featured-section {
    padding: 60px 0 40px;
}

/* ---- Stats Banner ---- */
.pf-stats-banner {
    padding: 60px 0;
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 180, 216, 0.08);
    border-bottom: 1px solid rgba(0, 180, 216, 0.08);
}

.pf-stat-box {
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.pf-stat-box:hover {
    border-color: rgba(0, 180, 216, 0.3);
    background: rgba(0, 180, 216, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.12);
}

.pf-stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.4rem;
    font-family: var(--font-primary);
}

.pf-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ---- Process Section ---- */
.pf-process-section {
    padding: 80px 0;
}

.pf-process-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem 2rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
    height: 100%;
}

.pf-process-card:hover {
    border-color: rgba(0, 180, 216, 0.35);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.12);
    transform: translateY(-5px);
}

.pf-process-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    box-shadow: 0 4px 16px rgba(0, 180, 216, 0.35);
}

.pf-process-icon {
    width: 72px;
    height: 72px;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent-cyan);
    margin: 0.5rem auto 1.25rem;
    transition: all var(--transition-normal);
}

.pf-process-card:hover .pf-process-icon {
    background: rgba(0, 180, 216, 0.18);
    box-shadow: 0 0 24px rgba(0, 180, 216, 0.25);
    transform: scale(1.05) rotate(-2deg);
}

.pf-process-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--white);
}

.pf-process-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin: 0;
}

/* ---- Mobile: portofolio page ---- */
@media (max-width: 575.98px) {
    .pf-featured-section {
        padding: 40px 0 20px;
    }

    .pf-stats-banner {
        padding: 40px 0;
    }

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

    .pf-process-section {
        padding: 48px 0;
    }

    .pf-process-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .pf-process-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
        border-radius: 16px;
    }

    .pf-process-card h4 {
        font-size: 0.95rem;
    }

    .pf-process-card p {
        font-size: 0.82rem;
    }
}

/* ============================================================
   PROMO CODE SYSTEM — Produk Page
   ============================================================ */

/* ---- Promo Code Card ---- */
.promo-code-section {
    padding: 40px 0 0;
}

.promo-code-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(10, 22, 40, 0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.promo-code-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 180, 216, 0.12);
    border: 1px solid rgba(0, 180, 216, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.promo-code-info {
    flex: 1;
    min-width: 200px;
}

.promo-code-info h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.promo-code-info p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    margin: 0;
}

.promo-code-form {
    flex: 1;
    min-width: 280px;
}

.promo-input-group {
    display: flex;
    gap: 0.5rem;
}

.promo-input-group input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    outline: none;
    transition: all 0.3s ease;
}

.promo-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.promo-input-group input:focus {
    border-color: var(--accent-cyan);
    background: rgba(0, 180, 216, 0.06);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.promo-input-group button {
    background: var(--gradient-accent);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.promo-input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.3);
}

/* Promo Messages */
.promo-message {
    display: none;
    margin-top: 0.75rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.5;
}

.promo-message-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.promo-message-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.promo-message-warning {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* ---- Applied Promo Card Effect ---- */
.pricing-card.promo-applied {
    border-color: rgba(0, 180, 216, 0.4) !important;
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.1), 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: promoGlow 0.5s ease;
}

@keyframes promoGlow {
    0% { box-shadow: 0 0 0 rgba(0, 180, 216, 0); }
    50% { box-shadow: 0 0 40px rgba(0, 180, 216, 0.25); }
    100% { box-shadow: 0 0 30px rgba(0, 180, 216, 0.1), 0 10px 30px rgba(0, 0, 0, 0.2); }
}

.pricing-amount.promo-active-price {
    color: #4ade80 !important;
}

.promo-save {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.promo-original {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.85rem !important;
}

/* Promo Input Success Animation */
@keyframes promoInputPulse {
    0% { border-color: rgba(255, 255, 255, 0.15); }
    50% { border-color: #4ade80; box-shadow: 0 0 15px rgba(34, 197, 94, 0.3); }
    100% { border-color: #4ade80; }
}

.promo-applied-input {
    animation: promoInputPulse 0.6s ease;
    border-color: #4ade80 !important;
}

/* ---- Mobile Responsive ---- */
@media (max-width: 767.98px) {
    .promo-code-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1rem;
    }

    .promo-code-icon {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }

    .promo-code-form {
        width: 100%;
        min-width: unset;
    }

    .promo-input-group {
        flex-direction: column;
    }

    .promo-input-group button {
        width: 100%;
    }
}


/* ============================================================
   RESELLER.HTML — Reseller Landing Page Styles
   ============================================================ */

/* ---- About Program Visual ---- */
.reseller-about {
    padding: 100px 0;
    position: relative;
}

.reseller-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.reseller-icon-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reseller-icon-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 180, 216, 0.4);
    box-shadow: 0 16px 40px rgba(0, 180, 216, 0.15);
}

.reseller-icon-card i {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
    display: block;
}

.reseller-icon-card.accent i {
    color: var(--accent-teal);
}

.reseller-icon-card.gold i {
    color: var(--accent-yellow);
}

.reseller-icon-card span {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Highlights */
.reseller-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reseller-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.reseller-highlight-item i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ---- Requirements & Benefits Section ---- */
.reseller-details {
    padding: 100px 0;
    background: rgba(10, 22, 40, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 180, 216, 0.08);
    border-bottom: 1px solid rgba(0, 180, 216, 0.08);
}

.reseller-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(10, 22, 40, 0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.reseller-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.requirements-card::before {
    background: var(--gradient-accent);
}

.benefits-card::before {
    background: var(--gradient-gold);
}

.reseller-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 180, 216, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 180, 216, 0.12);
}

.reseller-card:hover::before {
    opacity: 1;
}

.reseller-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 180, 216, 0.12);
    border: 1px solid rgba(0, 180, 216, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-cyan);
    margin-bottom: 1.25rem;
    transition: all var(--transition-normal);
}

.reseller-card-icon.gold {
    background: rgba(255, 214, 10, 0.12);
    border-color: rgba(255, 214, 10, 0.3);
    color: var(--accent-yellow);
}

.reseller-card:hover .reseller-card-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.25);
}

.reseller-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.reseller-card-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Reseller List */
.reseller-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reseller-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
}

.reseller-list li:last-child {
    border-bottom: none;
}

.reseller-list li i {
    color: var(--accent-cyan);
    font-size: 0.8rem;
    background: rgba(0, 180, 216, 0.12);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reseller-list.gold li i {
    color: var(--accent-yellow);
    background: rgba(255, 214, 10, 0.12);
}

/* ---- Registration Form ---- */
.reseller-form-section {
    padding: 100px 0;
}

.reseller-form-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(10, 22, 40, 0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2.5rem;
}

.reseller-form-group {
    margin-bottom: 0.25rem;
}

.reseller-form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reseller-form-group label i {
    color: var(--accent-cyan);
}

.reseller-form-group label .required {
    color: #ff6b6b;
}

.reseller-form-group label small {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.reseller-form-group input,
.reseller-form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.reseller-form-group input::placeholder,
.reseller-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.reseller-form-group input:focus,
.reseller-form-group textarea:focus {
    border-color: var(--accent-cyan);
    background: rgba(0, 180, 216, 0.06);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.reseller-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.reseller-submit-btn {
    padding: 1rem 2.5rem !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}

.reseller-form-note {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
}

.reseller-form-note i {
    color: rgba(0, 180, 216, 0.6);
}

/* ---- Final CTA Section ---- */
.reseller-cta {
    padding: 100px 0;
    background: rgba(10, 22, 40, 0.5);
    border-top: 1px solid rgba(0, 180, 216, 0.08);
}

.reseller-cta-content {
    text-align: center;
    position: relative;
    padding: 4rem 2rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(10, 22, 40, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    overflow: hidden;
}

.reseller-cta-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.reseller-cta-content h2 {
    font-size: var(--font-size-h2);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.reseller-cta-content p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.reseller-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ---- Mobile Responsive ---- */
@media (max-width: 767.98px) {
    .reseller-about {
        padding: 60px 0;
    }

    .reseller-icon-grid {
        gap: 0.75rem;
    }

    .reseller-icon-card {
        padding: 1.25rem 1rem;
    }

    .reseller-icon-card i {
        font-size: 1.5rem;
    }

    .reseller-details {
        padding: 60px 0;
    }

    .reseller-card {
        padding: 2rem 1.5rem;
    }

    .reseller-form-section {
        padding: 60px 0;
    }

    .reseller-form-card {
        padding: 2rem 1.25rem;
    }

    .reseller-cta {
        padding: 60px 0;
    }

    .reseller-cta-content {
        padding: 2.5rem 1.5rem;
    }

    .reseller-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .reseller-cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .reseller-icon-card {
        padding: 1rem 0.75rem;
    }

    .reseller-icon-card i {
        font-size: 1.25rem;
    }

    .reseller-icon-card span {
        font-size: 0.8rem;
    }

    .reseller-form-group input,
    .reseller-form-group textarea {
        font-size: 0.85rem;
        padding: 0.75rem 0.85rem;
    }

    .reseller-submit-btn {
        width: 100%;
    }
}