/* ============================================================
   THE HUSTLE BEAR — Main Stylesheet
   Premium Web Development Agency
   ============================================================ */

/* ============ CSS CUSTOM PROPERTIES ============ */
:root {
    /* Colors — Luxury Black & Gold Palette (The Hustle Bear) */
    --primary: #F8F8F8;
    --secondary: #D4AF37;
    --accent: #B8860B;
    --background: #0D0D0D;
    --light-gray: linear-gradient(180deg, #0D0D0D 0%, #151515 100%);
    --dark-text: #F8F8F8;
    --medium-text: rgba(248, 248, 248, 0.68);
    --light-text: rgba(248, 248, 248, 0.45);
    --border-color: rgba(212, 175, 55, 0.28);
    --success: #22C55E;
    --warning: #F4D03F;
    --error: #EF4444;

    /* Luxury card / glass tokens */
    --gold-dark: #B8860B;
    --gold-metallic: #D4AF37;
    --gold-light: #F4D03F;
    --card-bg: rgba(17, 17, 17, 0.7);
    --card-border: rgba(184, 134, 11, 0.55);
    --card-border-hover: #F4D03F;
    --gold-glow: rgba(212, 175, 55, 0.35);
    --gold-glow-strong: rgba(244, 208, 63, 0.45);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #B8860B 0%, #D4AF37 100%);
    --gradient-secondary: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    --gradient-dark: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 100%);
    --gradient-light: linear-gradient(135deg, #141414 0%, #0D0D0D 100%);
    --gradient-gold-text: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #F4D03F 100%);

    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3rem;
    --fs-5xl: 3.5rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --container-max: 1400px;
    --header-height: 80px;

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.45), 0 2px 4px -2px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.55), 0 8px 10px -6px rgba(0, 0, 0, 0.35);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.25);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--fs-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul,
ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

::selection {
    background: var(--secondary);
    color: #fff;
}

/* ============ UTILITY CLASSES ============ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-5xl) 0;
    position: relative;
}

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

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

.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-lg);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(244, 208, 63, 0.08));
    color: var(--secondary);
    font-size: var(--fs-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.5px;
}

.section-title {
    font-size: var(--fs-4xl);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: var(--fs-md);
    color: var(--medium-text);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-weight: 600;
    font-size: var(--fs-sm);
    padding: 12px 28px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 1.5px solid var(--secondary);
}

.btn-outline:hover {
    border-color: var(--gold-light);
    color: #0D0D0D;
    background: var(--gradient-secondary);
    box-shadow: 0 8px 24px var(--gold-glow);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--gold-light);
    color: #0D0D0D;
    border: none;
}

.btn-white:hover {
    background: var(--gold-metallic);
    box-shadow: 0 8px 24px var(--gold-glow);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: var(--fs-base);
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 8px 20px;
    font-size: var(--fs-sm);
}

.btn-block {
    width: 100%;
}

/* Ripple Effect */
.btn-ripple {
    overflow: hidden;
}

.btn-ripple .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============ SCROLL PROGRESS BAR ============ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10000;
    transition: width 0.1s linear;
}

/* ============ PRELOADER ============ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.bear-icon-loader {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    animation: pulse-bear 1.5s ease-in-out infinite;
}

@keyframes pulse-bear {

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

    50% {
        transform: scale(1.1);
    }
}

.preloader-text {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--primary);
    margin-top: var(--space-lg);
    letter-spacing: 1px;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    margin-top: var(--space-lg);
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: preloader-fill 1.5s ease forwards;
}

@keyframes preloader-fill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-base);
    background: rgba(13, 13, 13, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(184, 134, 11, 0.2);
}

.header.scrolled {
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--secondary);
    height: 70px;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 1001;
}

.logo-bear {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform var(--transition-spring);
}

.logo:hover .logo-bear {
    transform: rotate(-10deg) scale(1.1);
}

.logo-text {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    padding: 8px 16px;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--primary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    position: relative;
}

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

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 20px;
}

/* Nav CTA */
.nav-cta {
    margin-left: var(--space-md);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 13, 13, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(380px, 85vw);
    height: 100vh;
    background: var(--background);
    z-index: 999;
    padding: var(--space-xl);
    transition: right var(--transition-slow);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

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

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
}

