/* ==========================================================================
   CSS Variables & Design System (adaq | أدق)
   ========================================================================== */
   :root {
    /* Brand Colors */
    --primary: #082C5D;
    --secondary: #061F42;
    --accent: #FF914D;
    
    /* Light Theme Colors */
    --bg-color: #F7F9FC;
    --bg-light: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.85);
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Typography */
    --font-family: 'Cairo', sans-serif;
    
    /* Spacing & Layout */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
    --shadow-glass: 0 8px 32px 0 rgba(8, 44, 93, 0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Variables */
body.dark-mode {
    --bg-color: #0f172a;
    --bg-light: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --card-bg: #1e293b;
    --border-color: #334155;
    --glass-bg: rgba(30, 41, 59, 0.85);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center { text-align: center; }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }

/* Glassmorphism Utility */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-glass);
}

/* ==========================================================================
   Typography & Titles
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

body.dark-mode .section-header h2 {
    color: var(--text-main);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-large {
    padding: 15px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(8, 44, 93, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 44, 93, 0.4);
}

.btn-baka {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(8, 44, 93, 0.3);
    border :#ffffff solid 1px;
}

.btn-baka:hover {
    background-color: #ffffff;
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

body.dark-mode .btn-outline {
    color: var(--text-main);
    border-color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}
.btn-whatsapp:hover { background-color: #128C7E; color: #fff; }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}
.logo a span {
    color: var(--accent);
    font-weight: 400;
}
body.dark-mode .logo a { color: #fff; }

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-menu a:hover { color: var(--accent); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle, .mobile-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle { display: none; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 145, 77, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary);
}
body.dark-mode .hero-title { color: var(--text-main); }

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.dashboard-mockup {
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(8, 44, 93, 0.2);
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: rgba(255, 145, 77, 0.2);
    bottom: -50px;
    left: -50px;
    animation-delay: -3s;
}

/* ==========================================================================
   Statistics
   ========================================================================== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    transform: translateY(-50px);
    position: relative;
    z-index: 10;
}

.stat-card {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}
body.dark-mode .stat-card h3 { color: var(--text-main); }

.stat-card p {
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(8, 44, 93, 0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}
body.dark-mode .feature-icon { background-color: rgba(255,255,255,0.05); color: var(--accent); }

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: #fff;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Interactive Showcase
   ========================================================================== */
.showcase-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.showcase-menu {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.showcase-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    text-align: right;
}

.showcase-btn i {
    font-size: 1.3rem;
    color: var(--text-muted);
}

.showcase-btn:hover, .showcase-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.showcase-btn:hover i, .showcase-btn.active i {
    color: #fff;
}

.showcase-display {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 10px;
}

.showcase-display img {
    border-radius: var(--radius-md);
    width: 100%;
    transition: opacity 0.3s ease;
}

/* ==========================================================================
   Gallery (Masonry Layout)
   ========================================================================== */
.masonry-grid {
    columns: 3 300px;
    column-gap: 20px;
}

.gallery-item {
    width: 100%;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    break-inside: avoid;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* 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;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-sm);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* ==========================================================================
   Industries
   ========================================================================== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.industry-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px 20px;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.industry-card:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}

.industry-card i {
    font-size: 2.5rem;
    color: var(--accent);
}

.industry-card span {
    font-weight: 700;
    font-size: 1.1rem;
}

/* ==========================================================================
   How It Works (Timeline)
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 30px; /* RTL positioning */
    height: 100%;
    width: 4px;
    background: var(--border-color);
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    padding-right: 80px;
    margin-bottom: 50px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    right: 8px;
    top: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 0 0 8px var(--bg-color);
}

.step-content {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.step-content h3 { margin-bottom: 10px; color: var(--primary); }
body.dark-mode .step-content h3 { color: var(--text-main); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--primary);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px; width: 26px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider { background-color: var(--accent); }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    align-items: center;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    background: var(--primary);
    color: #fff;
}

body.dark-mode .pricing-card.popular { background: var(--secondary); }

