/* ============================================
   SORTUNA – Professional Website Styles v2
   ============================================ */

:root {
    /* Purple palette - tuned to complement the Sortuna logo */
    --purple-950: #3b0764;
    --purple-900: #4c1d95;
    --purple-800: #5b21b6;
    --purple-700: #6d28d9;
    --purple-600: #7c3aed;
    --purple-500: #8b5cf6;
    --purple-400: #a78bfa;
    --purple-300: #c4b5fd;
    --purple-200: #ddd6fe;
    --purple-100: #ede9fe;
    --purple-50: #f5f3ff;

    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-darker: #5b21b6;
    --primary-light: #a78bfa;
    --primary-lighter: #c4b5fd;

    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: 0.3s var(--ease);
    --transition-slow: 0.5s var(--ease);

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    background-image:
        radial-gradient(ellipse 100% 70% at 50% 0%, rgba(124, 58, 237, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 80% 55% at 85% 20%, rgba(167, 139, 250, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 85% 55% at 15% 45%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 70% 45% at 70% 60%, rgba(139, 92, 246, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 100% 65% at 50% 85%, rgba(167, 139, 250, 0.20) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 30% 100%, rgba(91, 33, 182, 0.12) 0%, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* === Utility === */
.text-gradient {
    background: linear-gradient(135deg, var(--purple-700), var(--purple-500), var(--purple-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ HEADER ============ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.4s var(--ease);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 8px 0;
    box-shadow: 0 1px 0 rgba(124, 58, 237, 0.08), 0 4px 24px rgba(124, 58, 237, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo - large but header stays slim */
.logo {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.logo-img {
    height: 52px;
    width: auto;
    transition: var(--transition);
}
#header.scrolled .logo-img {
    height: 44px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
}

/* Nav */
.nav { display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }

.nav-link {
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.nav-link:hover { color: var(--primary); background: var(--purple-50); }
.nav-link.active { color: var(--primary-dark); background: var(--purple-100); font-weight: 600; }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.btn-header {
    background: var(--primary);
    color: var(--white);
    padding: 10px 22px;
    font-size: 0.85rem;
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
}
.btn-header:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.btn-header-icon { display: flex; }

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 16px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(124, 58, 237, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: var(--purple-50);
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    font-weight: 700;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.btn-lg { padding: 14px 32px; font-size: 0.95rem; }

/* Mobile toggle */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--purple-50);
    border: 1px solid var(--purple-100);
    border-radius: 12px;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
    flex-direction: column;
    gap: 5px;
    padding: 0;
}
.menu-toggle:hover {
    background: var(--purple-100);
}
.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    transform-origin: center;
}
.menu-toggle.active {
    opacity: 0;
    pointer-events: none;
}

/* Nav overlay backdrop */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile nav internal elements (hidden on desktop) */
.nav-mobile-header,
.nav-mobile-footer { display: none; }

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 0 60px;
    overflow: visible;
    background: transparent;
}

/* Animated gradient background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -120px;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--purple-200);
    top: -15%;
    right: -10%;
    animation: orbFloat1 25s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--purple-300);
    bottom: -5%;
    left: -8%;
    animation: orbFloat2 20s ease-in-out infinite;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: var(--purple-100);
    top: 30%;
    left: 35%;
    animation: orbFloat3 22s ease-in-out infinite;
}

/* Subtle dot grid pattern */
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--purple-200) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.25;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.08); }
    66% { transform: translate(30px, -25px) scale(0.95); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -30px) scale(1.1); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 40px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 5rem;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    background: var(--purple-50);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1.75rem;
    border: 1px solid var(--purple-100);
    letter-spacing: 0.01em;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--purple-800), var(--purple-600), var(--purple-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
    max-width: 520px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero Feature Cards - FIXED: no overlap */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 380px;
}

.hero-feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.4s var(--ease);
}

.hero-feature-card:hover {
    transform: translateX(-6px);
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.12), 0 2px 4px rgba(0, 0, 0, 0.04);
    border-color: rgba(124, 58, 237, 0.15);
}

.hfc-1 { animation: cardSlideIn 0.8s 0.2s var(--ease) both; }
.hfc-2 { animation: cardSlideIn 0.8s 0.4s var(--ease) both; }
.hfc-3 { animation: cardSlideIn 0.8s 0.6s var(--ease) both; }

@keyframes cardSlideIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.hfc-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-100), var(--purple-50));
    color: var(--primary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.hero-feature-card:hover .hfc-icon {
    background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
    color: var(--white);
}

.hfc-content strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-800);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hfc-content span {
    font-size: 0.82rem;
    color: var(--gray-400);
}