.mobile-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    color: var(--medium-text);
}

.mobile-close:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.mobile-nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.mobile-nav-link {
    display: block;
    padding: 14px 16px;
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--dark-text);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.mobile-nav-link:hover {
    background: var(--light-gray);
    color: var(--secondary);
    padding-left: 24px;
}

.mobile-cta {
    margin-top: var(--space-xl);
    text-align: center;
}

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-4xl);
    overflow: hidden;
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    animation: hero-gradient-pulse 8s ease-in-out infinite;
}

@keyframes hero-gradient-pulse {

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

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

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 5%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent 70%);
    animation: float-shape 12s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 5%;
    background: radial-gradient(circle, rgba(244, 208, 63, 0.06), transparent 70%);
    animation: float-shape 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 30%;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.07), transparent 70%);
    animation: float-shape 14s ease-in-out infinite;
    animation-delay: -2s;
}

.shape-4 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 20%;
    background: var(--secondary);
    opacity: 0.05;
    animation: float-shape 8s ease-in-out infinite;
    animation-delay: -4s;
}

.shape-5 {
    width: 120px;
    height: 120px;
    bottom: 30%;
    left: 40%;
    background: var(--accent);
    opacity: 0.04;
    animation: float-shape 16s ease-in-out infinite reverse;
}

@keyframes float-shape {

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

    25% {
        transform: translate(20px, -30px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, -50px) rotate(-3deg);
    }

    75% {
        transform: translate(15px, -20px) rotate(2deg);
    }
}

/* Hero Content */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: var(--space-xl);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {

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

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

.hero-title {
    font-size: var(--fs-5xl);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: var(--space-xl);
    letter-spacing: -1px;
    position: relative;
}

.hero-badge {
    position: relative;
}

.hero-badge::after {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: -10px;
    height: 1px;
    background: var(--gradient-secondary);
    opacity: 0.5;
}

.hero-description {
    font-size: var(--fs-md);
    color: var(--medium-text);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    max-width: 520px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-color);
}

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

.hero-stat-number {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--primary);
}

.hero-stat-plus {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--secondary);
}

.hero-stat-label {
    display: block;
    font-size: var(--fs-xs);
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Right - Illustration */
.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-main-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(212, 175, 55, 0.1));
    animation: float-illustration 6s ease-in-out infinite;
}

.hero-main-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 32px;
    background:
        radial-gradient(circle at center, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.08) 34%, rgba(10, 10, 10, 0.98) 72%),
        linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(8, 8, 8, 0.98));
    box-shadow:
        0 28px 50px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(212, 175, 55, 0.08) inset;
    overflow: hidden;
    animation: float-illustration 6s ease-in-out infinite;
}

.hero-main-visual::before {
    content: '';
    position: absolute;
    inset: 12% 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 70%);
    filter: blur(14px);
}

.hero-main-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 24px;
    filter: drop-shadow(0 20px 40px rgba(212, 175, 55, 0.18));
}

