/*
===============================================
FALCON TRADING - STYLE 9
Modern Purple/Coral Theme
===============================================

UI/UX DESIGN DECISIONS:
-----------------------
1. COLOR PALETTE: Purple/Violet primary with warm coral accent
   - Creates premium, trustworthy feel
   - High contrast for WCAG AA compliance

2. TYPOGRAPHY: DM Serif Display + Inter
   - Serif headlines = elegance & tradition
   - Sans-serif body = readability & modernity

3. SPACING: 8px base unit system
   - Consistent rhythm throughout design
   - Generous whitespace for breathing room

4. MOBILE-FIRST: All styles start mobile
   - Progressive enhancement for larger screens
   - Optimized for touch interactions
*/

/* ===== CSS CUSTOM PROPERTIES (Variables) ===== */
:root {
    /* Color Palette - Purple/Coral Theme */
    --primary: #6B46C1;          /* Deep Purple */
    --primary-dark: #553C9A;     /* Darker purple for hover */
    --primary-light: #805AD5;    /* Lighter purple */
    --accent: #F56565;           /* Coral/Salmon accent */
    --accent-dark: #E53E3E;      /* Darker coral */
    --accent-light: #FC8181;     /* Lighter coral */

    /* Neutral Colors */
    --text-dark: #1A202C;        /* Near black for headings */
    --text-body: #4A5568;        /* Gray for body text */
    --text-light: #718096;       /* Light gray for captions */
    --bg-white: #FFFFFF;
    --bg-light: #F7FAFC;         /* Off-white background */
    --bg-dark: #1A202C;          /* Dark background */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(107, 70, 193, 0.95) 0%, rgba(245, 101, 101, 0.85) 100%);

    /* Typography Scale */
    --font-heading: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes - Mobile First (rem for accessibility) */
    --fs-h1: clamp(2.5rem, 5vw + 1rem, 4rem);
    --fs-h2: clamp(2rem, 4vw + 0.5rem, 3rem);
    --fs-h3: clamp(1.25rem, 2vw + 0.5rem, 1.5rem);
    --fs-body: 1rem;
    --fs-small: 0.875rem;

    /* Spacing Scale (8px base) */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 1.5rem;    /* 24px */
    --space-lg: 2rem;      /* 32px */
    --space-xl: 3rem;      /* 48px */
    --space-2xl: 4rem;     /* 64px */
    --space-3xl: 6rem;     /* 96px */

    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;

    /* Borders & Shadows */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ===== CSS RESET & BASE STYLES ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /*
        ACCESSIBILITY: Smooth scrolling for anchor links
        Respects user preference for reduced motion
    */
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;  /* Optimal for readability */
    color: var(--text-body);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== ACCESSIBILITY: Skip Link ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-sm) var(--space-md);
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-sm);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 400;  /* DM Serif Display looks best at normal weight */
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
    margin-bottom: var(--space-sm);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ===== LAYOUT: Container ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

/* ===== SECTION STYLES ===== */
.section {
    padding: var(--space-2xl) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-3xl) 0;
    }
}

.section__header {
    margin-bottom: var(--space-xl);
}

.section__header--center {
    text-align: center;
}

.section__label {
    display: inline-block;
    font-size: var(--fs-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.section__title {
    margin-bottom: var(--space-sm);
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
}

.section__header--center .section__subtitle {
    margin: 0 auto;
}

/* Text Gradient Effect */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS =====
    UI/UX: Clear affordance with distinct states
    - Primary: Filled, high contrast for main actions
    - Secondary: Outlined, less prominent
    - Hover/Focus: Clear visual feedback
*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn--secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn--secondary:hover {
    background: var(--primary);
    color: white;
}

.btn--full {
    width: 100%;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ===== HEADER & NAVIGATION =====
    UI/UX: Sticky header for persistent navigation access
    Transparent initially, solid on scroll
*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: white;
    transition: color var(--transition-fast);
}

.header.scrolled .logo-text {
    color: var(--text-dark);
}

/* Mobile Navigation Toggle */
.nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: white;
    transition: background var(--transition-fast);
}

.header.scrolled .hamburger {
    background: var(--text-dark);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: inherit;
    transition: all var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hamburger Animation */
.nav__toggle.active .hamburger {
    background: transparent;
}

.nav__toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
    background: var(--text-dark);
}

.nav__toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
    background: var(--text-dark);
}

/* Mobile Menu */
.nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-white);
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-normal);
}

.nav__menu.active {
    right: 0;
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.nav__link {
    display: block;
    padding: var(--space-sm) 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid var(--bg-light);
    transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary);
}