.pricing-card.popular:hover { transform: scale(1.05) translateY(-10px); }

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.pricing-card h3 { margin-bottom: 20px; font-size: 1.5rem; }
.pricing-card.popular h3 { color: #fff; }

.price { margin-bottom: 30px; }
.currency { font-size: 1.2rem; font-weight: 600; }
.amount { font-size: 3rem; font-weight: 800; }
.period { color: var(--text-muted); }
.pricing-card.popular .period { color: rgba(255,255,255,0.7); }

.pricing-features {
    text-align: right;
    margin-bottom: 40px;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i { color: var(--success); }
.pricing-card.popular .pricing-features li i { color: var(--accent); }
.pricing-features li.disabled { color: var(--text-muted); }
.pricing-features li.disabled i { color: var(--danger); }

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.table-responsive {
    overflow-x: auto;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.compare-table th, .compare-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.compare-table th {
    background-color: rgba(8, 44, 93, 0.05);
    font-size: 1.2rem;
    color: var(--primary);
}
body.dark-mode .compare-table th { background-color: rgba(255,255,255,0.05); color: var(--text-main); }

.compare-table tr:last-child td { border-bottom: none; }
.compare-table td i { margin-left: 8px; font-size: 1.1rem; }

/* ==========================================================================
   Testimonials Slider
   ========================================================================== */
.testimonial-slider-container {
    position: relative;
    display: flex;
    align-items: center;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform 0.5s ease-in-out;
}

.stars { color: #FBBF24; margin-bottom: 20px; font-size: 1.2rem; }
.review-text { font-size: 1.2rem; font-style: italic; margin-bottom: 30px; color: var(--text-main); }

.client-info h4 { color: var(--primary); margin-bottom: 5px; }
body.dark-mode .client-info h4 { color: #fff; }
.client-info span { color: var(--text-muted); font-size: 0.9rem; }

.slider-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    transition: var(--transition);
}

.slider-btn:hover { background: var(--accent); }
.prev-btn { right: -25px; }
.next-btn { left: -25px; }

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: right;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-family);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover, .faq-item.active .faq-question {
    color: var(--primary);
    background-color: rgba(8, 44, 93, 0.02);
}
body.dark-mode .faq-question:hover { color: var(--accent); }

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-muted);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
    display: flex;
    gap: 50px;
    padding: 50px;
    border-radius: var(--radius-lg);
}

.contact-info, .contact-form { flex: 1; }

.contact-info h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 15px; }
body.dark-mode .contact-info h2 { color: #fff; }
.contact-info p { margin-bottom: 30px; color: var(--text-muted); }

.contact-details { margin-bottom: 40px; }
.contact-details li { margin-bottom: 20px; display: flex; align-items: center; gap: 15px; font-size: 1.1rem; }
.contact-details li i { color: var(--accent); font-size: 1.3rem; }

.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 100px 0;
    color: #fff;
}

.final-cta h2 { color: #fff; font-size: 2.8rem; margin-bottom: 20px; }
.final-cta p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }

.cta-pulse {
    background: var(--accent);
    color: #fff;
    border: none;
    box-shadow: 0 0 0 0 rgba(255, 145, 77, 0.7);
    animation: pulse 2s infinite;
}

.cta-pulse:hover { background: #e07a38; transform: translateY(-3px); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #04142a;
    color: #cbd5e1;
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 20px; }
.footer-logo span { color: var(--accent); font-weight: 400; }

.brand-col p { margin-bottom: 20px; font-size: 0.95rem; line-height: 1.8; }

.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.social-links a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }

.footer-col h3 { color: #fff; margin-bottom: 25px; font-size: 1.2rem; position: relative; padding-bottom: 10px; }
.footer-col h3::after {
    content: ''; position: absolute; right: 0; bottom: 0; width: 40px; height: 2px; background: var(--accent);
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { transition: var(--transition); display: inline-block; }
.footer-col ul li a:hover { color: var(--accent); transform: translateX(-5px); }

.newsletter-form { display: flex; margin-top: 20px; }
.newsletter-form input {
    flex: 1; padding: 12px 15px; border: none; border-radius: 0 4px 4px 0; outline: none; font-family: var(--font-family);
}
.newsletter-form button {
    background: var(--accent); color: #fff; border: none; padding: 0 20px; border-radius: 4px 0 0 4px; cursor: pointer; transition: var(--transition);
}
.newsletter-form button:hover { background: #e07a38; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px; left: 30px;
    width: 50px; height: 50px;
    background: var(--primary); color: #fff;
    border: none; border-radius: 50%;
    font-size: 1.2rem; cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); transform: translateY(-5px); }

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 145, 77, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(255, 145, 77, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 145, 77, 0); }
}

/* Scroll Reveal Classes */
.reveal, .reveal-up, .reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up { transform: translateY(50px); }
.reveal-right { transform: translateX(50px); }

.reveal.visible, .reveal-up.visible, .reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ==========================================================================
   Media Queries (Responsive)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.8rem; }
    .stats-container { grid-template-columns: repeat(2, 1fr); }
    .showcase-container { flex-direction: column; }
    .showcase-menu { flex: none; width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .pricing-cards { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-10px); }
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 70px; right: -100%;
        width: 100%; height: calc(100vh - 70px);
        background: var(--bg-color);
        flex-direction: column; align-items: center; justify-content: center;
        transition: right 0.4s ease;
    }
    .nav-menu.active { right: 0; }
    .nav-menu ul { flex-direction: column; text-align: center; gap: 40px; }
    .nav-menu a { font-size: 1.5rem; }
    
    .mobile-toggle { display: block; }
    .header-actions .btn { display: none; } /* Hide CTA on mobile header to save space */
    
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { margin-bottom: 40px; }
    .hero-buttons { justify-content: center; flex-direction: column; }
    
    .contact-wrapper { flex-direction: column; padding: 30px; }
    .pricing-cards { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-col h3::after { left: 50%; transform: translateX(-50%); right: auto; }
    .social-links { justify-content: center; }
    
    .slider-btn { display: none; } /* Rely on touch/auto on mobile */
    .testimonial-slide { padding: 30px 20px; }
    
    .timeline::before { right: 24px; }
    .step-number { width: 40px; height: 40px; right: 4px; font-size: 1.2rem; }
    .timeline-step { padding-right: 60px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .stats-container { grid-template-columns: 1fr; }
    .masonry-grid { columns: 1; }
}