@keyframes float-illustration {

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

    50% {
        transform: translateY(-15px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    z-index: 2;
    animation: fade-in-up 1s ease 1.5s both;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background: var(--secondary);
    border-radius: var(--radius-full);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

.scroll-indicator span {
    font-size: var(--fs-xs);
    color: var(--light-text);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============ TRUSTED BY ============ */
.trusted {
    padding: var(--space-4xl) 0;
    background: var(--light-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.trusted-label {
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-2xl);
}

.trusted-label strong {
    color: var(--secondary);
}

.trusted-slider {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.trusted-track {
    display: flex;
    gap: var(--space-3xl);
    animation: trusted-scroll 40s linear infinite;
    width: max-content;
}

.trusted-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.trusted-logo span {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--primary);
    opacity: 0.2;
    transition: opacity var(--transition-base);
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.trusted-logo:hover span {
    opacity: 0.5;
}

@keyframes trusted-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============ SERVICES ============ */
.services {
    background: var(--background);
}

.services-grid {
    display: grid;
    gap: var(--space-2xl);
}

.services-grid-top {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: var(--space-2xl);
}

.services-grid-bottom {
    grid-template-columns: repeat(5, 1fr);
}

.service-card {
    position: relative;
    padding: var(--space-2xl) var(--space-xl);
    background: #111111;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid var(--gold-dark);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    cursor: pointer;
}

.service-card-glow {
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.service-card:hover .service-card-glow {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 30px var(--gold-glow);
    border-color: transparent;
}

.service-card>*:not(.service-card-glow) {
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: #111111;
    border-radius: calc(var(--radius-lg) - 1.5px);
    z-index: 0;
}

.service-card:hover::before {
    inset: 2px;
    border-radius: calc(var(--radius-lg) - 2px);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0D0D0D;
    border: 1.5px solid var(--gold-dark);
    border-radius: 50%;
    color: var(--gold-metallic);
    margin-bottom: var(--space-xl);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    border-color: var(--gold-light);
    color: var(--gold-light);
    box-shadow: 0 0 20px var(--gold-glow);
    transform: scale(1.1);
}

.service-title {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--gold-metallic);
    margin-bottom: var(--space-md);
}

.service-desc {
    font-size: var(--fs-sm);
    color: rgba(248, 248, 248, 0.82);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

/* Compact mobile-only title/subtitle — hidden everywhere except the mobile grid (≤768px) */
.service-title-mobile,
.service-subtitle-mobile {
    display: none;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--secondary);
    transition: all var(--transition-base);
}

.service-link svg {
    transition: transform var(--transition-base);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ============ WHY CHOOSE US ============ */
.why-us {
    background: var(--light-gray);
    overflow: hidden;
}

.why-us-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.why-us-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.04), transparent 70%);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-illustration-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.why-us-svg {
    width: 100%;
    max-width: 420px;
    height: auto;
}

.orbit-dot {
    animation: orbit-pulse 3s ease-in-out infinite;
}

@keyframes orbit-pulse {

    0%,
    100% {
        opacity: 0.3;
        r: 4;
    }

    50% {
        opacity: 1;
        r: 6;
    }
}

/* Why badges */
.why-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.8);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--dark-text);
}

.wb-1 {
    top: 15%;
    right: 0;
    animation: float-card 5s ease-in-out infinite;
}

.wb-2 {
    bottom: 15%;
    left: 5%;
    animation: float-card 6s ease-in-out infinite reverse;
}

/* Why Reasons */
.why-us-reasons {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.why-reason {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.why-reason:hover {
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.reason-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(244, 208, 63, 0.08));
    border-radius: var(--radius-sm);
    color: var(--secondary);
    transition: all var(--transition-base);
}

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

.reason-content h3 {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.reason-content p {
    font-size: var(--fs-sm);
    color: var(--medium-text);
    line-height: 1.6;
}

/* ============ PROCESS ============ */
.process {
    background: var(--background);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-lg);
    position: relative;
    padding-top: var(--space-2xl);
}

.process-line {
    position: absolute;
    top: calc(var(--space-2xl) + 36px);
    left: 7%;
    right: 7%;
    height: 3px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    z-index: 0;
}

.process-line-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.process-step-number {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--secondary);
    opacity: 0.5;
    margin-bottom: var(--space-sm);
}

.process-step-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    color: var(--secondary);
    transition: all var(--transition-base);
    position: relative;
}

.process-step:hover .process-step-icon {
    border-color: var(--secondary);
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.1);
}

.process-step-title {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.process-step-desc {
    font-size: var(--fs-xs);
    color: var(--medium-text);
    line-height: 1.6;
    max-width: 140px;
    margin: 0 auto;
}

/* ============ PORTFOLIO ============ */
.portfolio {
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08), transparent 36%), var(--light-gray);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--space-3xl);
}

.filter-btn {
    padding: 10px 22px;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--gold-metallic);
    background: #090909;
    border: 1px solid rgba(184, 134, 11, 0.72);
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base);
}

.filter-btn:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 18px rgba(212, 175, 55, 0.16);
}

.filter-btn.active {
    background: var(--gradient-secondary);
    color: #0D0D0D;
    border-color: var(--gold-light);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
}

