/* ==========================================================================
   NEXTGENARTS TOOLS — CORE STYLESHEET
   Design System: Matched to nextgenarts.pk Branding (#F97316 Orange & #0F172A Navy)
   Typography: Urbanist (Headings) + Inter (Body)
   ========================================================================== */

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

:root {
    /* Brand Colors (Exact match with nextgenarts.pk) */
    --primary: #F97316;              /* hsl(25, 95%, 53%) */
    --primary-dark: #EA580C;         /* hsl(20, 90%, 48%) */
    --primary-light: #FB923C;        /* hsl(30, 100%, 65%) */
    --primary-soft: #FFF7ED;         /* Light orange tint */
    --primary-border: rgba(249, 115, 22, 0.25);
    
    --accent: #2563EB;               /* NextGenArts Brand Blue */
    --accent-dark: #1D4ED8;
    --accent-soft: #EFF6FF;

    --navy: #0F172A;                 /* Deep Tech Navy */
    --navy-light: #1E293B;
    --navy-muted: #334155;

    --success: #10B981;
    --success-soft: #ECFDF5;
    --danger: #EF4444;
    --danger-soft: #FEF2F2;

    /* Neutrals */
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --white: #FFFFFF;

    /* Typography (Matched to nextgenarts.pk) */
    --font-heading: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 9999px;

    /* Shadows & Glows */
    --shadow-sm: 0 2px 6px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 14px -2px rgba(0, 0, 0, 0.07), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.08), 0 6px 12px -6px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 24px 48px -8px rgba(0, 0, 0, 0.12);
    --shadow-orange: 0 8px 30px -4px rgba(249, 115, 22, 0.35);
    --shadow-orange-glow: 0 0 35px -6px rgba(249, 115, 22, 0.45);

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #F97316 0%, #EA580C 50%, #C2410C 100%);
    --gradient-hero: linear-gradient(140deg, #0F172A 0%, #1E293B 60%, #431407 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 237, 0.4) 100%);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    line-height: 1.65;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--gray-900);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- STICKY GLASS HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    border-bottom-color: var(--gray-200);
}

.header-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 900;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gradient-brand);
    color: var(--white);
    font-weight: 900;
    font-size: 1.15rem;
    box-shadow: var(--shadow-orange);
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-tag {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: var(--primary-soft);
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid var(--primary-border);
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.nav-link.active {
    color: var(--primary-dark);
    background: var(--primary-soft);
    font-weight: 700;
}

.nav-link-external {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    border-radius: var(--radius-sm);
}

.mobile-menu-btn .menu-bar {
    width: 22px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* Mobile Navigation Drawer */
.mobile-nav-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--white);
    z-index: 1001;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-100);
}

.drawer-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.drawer-close-btn:hover { color: var(--gray-800); }

.drawer-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.drawer-link {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--gray-800);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.drawer-link:hover,
.drawer-link.active {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.drawer-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 16px 0;
}

.drawer-sublink {
    padding: 8px 16px;
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
}

.drawer-sublink:hover { color: var(--primary-dark); }

.drawer-footer {
    margin-top: auto;
    padding-top: 16px;
}

/* ---------- HERO SECTION (Navy Tech with Vibrant Orange Accents) ---------- */
.hero {
    padding: 140px 0 90px;
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-compact {
    padding: 120px 0 60px;
}

.hero-badge-wrap {
    margin-bottom: 1.25rem;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    background: rgba(249, 115, 22, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(249, 115, 22, 0.4);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #FED7AA;
}

.hero h1 {
    font-size: 2.85rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text {
    font-size: 1.15rem;
    color: #CBD5E1;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 2rem;
}

.breadcrumb {
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a {
    color: #FED7AA;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
}

.breadcrumb span { margin: 0 8px; }

/* ---------- DOWNLOAD BOX COMPONENT ---------- */
.download-box {
    max-width: 720px;
    margin: 2.5rem auto 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 6px;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-orange-glow);
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 14px;
    color: var(--gray-400);
}

.download-input {
    flex: 1;
    padding: 14px 14px;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    color: var(--gray-900);
    outline: none;
    min-width: 0;
}

.download-input::placeholder {
    color: var(--gray-400);
    font-size: 0.9375rem;
}

.btn-input-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 6px;
    white-space: nowrap;
}

.btn-input-action:hover {
    background: #FFEDD5;
    transform: translateY(-1px);
}

.btn-input-clear {
    background: var(--gray-100);
    border: none;
    color: var(--gray-500);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.btn-input-clear:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gradient-brand);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 800;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: var(--shadow-orange);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange-glow);
    opacity: 0.96;
}