/* Stats Bar */
.hero-stats-bar {
    position: relative;
    z-index: 1;
    margin-top: 5rem;
    padding: 0 0 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 32px 48px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 32px rgba(124, 58, 237, 0.05);
}

.stat { text-align: center; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-top: 2px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* ============ SECTIONS ============ */
.section { padding: 70px 0; position: relative; }

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--purple-50);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    border: 1px solid var(--purple-100);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.08rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* ============ SECTION TRANSITIONS ============ */
.hero::after {
    display: none;
}

.about::after,
.categories::after,
.why-us::after,
.testimonials::after,
.faq::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    pointer-events: none;
}

.about::after,
.categories::after,
.why-us::after,
.testimonials::after,
.faq::after {
    display: none;
}

/* Decorative shapes between sections – removed for seamless gradient */

/* ============ ABOUT ============ */
.about { background: transparent; }

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.about-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 3rem 2.25rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-600), var(--purple-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.08);
    border-color: var(--purple-100);
}

.about-card:hover .about-card-accent { transform: scaleX(1); }

.about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--purple-50);
    color: var(--primary);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.about-card:hover .about-icon {
    background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
    color: var(--white);
    transform: scale(1.05);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* ============ CATEGORIES ============ */
.categories {
    background: transparent;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem 1.75rem;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(124, 58, 237, 0.1);
    border-color: var(--purple-200);
}

.category-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--purple-50);
    color: var(--primary);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    transition: all 0.4s var(--ease);
}

.category-card:hover .category-icon-wrap {
    background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
    color: var(--white);
    transform: scale(1.08) rotate(-3deg);
}

.category-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.category-card p {
    font-size: 0.92rem;
    color: var(--gray-400);
    margin-bottom: 1.25rem;
    flex: 1;
}

.category-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--purple-50);
    color: var(--primary);
    transition: var(--transition);
}

.category-card:hover .category-arrow {
    background: var(--primary);
    color: var(--white);
    transform: translateX(4px);
}

/* ============ WHY US ============ */
.why-us {
    background: transparent;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-card {
    display: flex;
    gap: 1.75rem;
    padding: 2.25rem 2.5rem;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    background: var(--white);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.06);
    border-color: var(--purple-200);
}

.why-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--purple-200);
    line-height: 1;
    flex-shrink: 0;
    transition: var(--transition);
}

.why-card:hover .why-number { color: var(--primary-light); }

.why-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.why-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.75;
}

/* ============ EBAY BANNER ============ */
.ebay-banner {
    padding: 60px 28px;
    background: transparent;
}

.ebay-banner-inner {
    max-width: 1180px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--purple-800), var(--purple-600), var(--purple-500));
    border-radius: var(--radius-xl);
    padding: 72px 56px;
    position: relative;
    overflow: hidden;
}

.ebay-banner-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    border-radius: 50%;
}

.ebay-banner-inner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);
    border-radius: 50%;
}

.ebay-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 0;
}

.ebay-banner-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--white);
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ebay-banner-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 500px;
    line-height: 1.75;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    background: transparent;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.06);
    border-color: var(--purple-100);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--purple-500), var(--purple-400));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-800);
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--gray-400);
}