.portfolio-item {
    min-width: 0;
    transition: all var(--transition-slow);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #080808;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--gold-dark);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.portfolio-card:hover {
    border-color: var(--gold-light);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.52), 0 0 26px rgba(212, 175, 55, 0.22);
    transform: translateY(-6px);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 24% 16%, rgba(244, 208, 63, 0.18), transparent 26%),
        linear-gradient(145deg, #171717 0%, #0B0B0B 58%, #151007 100%);
    border-bottom: 1px solid rgba(184, 134, 11, 0.42);
    transition: transform var(--transition-slow);
}

.portfolio-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 46%, transparent 62%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
}

.portfolio-card:hover .portfolio-image::after {
    transform: translateX(120%);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.025);
}

.mock-browser {
    position: relative;
    width: 82%;
    max-width: 320px;
    aspect-ratio: 16 / 10;
    padding: 28px 16px 16px;
    border: 1px solid rgba(212, 175, 55, 0.52);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(22, 22, 22, 0.94), rgba(9, 9, 9, 0.96));
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.48), 0 0 24px rgba(212, 175, 55, 0.11);
    overflow: hidden;
    transform: perspective(900px) rotateX(4deg);
    transition: transform var(--transition-slow);
}

.portfolio-card:hover .mock-browser {
    transform: perspective(900px) rotateX(0deg) scale(1.04);
}

.mock-toolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 22px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    background: #101010;
}

.mock-toolbar span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-metallic);
    opacity: 0.75;
}

.mock-hero,
.mock-chart,
.mock-profile,
.mock-calendar,
.mock-video,
.mock-graph,
.mock-product,
.mock-map {
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(248, 248, 248, 0.04));
}

.mock-hero {
    height: 46px;
    margin-bottom: 10px;
}

.mock-grid,
.mock-dashboard,
.mock-shop-grid,
.mock-course-list,
.mock-lines {
    display: grid;
    gap: 7px;
}

.mock-grid,
.mock-dashboard,
.mock-shop-grid {
    grid-template-columns: repeat(3, 1fr);
}

.mock-grid span,
.mock-dashboard span,
.mock-shop-grid span,
.mock-course-list span,
.mock-lines span,
.mock-property span {
    display: block;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.18);
}

.mock-grid span,
.mock-shop-grid span {
    height: 28px;
}

.mock-chart {
    height: 20px;
    margin-top: 10px;
}

.mock-profile {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.mock-lines {
    grid-template-columns: 1fr;
    width: 66%;
}

.mock-lines span {
    height: 9px;
}

.mock-calendar {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 34%;
    height: 58px;
}

.mock-video {
    height: 64px;
    margin-bottom: 10px;
}

.mock-course-list {
    grid-template-columns: 1fr;
}

.mock-course-list span {
    height: 12px;
}

.mock-dashboard {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 12px;
}

.mock-dashboard span {
    height: 34px;
}

.mock-graph {
    height: 56px;
}

.mock-product {
    width: 48%;
    height: 86px;
    margin: 0 auto 10px;
}

.mock-map {
    height: 82px;
    margin-bottom: 10px;
}

.mock-property {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 8px;
}

.mock-property span {
    height: 22px;
}

.portfolio-overlay {
    position: static;
    background: transparent;
    display: block;
    opacity: 1;
    flex: 1;
}

.portfolio-overlay-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    color: #fff;
    padding: 22px 22px 20px;
    transform: none;
}

.portfolio-cat {
    display: inline-block;
    order: 2;
    font-size: 13px;
    font-weight: 600;
    color: rgba(248, 248, 248, 0.78);
    margin-bottom: 8px;
}

.portfolio-overlay-content h4 {
    order: 1;
    font-size: 20px;
    font-weight: 800;
    color: var(--gold-metallic);
    line-height: 1.2;
    margin-bottom: 8px;
}

.portfolio-overlay-content p {
    order: 3;
    font-size: 14px;
    color: rgba(248, 248, 248, 0.82);
    line-height: 1.55;
    max-width: 100%;
    min-height: 44px;
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio-tech-tags {
    order: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.portfolio-tech-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 10px;
    border: 1px solid rgba(184, 134, 11, 0.58);
    border-radius: var(--radius-full);
    background: rgba(212, 175, 55, 0.07);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.portfolio-actions {
    order: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: auto;
}

.portfolio-view-btn,
.portfolio-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base), color var(--transition-base);
}