.url-feedback {
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: left;
}

.url-feedback.valid {
    background: rgba(16, 185, 129, 0.2);
    color: #A7F3D0;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.url-feedback.invalid {
    background: rgba(239, 68, 68, 0.2);
    color: #FECACA;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.supported-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    font-weight: 600;
    color: #FED7AA;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* ---------- GOOGLE ADSENSE SLOTS (POLICY COMPLIANT) ---------- */
.ad-container-wrap {
    padding: 1.5rem 0;
    background: transparent;
}

.ad-slot {
    max-width: 970px;
    margin: 0 auto;
    text-align: center;
}

.ad-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 6px;
}

.ad-placeholder {
    min-height: 90px;
    background: var(--gray-50);
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.ad-placeholder-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-400);
}

.ad-slot-mid .ad-placeholder {
    min-height: 250px;
}

/* ---------- CONTENT SECTIONS ---------- */
.content-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.section-sub {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.alt-bg {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

/* ---------- 3-STEP VISUAL CARDS WITH ANIMATED GIFS ---------- */
.visual-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.visual-step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.visual-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.step-badge-row {
    padding: 16px 20px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
}

.step-number-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step-timing {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
}

.step-media-box {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
    aspect-ratio: 480 / 300;
}

.step-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.visual-step-card:hover .step-gif {
    transform: scale(1.02);
}

.step-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-body h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.step-body p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-tips {
    list-style: none;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

.step-tips li {
    font-size: 0.8125rem;
    color: var(--gray-500);
    position: relative;
    padding-left: 18px;
    margin-bottom: 4px;
}

.step-tips li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 4px;
    font-size: 1.1rem;
    line-height: 1;
}

/* ---------- TRUST GRID ---------- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trust-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease;
}

.trust-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.trust-icon-wrap {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.trust-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--primary-soft);
    color: var(--primary-dark);
    border: 1px solid var(--primary-border);
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.trust-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.trust-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ---------- FEATURES GRID ---------- */
.features-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.feature-card-modern {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.feature-card-modern:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-card-icon {
    font-size: 2.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.feature-card-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.feature-card-content h3 a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color 0.2s;
}

.feature-card-content h3 a:hover {
    color: var(--primary-dark);
}

.feature-card-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.feature-meta {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--primary-soft);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--primary-border);
}

/* ---------- SPECIFICATIONS TABLE ---------- */
.guide-container {
    max-width: 960px;
}

.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    background: var(--white);
    margin-bottom: 2rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9375rem;
}

.specs-table th {
    background: var(--gray-50);
    padding: 14px 18px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-200);
    white-space: nowrap;
}

.specs-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
}

.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:hover td { background: var(--gray-50); }

.tag-format {
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.75rem;
    border: 1px solid var(--primary-border);
}

.editorial-notes {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.editorial-notes h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.editorial-notes ul {
    padding-left: 20px;
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.editorial-notes li {
    margin-bottom: 0.5rem;
}

/* ---------- DEVICE CARDS ---------- */
.device-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.device-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.device-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.device-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.device-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.65;
}

/* ---------- FAQ ACCORDION ---------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item summary {
    padding: 18px 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--gray-900);
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    border-top: 1px solid var(--gray-100);
    padding-top: 14px;
}

/* ---------- HOMEPAGE SPOTLIGHT & TOOLS GRID ---------- */
.spotlight-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--gradient-card);
    border: 1px solid #FED7AA;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.badge-featured {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--primary-soft);
    color: var(--primary-dark);
    border: 1px solid var(--primary-border);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.spotlight-content h2 {
    font-size: 2.15rem;
    margin-bottom: 1rem;
}

.spotlight-content p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.spotlight-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2rem;
}

.spotlight-pills span {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--primary-soft);
    border: 1px solid var(--primary-border);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