/* Desktop Navigation */
@media (min-width: 992px) {
    .nav__toggle {
        display: none;
    }

    .nav__menu {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .nav__list {
        flex-direction: row;
        gap: var(--space-lg);
    }

    .nav__link {
        padding: var(--space-xs) 0;
        font-size: var(--fs-body);
        color: rgba(255, 255, 255, 0.9);
        border-bottom: 2px solid transparent;
    }

    .nav__link:hover,
    .nav__link.active {
        color: white;
        border-bottom-color: var(--accent);
    }

    .header.scrolled .nav__link {
        color: var(--text-body);
    }

    .header.scrolled .nav__link:hover,
    .header.scrolled .nav__link.active {
        color: var(--primary);
        border-bottom-color: var(--primary);
    }
}

/* ===== HERO SECTION =====
    UI/UX: Strong first impression with clear value proposition
    Large headline, compelling subtitle, prominent CTAs
*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../assets/hero.png') center/cover no-repeat;
    color: white;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-top: var(--header-height);
}

.hero__text {
    max-width: 700px;
}

.hero__badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: var(--fs-small);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.hero__title {
    color: white;
    margin-bottom: var(--space-md);
}

.hero__title .text-gradient {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle-line {
    display: block;
    font-size: 0.5em;
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: var(--space-xs);
}

.hero__description {
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: var(--space-lg);
}

/* Brand Highlight */
.hero__brand {
    display: inline-flex;
    flex-direction: column;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--space-lg);
}

.brand-label {
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: #FFD700;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.hero__buttons .btn--secondary {
    color: white;
    border-color: white;
}

.hero__buttons .btn--secondary:hover {
    background: white;
    color: var(--primary);
}

/* Hero Stats */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: #FFD700;
}

.stat__percent {
    font-size: 1.25rem;
    color: #FFD700;
}

.stat__label {
    display: block;
    font-size: var(--fs-small);
    opacity: 0.9;
    margin-top: var(--space-xs);
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--fs-small);
    opacity: 0.8;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: var(--radius-full);
    animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

/* ===== ABOUT SECTION ===== */
.about__grid {
    display: grid;
    gap: var(--space-xl);
}