/* ============ FAQ ============ */
.faq {
    background: transparent;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(124, 58, 237, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
}

.faq-item {
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item.active {
    background: var(--purple-50);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    letter-spacing: -0.01em;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question > span:first-child {
    flex: 1;
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 24px;
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.8;
}

/* ============ CONTACT ============ */
.contact {
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    background: var(--gray-50, #f9fafb);
    transition: var(--transition);
}

.contact-info-card:hover {
    background: var(--purple-50);
}

.contact-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-50);
    color: var(--primary);
    border-radius: 12px;
}

.contact-info-card h4 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.btn-contact-ebay {
    width: 100%;
    margin-top: auto;
    padding: 15px 24px;
    font-size: 0.92rem;
    border-radius: var(--radius-md);
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-300); }

.form-group textarea { resize: vertical; min-height: 110px; }

.btn-submit { width: 100%; }

.form-success {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 16px;
    background: var(--purple-50);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    border: 1px solid var(--purple-100);
}

.form-success.show { display: flex; }

/* ============ FOOTER ============ */
.footer {
    background: var(--gray-900);
    padding: 48px 0 0;
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand-centered .footer-logo {
    margin-left: auto;
    margin-right: auto;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 260px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.footer-links ul { display: flex; flex-direction: column; gap: 6px; }

.footer-links a {
    font-size: 0.84rem;
    color: var(--gray-500);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover { color: var(--purple-300); transform: translateX(3px); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--gray-600);
}

.footer-ebay-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-500);
    transition: var(--transition);
}

.footer-ebay-link:hover { color: var(--purple-300); }

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.4s var(--ease);
    z-index: 999;
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4); }

/* ============ SCROLL ANIMATIONS ============ */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-animate="fade-left"] { transform: translateX(30px); }
[data-animate].animated { opacity: 1; transform: none; }

/* ============ BACKGROUND STARS ============ */
.bg-stars {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.bg-stars.stars-hidden {
    opacity: 0;
}

.bg-star {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0;
    animation: starTwinkle 4s ease-in-out infinite;
}

.bg-star svg {
    width: 100%;
    height: 100%;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 0.5; transform: scale(1) rotate(45deg); }
}

/* ============ RESPONSIVE ============ */

