/* ==================================================
   CSS VARIABLES & RESET
   ================================================== */
:root {
    /* Colors - Premium Palette */
    --clr-dark: #0a0a0c;
    /* Deep charcoal */
    --clr-dark-lighter: #16161a;
    --clr-dark-card: #1f1f24;

    --clr-gold: #cfa860;
    /* Elegant Gold */
    --clr-gold-light: #e6c888;
    --clr-gold-dark: #b08a45;

    --clr-light: #f8f9fa;
    /* Warm white */
    --clr-white: #ffffff;

    --clr-text-main: #2d3748;
    --clr-text-light: #718096;
    --clr-text-dark-mode: #e2e8f0;
    --clr-text-dark-muted: #a0aec0;

    --clr-whatsapp: #25D366;
    --clr-whatsapp-dark: #128C7E;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-urdu: 'Noto Nastaliq Urdu', Tahoma, sans-serif;
    --font-urdu-body: 'Noto Sans Urdu', Tahoma, sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 6rem 0;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-gold: 0 8px 24px rgba(207, 168, 96, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--clr-text-main);
    line-height: 1.7;
    background-color: var(--clr-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==================================================
   TYPOGRAPHY
   ================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--clr-dark);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.75rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
}

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

/* ==================================================
   LAYOUT UTILITIES
   ================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: var(--section-padding);
}

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

.bg-light {
    background-color: var(--clr-light);
}

.dark-section {
    background-color: var(--clr-dark);
    color: var(--clr-text-dark-mode);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4 {
    color: var(--clr-white);
}

/* ==================================================
   BUTTONS & BADGES
   ================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 0.25rem;
}

.btn-primary {
    background-color: var(--clr-gold);
    color: var(--clr-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background-color: var(--clr-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(207, 168, 96, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--clr-white);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-gold);
    color: var(--clr-gold);
}

.btn-outline:hover {
    background-color: rgba(207, 168, 96, 0.1);
    transform: translateY(-2px);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background-color: rgba(207, 168, 96, 0.15);
    color: var(--clr-gold);
    border: 1px solid rgba(207, 168, 96, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.badge-light {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--clr-white);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==================================================
   HEADER / NAVIGATION
   ================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background-color: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-white);
    text-decoration: none;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.desk-only {
    display: inline-flex;
}

.lang-toggle {
    color: var(--clr-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.4rem 1rem;
    border: 1px solid rgba(207, 168, 96, 0.3);
    border-radius: 100px;
}

.lang-toggle:hover {
    background: rgba(207, 168, 96, 0.1);
    color: var(--clr-gold-light);
}

.mobile-only-link {
    display: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.25rem;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-gold);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--clr-white);
}

.main-nav a.active {
    color: var(--clr-gold);
}

.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--clr-white);
    cursor: pointer;
}

/* ==================================================
   HERO SECTION
   ================================================== */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(207, 168, 96, 0.08) 0%, rgba(10, 10, 12, 0) 70%);
    z-index: 0;
}

.hero-bg-glow {
    position: absolute;
    bottom: -10%;
    left: 10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, rgba(10, 10, 12, 0) 70%);
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-dark-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Premium Device Mockup */
.device-mockup {
    position: relative;
    z-index: 2;
}

.device-frame {
    background: var(--clr-dark-lighter);
    border-radius: 40px;
    padding: 14px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 320px;
    position: relative;
    z-index: 2;
}

.device-shadow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40px;
    background: rgba(207, 168, 96, 0.15);
    filter: blur(30px);
    border-radius: 50%;
    z-index: 1;
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 28px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==================================================
   BENEFITS STRIP
   ================================================== */
.benefits-strip {
    background-color: var(--clr-dark-lighter);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.75rem 0;
}

.benefits-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--clr-text-dark-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.benefit-item svg {
    color: var(--clr-gold);
}

/* ==================================================
   FEATURES SECTION
   ================================================== */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header p {
    color: var(--clr-text-light);
    font-size: 1.15rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--clr-white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(207, 168, 96, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(207, 168, 96, 0.1);
    color: var(--clr-gold-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--clr-gold);
    color: var(--clr-white);
    transform: scale(1.05);
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--clr-text-light);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
    flex-grow: 1;
}

/* ==================================================
   SHOWCASE SECTIONS
   ================================================== */
.showcase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
    margin-bottom: 8rem;
}

.showcase-row:last-child {
    margin-bottom: 0;
}

.showcase-row.reverse {
    flex-direction: row-reverse;
}

.showcase-content {
    flex: 1;
}

