/* ============================================
   GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================
   COLOR SYSTEM - NO BLUE ALLOWED
   ============================================ */
:root {
    /* Primary Gradient (use for buttons, icons, highlights) */
    --gradient-primary: linear-gradient(135deg, #1877F2 0%, #0A5BE1 100%);
    
    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F5F7FA;
    --bg-card: #FFFFFF;
    
    /* Text Colors */
    --text-heading: #0F172A;    /* Dark navy */
    --text-body: #334155;        /* Soft dark gray */
    --text-muted: #64748B;       /* Light gray */
    
    /* Accent Colors */
    --accent-green: #22C55E;     /* Success indicators */
    --accent-red: #EF4444;       /* Errors/Warnings */
    --accent-amber: #F59E0B;     /* Warnings */
    
    /* Borders & Shadows */
    --border-light: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 30px rgba(102,126,234,0.15);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Layout */
    --container-max: 1280px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 28px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    opacity: 0.8;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 56px; font-weight: 800; }
h2 { font-size: 36px; font-weight: 700; }
h3 { font-size: 24px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 14px; font-weight: 600; }

p {
    margin-bottom: 1rem;
    color: var(--text-body);
}

/* ============================================
   LAYOUT COMPONENTS
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: relative;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    z-index: 1000;
}

.navbar.sticky {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    width: calc(100% - 32px);
    border-radius: 60px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
    padding: 16px 24px;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    text-decoration: none;
}

.nav-logo img {
    height: 70px;      /* ← یہاں سائز تبدیل کریں */
    width: auto;
    max-width: 180px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-body);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gradient-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--text-body);
    border: 2px solid var(--border-light);
}

.btn-ghost:hover {
    background: var(--bg-light);
    border-color: var(--gradient-primary);
    color: var(--gradient-primary);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

/* ============================================
   GRID SYSTEM
   ============================================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius-xl);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: glowPulse 2s infinite;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-body);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 0 0 rgba(102,126,234,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(102,126,234,0); }
    100% { box-shadow: 0 0 0 0 rgba(102,126,234,0); }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-heading);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .check {
    color: var(--accent-green);
    font-weight: 600;
}

.comparison-table .cross {
    color: var(--accent-red);
    font-weight: 600;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 20px;
}

.testimonial-info h4 {
    margin-bottom: 0.25rem;
    font-size: 16px;
}

.testimonial-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 0;
}

.testimonial-content {
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 18px;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 1rem;
        border-radius: var(--border-radius-md);
        box-shadow: var(--shadow-lg);
        margin-top: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--text-heading);
        margin: 4px 0;
        transition: all 0.3s ease;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.pro-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-light);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-body);
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion {
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
}

.accordion-header {
    background: var(--bg-card);
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-heading);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: var(--bg-light);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

.accordion-body {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-body);
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-content.active .accordion-icon {
    transform: rotate(180deg);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    max-width: 45%;
}

.timeline-date {
    flex: 0 0 auto;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    text-align: center;
    min-width: 120px;
}

/* ============================================
   KANBAN BOARD
   ============================================ */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.kanban-column {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    min-height: 400px;
}

.kanban-header {
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.kanban-item {
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.kanban-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.kanban-item-title {
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.kanban-item-description {
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.5;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-heading);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-family: var(--font-family);
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--bg-card);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gradient-primary);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   SCREENSHOT PLACEHOLDERS
   ============================================ */
.screenshot-placeholder {
    background: var(--bg-light);
    border: 2px dashed var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screenshot-placeholder:hover {
    border-color: var(--gradient-primary);
    background: var(--bg-card);
}

.screenshot-icon {
    font-size: 48px;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.screenshot-label {
    font-weight: 600;
    color: var(--text-heading);
}

/* ============================================
   BEFORE/AFTER COMPARISON
   ============================================ */
.comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

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

.comparison-side h3 {
    margin-bottom: 1.5rem;
    color: var(--text-heading);
}

.comparison-metrics {
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.comparison-metric {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.comparison-metric:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.metric-label {
    font-weight: 500;
    color: var(--text-body);
}

.metric-value {
    font-weight: 600;
}

.metric-value.good {
    color: var(--accent-green);
}

.metric-value.bad {
    color: var(--accent-red);
}

/* ============================================
   HIDDEN ELEMENTS
   ============================================ */
.mobile-menu-toggle {
    display: none;
}