.portfolio-view-btn {
    color: var(--gold-metallic);
    background: transparent;
    border: 1px solid var(--gold-metallic);
}

.portfolio-view-btn:hover {
    color: #0D0D0D;
    background: var(--gold-metallic);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

.portfolio-demo-btn {
    color: #0D0D0D;
    background: var(--gradient-secondary);
    border: 1px solid var(--gold-light);
    box-shadow: 0 10px 22px rgba(212, 175, 55, 0.22);
}

.portfolio-demo-btn:hover {
    color: #0D0D0D;
    box-shadow: 0 14px 30px rgba(212, 175, 55, 0.34);
    transform: translateY(-2px);
}

/* Mobile-only tech-stack line — hidden everywhere except the mobile grid (≤768px) */
.portfolio-tech-mobile {
    display: none;
}

/* Portfolio Modal */
.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

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

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    width: min(600px, 90vw);
    max-height: 90vh;
    background: var(--background);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-base);
}

.portfolio-modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 13, 13, 0.7);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    color: var(--secondary);
    z-index: 2;
    transition: all var(--transition-base);
}

.modal-close:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #0D0D0D;
    transform: rotate(90deg);
}

.modal-image {
    height: 200px;
    background: var(--gradient-primary);
}

.modal-body {
    padding: var(--space-2xl);
}

.modal-cat {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(212, 175, 55, 0.08);
    color: var(--secondary);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.modal-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.modal-desc {
    font-size: var(--fs-sm);
    color: var(--medium-text);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.modal-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.modal-tech span {
    padding: 4px 12px;
    background: var(--light-gray);
    color: var(--dark-text);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 500;
}

/* ============ STATISTICS ============ */
.statistics {
    background: var(--gradient-dark);
    color: #fff;
    padding: var(--space-5xl) 0;
    overflow: hidden;
    position: relative;
}

.statistics-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.stats-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.sp-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.sp-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -60px;
}

.sp-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 30%;
}

.sp-4 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 20%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    margin-bottom: var(--space-lg);
    color: var(--accent);
}

.stat-number {
    font-size: var(--fs-4xl);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-bar {
    margin-top: var(--space-lg);
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.stat-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    transition: width 1.5s ease;
}

.stat-bar-fill.animated {
    width: var(--width);
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    background: var(--background);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 0 var(--space-md);
}

.testimonial-card {
    padding: var(--space-3xl);
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--card-border);
    border-radius: var(--radius-xl);
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--card-border-hover);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6), 0 0 25px var(--gold-glow);
}

.testimonial-quote {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    color: var(--secondary);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-lg);
}

.testimonial-text {
    font-size: var(--fs-md);
    color: var(--dark-text);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: var(--space-2xl);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: var(--fs-sm);
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--primary);
}

.testimonial-info p {
    font-size: var(--fs-sm);
    color: var(--light-text);
}

/* Carousel Controls */
.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.carousel-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--medium-text);
    transition: all var(--transition-base);
}

.carousel-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(212, 175, 55, 0.04);
}

.carousel-dots {
    display: flex;
    gap: var(--space-sm);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.carousel-dot.active {
    background: var(--secondary);
    width: 30px;
    border-radius: var(--radius-full);
}

/* ============ PRICING ============ */
.pricing {
    background: var(--light-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    align-items: stretch;
}

.pricing-card {
    position: relative;
    padding: var(--space-3xl);
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.pricing-popular {
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
}

.pricing-popular:hover {
    transform: scale(1.03) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 24px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--border-color);
}

.pricing-name {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.pricing-desc {
    font-size: var(--fs-sm);
    color: var(--light-text);
    margin-bottom: var(--space-xl);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.pricing-currency {
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--secondary);
}

.pricing-price {
    font-size: var(--fs-4xl);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.pricing-period {
    font-size: var(--fs-sm);
    color: var(--light-text);
    margin-left: 4px;
}

.pricing-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--fs-sm);
    color: var(--dark-text);
}

.pricing-feature.disabled {
    color: var(--light-text);
}

.pricing-feature.disabled span {
    text-decoration: line-through;
}

.pricing-cta {
    margin-top: auto;
}

/* ============ FAQ ============ */
.faq {
    background: var(--background);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.2);
}

.faq-item.active {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-xl) var(--space-xl);
    text-align: left;
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--primary);
    background: var(--background);
    cursor: pointer;
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--secondary);
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
    color: var(--medium-text);
    transition: all var(--transition-base);
}