.spotlight-preview {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.tool-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.tool-card-active:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.tool-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.tool-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-orange, .icon-purple { background: var(--primary-soft); color: var(--primary); }
.icon-amber { background: #FEF3C7; color: #D97706; }
.icon-blue { background: #DBEAFE; color: #2563EB; }

.tool-status-badge {
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

.status-live { background: var(--success-soft); color: var(--success); }
.status-soon { background: var(--gray-100); color: var(--gray-500); }

.tool-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tool-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.tool-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 1.25rem;
}

.tool-features-list span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 4px 8px;
    border-radius: 4px;
}

.tool-card-cta {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--primary);
}

.tool-card-soon {
    opacity: 0.75;
    background: var(--gray-50);
}

.tool-card-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--gray-200);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
}

/* ---------- VALUES GRID (About & Home) ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.value-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.value-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ---------- LEGAL & COMPLIANCE PAGES ---------- */
.legal-section {
    padding: 3rem 0 5rem;
}

.legal-container {
    max-width: 860px;
}

.legal-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.legal-card h2 {
    font-size: 1.4rem;
    margin: 2rem 0 0.75rem;
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 6px;
    scroll-margin-top: 90px;
}

.legal-card h2:first-of-type { margin-top: 0; }

.legal-card p {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.legal-card ul, .legal-card ol {
    margin: 0 0 1.5rem 24px;
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-card li { margin-bottom: 0.5rem; }

.highlight-box {
    background: var(--primary-soft);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 1.5rem 0;
}

.highlight-box h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.highlight-box p, .highlight-box ul {
    margin-bottom: 0.5rem;
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    max-width: 980px;
}

.contact-info-card, .contact-form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.contact-info-card h2, .contact-form-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-info-card p, .contact-form-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method-item {
    display: flex;
    gap: 14px;
}

.method-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.method-text h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.method-text p {
    margin: 0;
    font-size: 0.9375rem;
}

.method-text span {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.quick-links-box {
    background: var(--gray-50);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.quick-links-box h4 {
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.quick-links-box p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin: 0;
}

/* Form Styles */
.form-styled {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-800);
}

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

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.2s;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: var(--success-soft);
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-danger {
    background: var(--danger-soft);
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 800;
    font-family: var(--font-heading);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    color: var(--primary-dark);
    background: var(--white);
    border: 1px solid var(--gray-300);
    cursor: pointer;
}

.btn-primary:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-dark);
}

.btn-gradient {
    background: var(--gradient-brand);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-orange);
}

.btn-gradient:hover {
    color: var(--white);
    opacity: 0.95;
    box-shadow: var(--shadow-orange-glow);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.w-full { width: 100%; }
.text-center { text-align: center; }

/* ---------- FOOTER ---------- */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--gray-800);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 340px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-weight: 900;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.footer-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient-brand);
    color: var(--white);
    font-weight: 900;
    font-size: 0.95rem;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    color: var(--gray-400);
}

.footer-desc a { color: #FED7AA; }
.footer-desc a:hover { color: var(--white); text-decoration: underline; }

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.badge-pill {
    font-size: 0.6875rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    color: var(--gray-300);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-400);
    padding: 5px 0;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary-light); }

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

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.footer-legal-inline {
    font-size: 0.8125rem;
}

.footer-legal-inline a {
    color: var(--gray-400);
    margin: 0 4px;
}

.footer-legal-inline a:hover { color: var(--white); }

.footer-disclaimer {
    font-size: 0.6875rem;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 860px;
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 1024px) {
    .tools-grid,
    .visual-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid,
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .spotlight-card { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 2.5rem; }
    .footer-links { flex-wrap: wrap; gap: 2.5rem; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-menu-btn { display: flex; }

    .hero h1 { font-size: 2rem; }
    .hero-text { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }

    .input-wrapper { flex-direction: column; gap: 8px; padding: 10px; }
    .download-input { width: 100%; }
    .btn-input-action { align-self: flex-start; }
    .download-btn { width: 100%; justify-content: center; }

    .visual-steps-grid,
    .tools-grid,
    .device-cards,
    .features-grid-two,
    .contact-grid { grid-template-columns: 1fr; }

    .footer-bottom-flex { flex-direction: column; gap: 8px; text-align: center; }
    .legal-card { padding: 1.75rem; }
}

@media (max-width: 480px) {
    .values-grid,
    .trust-grid { grid-template-columns: 1fr; }
    .footer-links { flex-direction: column; gap: 1.5rem; }
}
