/* company-preview.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Noto+Nastaliq+Urdu:wght@400;700&family=Noto+Sans+Urdu:wght@400;500;600&display=swap');

:root {
    --clr-dark: #0a0a0c;
    --clr-dark-lighter: #16161a;
    --clr-dark-card: #1f1f24;
    --clr-gold: #cfa860;
    --clr-gold-light: #e6c888;
    --clr-white: #ffffff;
    --clr-text-main: #e2e8f0;
    --clr-text-muted: #a0aec0;
    
    --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;
    
    --transition: all 0.3s ease;
    --radius-md: 12px;
    --radius-lg: 24px;
}

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

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .logo {
    font-family: var(--font-urdu);
}

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

body {
    background-color: var(--clr-dark);
    color: var(--clr-text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background-color: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--clr-white);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    color: var(--clr-text-main);
    font-weight: 500;
    transition: var(--transition);
}

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

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

.lang-toggle {
    cursor: pointer;
    font-weight: 600;
    color: var(--clr-gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--clr-gold-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.05);
    color: var(--clr-white);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
}

.btn-icon {
    margin-right: 0.5rem;
}

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

.btn:disabled, .btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

/* Mobile Nav */
@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--clr-dark-lighter);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        z-index: 99;
    }
    .main-nav.open {
        transform: translateY(0);
    }
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    .desk-only { display: none !important; }
    .mobile-menu-toggle { display: block; }
}