.showcase-label {
    color: var(--clr-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.showcase-content h2 {
    margin-bottom: 1.5rem;
}

.showcase-content p {
    color: var(--clr-text-light);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 1.25rem;
    padding-left: 2.5rem;
    position: relative;
    color: var(--clr-text-main);
    font-weight: 500;
    font-size: 1.05rem;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23cfa860' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.showcase-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.premium-card-mockup {
    max-width: 320px;
    border-radius: 24px;
    padding: 8px;
    background: var(--clr-white);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.reverse .premium-card-mockup {
    transform: perspective(1000px) rotateY(5deg);
}

.premium-card-mockup:hover {
    transform: translateY(-10px) perspective(1000px) rotateY(0deg);
}

.premium-card-mockup .app-screenshot {
    border-radius: 16px;
}

/* ==================================================
   REGIONAL SECTION
   ================================================== */
.regional-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.regional-content .lead-text {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    color: var(--clr-text-dark-muted);
}

.regional-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.regional-badge {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(207, 168, 96, 0.2);
    border-radius: 100px;
    color: var(--clr-white);
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
}

.regional-badge:hover {
    background: rgba(207, 168, 96, 0.1);
    border-color: rgba(207, 168, 96, 0.4);
    transform: translateY(-2px);
}

/* ==================================================
   INVOICE SECTION
   ================================================== */
.invoice-container {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.invoice-visual,
.invoice-content {
    flex: 1;
}

.premium-border {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.invoice-img {
    width: 100%;
    max-width: 380px;
    display: block;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.invoice-features {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

.inv-feat {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.inv-icon {
    width: 48px;
    height: 48px;
    background: rgba(207, 168, 96, 0.15);
    color: var(--clr-gold-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inv-feat h4 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.inv-feat p {
    color: var(--clr-text-light);
    margin: 0;
    font-size: 1rem;
}

/* ==================================================
   SCREENSHOTS GALLERY
   ================================================== */
.screenshot-gallery {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0;
}

.gallery-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-img {
    height: 500px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--clr-white);
    padding: 4px;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-btn {
    background: var(--clr-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--clr-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.gallery-btn:hover {
    background: var(--clr-gold);
    color: var(--clr-white);
    border-color: var(--clr-gold);
    transform: translateY(-2px);
}

/* ==================================================
   HOW IT WORKS
   ================================================== */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;
    position: relative;
    padding-top: 1rem;
}

.step-card {
    flex: 1;
    position: relative;
    padding: 0 1rem;
    z-index: 2;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--clr-white);
    color: var(--clr-gold-dark);
    border: 2px solid var(--clr-gold);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-sm);
}

.step-card h4 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--clr-text-light);
}

.step-line {
    flex: 0 0 40px;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    margin-top: 28px;
}

/* ==================================================
   SECURITY SECTION
   ================================================== */
.security-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--clr-white);
    padding: 4rem 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.security-icon-svg {
    display: inline-flex;
    padding: 1.5rem;
    background: rgba(207, 168, 96, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.security-card p {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================================================
   PREMIUM DEMO CTA
   ================================================== */
.demo-cta-section {
    background: linear-gradient(180deg, var(--clr-dark-lighter) 0%, var(--clr-dark) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-cta-container {
    max-width: 700px;
}

.demo-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-dark-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.demo-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ==================================================
   PURCHASE & CONTACT CTA
   ================================================== */
.purchase-section {
    background-color: var(--clr-light);
}

.purchase-container {
    max-width: 700px;
}

.purchase-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-light);
    margin-bottom: 3rem;
}

.purchase-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ==================================================
   FAQ SECTION
   ================================================== */
.faq-container {
    max-width: 800px;
}

.faq-item {
    background: var(--clr-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--clr-dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--clr-gold-dark);
    background: rgba(0, 0, 0, 0.01);
}

.faq-icon {
    display: flex;
    align-items: center;
    color: var(--clr-gold);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question {
    color: var(--clr-gold-dark);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--clr-text-light);
    margin: 0;
    line-height: 1.7;
}

/* ==================================================
   FOOTER
   ================================================== */
.footer {
    background: var(--clr-dark);
    color: var(--clr-text-dark-muted);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    margin-bottom: 0.25rem;
    color: var(--clr-white);
}

.footer-product-name {
    color: var(--clr-white);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--clr-white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--clr-text-dark-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

/* ==================================================
   FLOATING BUTTON
   ================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: var(--clr-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-4px);
    background: #20b858;
}

/* ==================================================
   ANIMATIONS
   ================================================== */
.fade-in,
.slide-up {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up {
    transform: translateY(30px);
}

.fade-in.visible,
.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================================
   RTL SUPPORT OVERRIDES
   ================================================== */
[dir="rtl"] body {
    font-family: var(--font-urdu-body);
    font-size: 1rem;
    line-height: 1.8;
}

[dir="rtl"] p,
[dir="rtl"] li,
[dir="rtl"] span,
[dir="rtl"] a,
[dir="rtl"] .btn {
    font-family: var(--font-urdu-body);
}

[dir="rtl"] h1 span,
[dir="rtl"] h2 span,
[dir="rtl"] h3 span,
[dir="rtl"] h4 span,
[dir="rtl"] h5 span,
[dir="rtl"] h6 span {
    font-family: inherit;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    font-family: var(--font-urdu);
    line-height: 1.6;
    padding-top: 0.2em;
    /* Prevent top clipping in Nastaliq */
    padding-bottom: 0.2em;
}

[dir="rtl"] .hero h1 {
    font-size: clamp(32px, 4vw, 64px);
    line-height: 2.4;
    max-width: 800px;
}

[dir="rtl"] .hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

[dir="rtl"] .btn {
    font-size: 1.1rem;
    padding-top: 1rem;
    padding-bottom: 0.75rem;
    /* Optical balance for Nastaliq baseline */
}

[dir="rtl"] .btn-lg {
    font-size: 1.25rem;
    padding-top: 1.25rem;
    padding-bottom: 1rem;
}

[dir="rtl"] .btn-icon {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .feature-list li {
    padding-left: 0;
    padding-right: 2.5rem;
}

[dir="rtl"] .feature-list li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .faq-question {
    text-align: right;
    font-family: var(--font-urdu);
}

[dir="rtl"] .faq-answer p {
    text-align: right;
}

[dir="rtl"] .showcase-content,
[dir="rtl"] .hero-content,
[dir="rtl"] .hero-subtitle {
    text-align: right;
}

[dir="rtl"] .inv-feat h4,
[dir="rtl"] .inv-feat p {
    text-align: right;
}

[dir="rtl"] .rtl-arrow-left {
    transform: scaleX(-1);
}

[dir="rtl"] .rtl-arrow-right {
    transform: scaleX(-1);
}

[dir="rtl"] .logo a {
    font-family: var(--font-urdu);
}

[dir="rtl"] .main-nav a::after {
    left: auto;
    right: 0;
}

/* ==================================================
   FINALIZED GRAPHICS
   ================================================== */
.hero-graphic,
.invoice-graphic {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

/* ==================================================
   RESPONSIVE DESIGN
   ================================================== */
@media (max-width: 1024px) {
    .header-container {
        height: 70px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .desk-only {
        display: none !important;
    }

    .mobile-only-link {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 12, 0.98);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding: 1.25rem 0 1.5rem 0;
        clip-path: circle(0% at top right);
        transition: clip-path 0.4s ease-in-out;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    [dir="rtl"] .main-nav {
        clip-path: circle(0% at top left);
    }

    .main-nav.open {
        clip-path: circle(150% at top right);
    }

    [dir="rtl"] .main-nav.open {
        clip-path: circle(150% at top left);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    [dir="rtl"] .hero-content,
    [dir="rtl"] .hero-subtitle {
        text-align: center;
    }

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

    .showcase-row,
    .showcase-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    [dir="rtl"] .showcase-content {
        text-align: center;
    }

    .feature-list li {
        text-align: left;
        display: inline-block;
        width: 100%;
        max-width: 400px;
    }

    [dir="rtl"] .feature-list li {
        text-align: right;
    }

    .invoice-container {
        flex-direction: column;
        text-align: center;
    }

    .inv-feat {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    [dir="rtl"] .inv-feat h4,
    [dir="rtl"] .inv-feat p {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step-line {
        width: 2px;
        height: 40px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }

    .benefits-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .gallery-img {
        height: 400px;
    }

    .purchase-actions,
    .demo-actions {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .security-card {
        padding: 2.5rem 1.5rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    .gallery-img {
        height: 320px;
    }

    .floating-whatsapp {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* ==================================================
   LEGAL PAGES
   ================================================== */
.legal-page {
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: calc(100vh - 300px);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--clr-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.legal-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--clr-dark);
}

.legal-container .last-updated {
    font-size: 0.95rem;
    color: var(--clr-text-light);
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.legal-container h3 {
    font-size: 1.35rem;
    color: var(--clr-gold-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-container p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--clr-text-main);
    margin-bottom: 1.5rem;
}

[dir="rtl"] .legal-container {
    text-align: right;
}

[dir="rtl"] .legal-container p {
    font-family: var(--font-urdu-body);
}

@media (max-width: 768px) {
    .legal-container {
        padding: 2rem 1.5rem;
    }

    .legal-container h1 {
        font-size: 2rem;
    }
}