.faq-item.active .faq-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-xl);
    font-size: var(--fs-sm);
    color: var(--medium-text);
    line-height: 1.8;
}

/* ============ CONTACT ============ */
.contact {
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info-card {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
}

.contact-detail:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.contact-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(244, 208, 63, 0.08));
    border-radius: var(--radius-sm);
    color: var(--secondary);
}

.contact-detail h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: var(--fs-sm);
    color: var(--medium-text);
    line-height: 1.6;
}

/* Map */
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-placeholder {
    height: 180px;
    background: var(--gradient-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.map-placeholder p {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--secondary);
}

.map-placeholder span {
    font-size: var(--fs-xs);
    color: var(--light-text);
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-xl);
}

.form-group label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: var(--space-sm);
}

.required {
    color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    color: var(--dark-text);
    transition: all var(--transition-base);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--background);
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error);
    background: rgba(239, 68, 68, 0.03);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: block;
    font-size: var(--fs-xs);
    color: var(--error);
    margin-top: 4px;
    min-height: 18px;
}

/* Submit Button */
#submitBtn {
    position: relative;
}

#submitBtn .btn-loader {
    display: none;
}

#submitBtn.loading .btn-text {
    opacity: 0;
}

#submitBtn.loading .btn-loader {
    display: block;
    position: absolute;
}

#submitBtn.loading svg:last-child {
    display: none;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: var(--space-4xl) var(--space-2xl);
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.form-success.visible {
    display: block;
    animation: fade-in-up 0.5s ease;
}

.success-icon {
    margin-bottom: var(--space-xl);
}

.success-icon svg {
    animation: success-check 0.6s ease;
}

@keyframes success-check {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

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

.form-success h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.form-success p {
    font-size: var(--fs-sm);
    color: var(--medium-text);
    margin-bottom: var(--space-2xl);
}

/* ============ FOOTER ============ */
.footer {
    background: #0A0A0A;
    color: rgba(248, 248, 248, 0.7);
    border-top: 1.5px solid var(--card-border);
}

.footer-top {
    padding: var(--space-5xl) 0 var(--space-3xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer-logo .logo-bear {
    width: 32px;
    height: 32px;
}

.footer-logo span {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: #fff;
}

.footer-desc {
    font-size: var(--fs-sm);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: var(--fs-base);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-xl);
}

.footer-links li {
    margin-bottom: var(--space-md);
}

.footer-links a {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-base);
    position: relative;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.footer-newsletter-text {
    font-size: var(--fs-sm);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    position: relative;
}

.newsletter-input-wrap {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.newsletter-input-wrap:focus-within {
    border-color: var(--secondary);
}

.newsletter-input-wrap input {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    color: #fff;
    font-size: var(--fs-sm);
}

.newsletter-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input-wrap button {
    padding: 12px 16px;
    background: var(--secondary);
    color: #fff;
    transition: background var(--transition-base);
}

.newsletter-input-wrap button:hover {
    background: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-xl) 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom-content p {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-bottom-links a {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-base);
}

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

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 100;
    cursor: pointer;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

/* ============ ANIMATIONS ============ */
/* Reveal Animations */
.reveal-fade-up,
.reveal-fade-left,
.reveal-fade-right,
.reveal-zoom-in {
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.reveal-fade-up {
    transform: translateY(40px);
}

.reveal-fade-left {
    transform: translateX(40px);
}

.reveal-fade-right {
    transform: translateX(-40px);
}

.reveal-zoom-in {
    transform: scale(0.9);
}

.reveal-fade-up.revealed,
.reveal-fade-left.revealed,
.reveal-fade-right.revealed,
.reveal-zoom-in.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Fade in up animation for initial load */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Glow animation on hover for cards */
@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: var(--shadow-lg);
    }

    50% {
        box-shadow: var(--shadow-glow);
    }
}