/* Tablet landscape */
@media (max-width: 1024px) {
    /* Mobile navigation */
    .menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, var(--purple-950) 0%, var(--gray-900) 100%);
        box-shadow: -12px 0 60px rgba(0, 0, 0, 0.3);
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        transition: right 0.4s var(--ease);
        z-index: 1000;
        overflow-y: auto;
    }
    .nav.open { right: 0; }

    .nav-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 20px 18px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        flex-shrink: 0;
    }
    .nav-mobile-logo { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
    .nav-mobile-logo-text { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--white); }
    .nav-close {
        display: flex; align-items: center; justify-content: center;
        width: 38px; height: 38px;
        background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px; color: rgba(255, 255, 255, 0.7); cursor: pointer;
        transition: all 0.25s var(--ease); flex-shrink: 0;
    }
    .nav-close:hover { background: rgba(255, 255, 255, 0.15); color: var(--white); }

    .nav-list { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px; flex: 1; }
    .nav-link {
        display: block; width: 100%; text-align: left;
        padding: 13px 16px; font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.6); border-radius: 10px; font-weight: 500;
        transition: all 0.25s var(--ease);
    }
    .nav-link:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
    .nav-link.active { color: var(--white); background: rgba(124, 58, 237, 0.25); font-weight: 600; }

    .nav-mobile-footer {
        display: block; padding: 16px 24px 32px;
        border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: auto;
    }
    .btn-nav-ebay {
        display: flex; align-items: center; justify-content: center; gap: 10px;
        width: 100%; padding: 14px 20px; background: var(--primary); color: var(--white);
        font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
        border: none; border-radius: 14px; text-decoration: none;
        box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4); transition: all 0.3s var(--ease);
    }
    .btn-nav-ebay:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 28px rgba(124, 58, 237, 0.5); }

    .btn-header { display: none; }

    /* Hero */
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-subtitle { margin: 0 auto 2.25rem; }
    .hero-cta { justify-content: center; }
    .hero-cards { max-width: 400px; margin: 0 auto; }
    .hero-feature-card:hover { transform: none; }
    .hero { padding: 110px 0 0; min-height: auto; }
    .hero-visual { display: none; }
    .hero-title { font-size: 2.5rem; }
    .hero-badge { font-size: 0.85rem; }
    .hero-subtitle { font-size: 1.05rem; }

    .hero-stats { flex-direction: row; gap: 1.5rem; padding: 24px; flex-wrap: wrap; justify-content: center; }
    .stat-divider { width: 1px; height: 32px; }
    .hero-stats-bar { margin-top: 2.5rem; }
    .stat-number { font-size: 2rem; }
    .stat-suffix { font-size: 1.1rem; }
    .stat-label { font-size: 0.82rem; }

    /* Sections */
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 3rem; }
    .section-title { font-size: 2.2rem; }
    .section-subtitle { font-size: 1rem; }

    .about-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .about-card:last-child { grid-column: 1 / -1; max-width: 500px; margin: 0 auto; width: 100%; }

    .categories-grid { grid-template-columns: repeat(2, 1fr); }

    .why-us-grid { gap: 16px; }

    .testimonials-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .testimonial-card:last-child { grid-column: 1 / -1; max-width: 500px; margin: 0 auto; width: 100%; }

    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

    .ebay-banner-content { flex-direction: column; text-align: center; gap: 1.5rem; }

    .faq-question { font-size: 1rem; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { max-width: none; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Smaller tablets / large phones */
@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .section-title { font-size: 2rem; }

    .about-grid { grid-template-columns: 1fr; gap: 18px; }
    .about-card:last-child { grid-column: auto; max-width: none; }
    .about-card { padding: 2.25rem 1.75rem; }
    .about-card h3 { font-size: 1.2rem; }
    .about-card p { font-size: 0.92rem; }

    .category-card { padding: 1.75rem 1.25rem 1.5rem; }
    .category-card h3 { font-size: 1.05rem; }
    .category-card p { font-size: 0.88rem; margin-bottom: 1rem; }
    .category-icon-wrap { width: 68px; height: 68px; }

    .why-us-grid { grid-template-columns: 1fr; gap: 14px; }
    .why-card { padding: 1.75rem; }
    .why-content h3 { font-size: 1.15rem; }
    .why-content p { font-size: 0.92rem; }

    .ebay-banner { padding: 40px 16px; }
    .ebay-banner-inner { padding: 48px 28px; border-radius: var(--radius-lg); }

    .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .testimonial-card:last-child { grid-column: auto; max-width: none; }
    .testimonial-card { padding: 1.75rem; }
    .testimonial-text { font-size: 0.95rem; }

    .faq-question { padding: 20px 22px; font-size: 0.98rem; }
    .faq-answer p { padding: 0 22px 20px; font-size: 0.92rem; }

    .contact-form { padding: 1.75rem; }
}

/* Mobile */
@media (max-width: 480px) {
    .container { padding: 0 18px; }

    .logo-img { height: 44px; }
    #header.scrolled .logo-img { height: 38px; }

    .hero { padding: 100px 0 0; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }

    .hero-stats { flex-direction: column; gap: 1rem; padding: 20px; }
    .stat-divider { width: 40px; height: 1px; }
    .stat-number { font-size: 1.8rem; }

    .section { padding: 40px 0; }
    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.95rem; }

    .about-card { padding: 2rem 1.5rem; }

    .categories-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
    .category-card { padding: 1.5rem 1rem 1.25rem; }
    .category-icon-wrap { width: 60px; height: 60px; margin-bottom: 1rem; }
    .category-card h3 { font-size: 0.98rem; }
    .category-card p { font-size: 0.82rem; }
    .category-arrow { width: 32px; height: 32px; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 1.5rem; }

    .why-card { flex-direction: column; gap: 0.5rem; padding: 1.5rem; }
    .why-number { font-size: 2.2rem; }
    .why-content h3 { font-size: 1.1rem; }

    .ebay-banner { padding: 30px 16px; }
    .ebay-banner-inner { padding: 36px 22px; }
    .ebay-banner-text h2 { font-size: 1.4rem; }
    .ebay-banner-text p { font-size: 0.95rem; }

    .testimonial-card { padding: 1.5rem; }

    .faq-question { padding: 18px 18px; font-size: 0.95rem; }
    .faq-answer p { padding: 0 18px 18px; font-size: 0.9rem; }

    .footer { padding: 36px 0 0; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }
    .footer-logo { height: 40px; }
    .footer-links h4 { font-size: 0.82rem; margin-bottom: 0.6rem; }
    .footer-links a { font-size: 0.8rem; }
    .footer-bottom { padding: 14px 0; }

    .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; border-radius: 12px; }
}