@media (min-width: 769px) {
    .mobile-only { display: none !important; }
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.hero h1 .highlight {
    color: var(--clr-gold);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

/* Ecosystem Visual */
.ecosystem-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eco-center {
    width: 180px;
    height: 180px;
    background: var(--clr-dark-card);
    border: 2px solid rgba(207, 168, 96, 0.8);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    box-shadow: 0 0 50px rgba(207, 168, 96, 0.15);
}

.eco-center-title {
    font-size: 1.125rem;
    color: var(--clr-white);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.eco-center-subtitle {
    font-size: 0.75rem;
    color: var(--clr-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.eco-node {
    position: absolute;
    background: var(--clr-dark-lighter);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1rem;
    width: 200px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

[dir="rtl"] .eco-node {
    text-align: right;
}

.eco-node-icon {
    color: var(--clr-gold);
}

.eco-node-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-white);
}

.eco-node-status {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
}

.eco-node.top-left { top: 5%; left: 0; }
.eco-node.top-right { top: 15%; right: 0; }
.eco-node.bottom-left { bottom: 20%; left: 0; }
.eco-node.bottom-right { bottom: 22%; right: 0; }
.eco-node.bottom-center { bottom: -5%; left: 50%; transform: translateX(-50%); }

.eco-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: 0;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 2.75rem; }
    .hero-container { gap: 2rem; }
    .eco-node { width: 160px; padding: 0.75rem; }
    .eco-node.bottom-center { bottom: -6%; }
    .eco-center { width: 160px; height: 160px; }
    .eco-center-title { font-size: 1rem; }
}

@media (max-width: 768px) {
    .hero-container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }

    /* Mobile Hero Ecosystem: 2-column grid layout */
    .ecosystem-visual {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        aspect-ratio: auto;
        max-width: 460px;
        width: 100%;
        margin: 2rem auto 0;
    }

    /* Hide central badge and orbit on mobile */
    .eco-center,
    .eco-lines {
        display: none;
    }

    /* Reset absolute positioning, transforms, offsets, and fixed dimensions */
    .eco-node {
        position: static;
        width: 100%;
        padding: 0.875rem 0.75rem;
        transform: none;
        overflow-wrap: break-word;
    }

    .eco-node.top-left,
    .eco-node.top-right,
    .eco-node.bottom-left,
    .eco-node.bottom-right,
    .eco-node.bottom-center {
        position: static;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
    }

    /* Position Jewellery Parchi in final row spanning both columns */
    .eco-node.bottom-center {
        grid-column: 1 / -1;
    }

    .eco-node-title {
        line-height: 1.25;
    }

    .eco-node-status {
        line-height: 1.3;
    }
}

@media (max-width: 360px) {
    .ecosystem-visual {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .eco-node.bottom-center {
        grid-column: auto;
    }
}


/* Our Software */
.software-preview {
    padding: 6rem 0;
    background-color: var(--clr-dark-lighter);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-top: 0.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.software-card {
    background: var(--clr-dark-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.software-card:hover {
    border-color: rgba(207, 168, 96, 0.3);
}

.software-card.highlighted {
    border-color: rgba(207, 168, 96, 0.5);
    background: linear-gradient(to bottom right, var(--clr-dark-card), rgba(207, 168, 96, 0.03));
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-gold);
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    color: var(--clr-text-muted);
}
.status-badge.available {
    background: rgba(207, 168, 96, 0.15);
    color: var(--clr-gold);
}

.card-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
}

.card-platform {
    font-size: 0.875rem;
    color: var(--clr-gold);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.card-desc {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.end-marker {
    text-align: center;
    padding: 4rem 0;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.end-marker::before, .end-marker::after {
    content: '';
    height: 1px;
    width: 50px;
    background: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .cards-grid { grid-template-columns: 1fr; }
    .software-card { padding: 1.5rem; }
}

/* Why Gold Software Center */
.why-gsc {
    padding: 6rem 0;
    background-color: var(--clr-dark);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: flex-start;
}

.why-intro h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.why-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.value-item {
    background: var(--clr-dark-lighter);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.value-icon {
    width: 40px;
    height: 40px;
    background: rgba(207, 168, 96, 0.1);
    color: var(--clr-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.125rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .why-values {
        grid-template-columns: 1fr;
    }
    .why-intro h2 {
        font-size: 2rem;
    }
}

/* Built Around Your Business */
.business-fit {
    padding: 6rem 0;
    background-color: var(--clr-dark-lighter);
}

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

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.audience-card {
    background: var(--clr-dark-card);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.audience-icon {
    width: 64px;
    height: 64px;
    color: var(--clr-white);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.audience-card h3 {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    margin-bottom: 0.75rem;
}

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

.platform-divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 0 auto 3rem;
    max-width: 800px;
}

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

.platform-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.platform-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    background: rgba(255,255,255,0.02);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.03);
}

[dir="rtl"] .platform-item {
    text-align: right;
}

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

.platform-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.platform-item p {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    max-width: 200px;
}

.platform-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

@media (max-width: 900px) {
    .audience-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .platform-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .platform-item {
        width: 100%;
        max-width: 350px;
    }
}

/* Support Section */
.support-section {
    padding: 6rem 0;
    background-color: var(--clr-dark);
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.support-intro h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.support-topics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.support-topic {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.02);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05);
}

.support-topic-icon {
    color: var(--clr-gold);
    display: flex;
    align-items: center;
}

.support-topic span {
    font-size: 0.9rem;
    font-weight: 500;
}

.support-panel {
    background: var(--clr-dark-card);
    border: 1px solid rgba(207, 168, 96, 0.3);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-panel .btn {
    width: 100%;
    margin-bottom: 1rem;
}

.support-panel .btn:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .support-panel {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .support-topics {
        grid-template-columns: 1fr;
    }
    .support-intro h2 {
        font-size: 2rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background-color: var(--clr-dark-lighter);
}

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

.faq-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--clr-dark-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

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

.faq-question:hover {
    background: rgba(255,255,255,0.02);
}

.faq-icon {
    color: var(--clr-gold);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

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

.faq-item.active .faq-question {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--clr-text-muted);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* Footer */
.company-footer {
    background-color: var(--clr-dark);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-brand .logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--clr-white);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-disabled-product {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    opacity: 0.7;
    color: var(--clr-text-muted);
}

.footer-disabled-product .product-name {
    font-size: 0.9rem;
}

.footer-status {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    color: var(--clr-text-muted);
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
}