@media (min-width: 992px) {
    .about__grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.about__text {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.about__features {
    display: grid;
    gap: var(--space-sm);
}

@media (min-width: 576px) {
    .about__features {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Feature Cards */
.feature-card {
    padding: var(--space-md);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
}

.feature-card__icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.feature-card__title {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.feature-card__text {
    font-size: var(--fs-small);
    color: var(--text-light);
    margin: 0;
}

/* Image Wrapper with Badge */
.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-wrapper img {
    width: 100%;
    height: auto;
}

.image-badge {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.badge-text {
    color: white;
    font-size: var(--fs-small);
    font-weight: 600;
}

/* ===== BRAND SECTION (Ayam Prima) ===== */
.brand {
    background: var(--bg-light);
}

.brand__grid {
    display: grid;
    gap: var(--space-xl);
}

@media (min-width: 992px) {
    .brand__grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.brand__text {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.brand__benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.brand__benefits li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.brand__tagline {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

/* ===== VALUES SECTION ===== */
.values__grid {
    display: grid;
    gap: var(--space-md);
}

@media (min-width: 576px) {
    .values__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .values__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    padding: var(--space-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1) 0%, rgba(245, 101, 101, 0.1) 100%);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.value-card__icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.value-card__title {
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.value-card__text {
    color: var(--text-light);
    margin: 0;
}

/* ===== SERVICES SECTION =====
    UI/UX: Horizontal expanding accordion (style1/style2 inspired)
    Panels expand on hover with smooth transitions
*/
.services {
    position: relative;
    background: url('../assets/bg-services.png') center/cover no-repeat fixed;
    color: white;
    overflow: hidden;
}

.services__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.92) 0%, rgba(26, 32, 44, 0.95) 100%);
}

.services .container {
    position: relative;
    z-index: 1;
}

/* Light text variants for dark backgrounds */
.section__label--light {
    color: rgba(255, 255, 255, 0.8);
}

.section__title--light {
    color: white;
}

.section__subtitle--light {
    color: rgba(255, 255, 255, 0.7);
}

/* Horizontal Accordion Container */
.services-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

@media (min-width: 992px) {
    .services-accordion {
        flex-direction: row;
        height: 500px;
        gap: 0;
    }
}

/* Accordion Panel */
.accordion-panel {
    position: relative;
    flex: 1;
    min-height: 300px;
    background: var(--panel-bg) center/cover no-repeat;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (min-width: 992px) {
    .accordion-panel {
        min-height: auto;
        border-radius: 0;
        margin: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    .accordion-panel:first-child {
        border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    }

    .accordion-panel:last-child {
        border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
        border-right: none;
    }

    .accordion-panel:hover {
        flex: 3;
    }
}

/* Panel Overlay */
.panel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.2) 100%);
    transition: background 0.4s ease;
}

.accordion-panel:hover .panel__overlay {
    background: linear-gradient(to top,
        rgba(107, 70, 193, 0.95) 0%,
        rgba(107, 70, 193, 0.5) 50%,
        rgba(0, 0, 0, 0.3) 100%);
}

/* Panel Content */
.panel__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    z-index: 1;
}

.panel__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.panel__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-panel:hover .panel__icon {
    transform: scale(1.1);
}

.panel__icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.panel__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Panel Body - Hidden by default, shown on hover */
.panel__body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.accordion-panel:hover .panel__body {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
}

.panel__body p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile: Always show body content */
@media (max-width: 991px) {
    .panel__body {
        max-height: 200px;
        opacity: 1;
        transform: translateY(0);
    }

    .accordion-panel {
        margin-bottom: var(--space-sm);
    }
}

/* Accent Button for Services */
.btn--accent {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    padding: var(--space-xs) var(--space-md);
    font-size: var(--fs-small);
}

.btn--accent:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: white;
    transform: translateY(-2px);
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* ===== PRODUCTS SECTION ===== */
.products__grid {
    display: grid;
    gap: var(--space-md);
}

@media (min-width: 576px) {
    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .products__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-card--featured {
        grid-column: span 2;
    }
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card__image {
    position: relative;
    padding-top: 75%;
    background: var(--bg-light);
    overflow: hidden;
}

.product-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__content {
    padding: var(--space-md);
}

.product-card__badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.product-card__badge--premium {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--text-dark);
}

.product-card__badge--soon {
    background: var(--text-light);
}

.product-card__title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.product-card__text {
    font-size: var(--fs-small);
    color: var(--text-light);
}

.product-card__features {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--bg-light);
}

.product-card__features li {
    position: relative;
    padding-left: var(--space-md);
    font-size: var(--fs-small);
    color: var(--text-body);
    margin-bottom: 4px;
}

.product-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.product-card--coming-soon {
    opacity: 0.7;
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications {
    background: var(--bg-light);
}

.certifications__grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .certifications__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cert-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cert-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.cert-card__icon svg {
    width: 36px;
    height: 36px;
    stroke: white;
}

.cert-card__title {
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.cert-card__text {
    font-size: var(--fs-small);
    color: var(--text-light);
    margin: 0;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials__grid {
    display: grid;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    padding: var(--space-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bg-light);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.testimonial-card__quote {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-md);
}

.testimonial-card__quote svg {
    fill: var(--primary);
    opacity: 0.3;
}

.testimonial-card__text {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    font-style: normal;
}

.author-role {
    font-size: var(--fs-small);
    color: var(--text-light);
}

/* ===== CONTACT SECTION ===== */
.contact__grid {
    display: grid;
    gap: var(--space-xl);
}

@media (min-width: 992px) {
    .contact__grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
}

.contact-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1) 0%, rgba(245, 101, 101, 0.1) 100%);
    border-radius: var(--radius-md);
}

.contact-item__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.contact-item__content h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--fs-body);
    margin-bottom: 4px;
}

.contact-item__content p {
    margin: 0;
    color: var(--text-light);
}

/* Contact Form */
.contact__form {
    padding: var(--space-lg);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

@media (min-width: 576px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}

.required {
    color: var(--accent);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-sm);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--text-dark);
    background: var(--bg-white);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(107, 70, 193, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234A5568' 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 12px center;
    background-size: 20px;
    padding-right: 48px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (min-width: 576px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.footer__logo .logo-text {
    color: white;
}

.footer__tagline {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
}

.footer__social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: white;
    stroke: white;
}

.footer__title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: white;
    margin-bottom: var(--space-md);
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: white;
}

.footer__contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer__contact svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    stroke: var(--primary);
}

.footer__bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__bottom p {
    font-size: var(--fs-small);
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* ===== SUCCESS MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 9999;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__content {
    max-width: 400px;
    margin: var(--space-sm);
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    text-align: center;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.modal.active .modal__content {
    transform: scale(1);
}

.modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.1) 0%, rgba(245, 101, 101, 0.1) 100%);
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.modal__icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
}

.modal__title {
    margin-bottom: var(--space-sm);
}

.modal__text {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }
