/* ==========================================
   LinFluence — Premium Dark Theme
   Black & Blue Color Scheme
   ========================================== */

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #60A5FA;
    --secondary: #0A0E1A;
    --surface: #0F1629;
    --surface-light: #151D33;
    --text: #E2E8F0;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    --white: #FFFFFF;
    --border: rgba(37, 99, 235, 0.15);
    --gradient: linear-gradient(135deg, #2563EB 0%, #60A5FA 100%);
    --gradient-dark: linear-gradient(135deg, #0A0E1A 0%, #0F1629 50%, #0A0E1A 100%);
    --glow: 0 0 30px rgba(37, 99, 235, 0.15);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-blue: 0 4px 30px rgba(37, 99, 235, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--secondary);
    color: var(--text);
    line-height: 1.6;
}

/* ==========================================
   Header / Navigation
   ========================================== */
header {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 44px;
    width: auto;
    border-radius: 10px;
}

.logo span {
    color: var(--primary);
}

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

.language-selector {
    position: relative;
}

.language-selector select {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1rem;
    min-width: 100px;
}

.language-selector select:hover {
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--primary-light);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.language-selector select option {
    background: var(--surface);
    color: var(--text);
    padding: 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.cta-button {
    background: var(--gradient);
    color: white !important;
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.3s;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
    color: white;
}

/* Store Buttons */
.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.hero-buttons {
    margin-top: 2rem;
    justify-content: flex-start;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #000;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
    height: 48px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.store-button:hover {
    transform: translateY(-2px);
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.store-button.appstore {
    background: linear-gradient(135deg, #000, #1a1a1a);
}

.store-button.playstore {
    background: linear-gradient(135deg, #000, #1a1a1a);
}

.store-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-label {
    font-size: 0.65rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-name {
    font-size: 1rem;
    font-weight: 600;
}

.pricing-buttons {
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-buttons .store-button {
    width: 100%;
    justify-content: center;
    min-width: auto;
}

.cta-buttons .store-button {
    min-width: 180px;
    height: 56px;
    padding: 1rem 1.5rem;
}

.footer-buttons {
    margin-top: 1.5rem;
    flex-direction: column;
}

.footer-buttons .store-button {
    width: 100%;
    justify-content: center;
    min-width: auto;
    height: 44px;
    padding: 0.5rem 1rem;
}

.footer-buttons .store-icon {
    width: 22px;
    height: 22px;
}

.footer-buttons .store-label {
    font-size: 0.6rem;
}

.footer-buttons .store-name {
    font-size: 0.85rem;
}

.cta-buttons .store-icon {
    width: 28px;
    height: 28px;
}

.cta-buttons .store-label {
    font-size: 0.7rem;
}

.cta-buttons .store-name {
    font-size: 1.1rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    padding: 9rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 90vh;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content h1 br + span,
.hero-content h1 .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
    line-height: 1.7;
}

.badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

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

.store-badge {
    height: 48px;
    transition: transform 0.2s, filter 0.3s;
    filter: brightness(0.95);
}

.store-badge:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 32px;
    filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.25));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* Blue glow behind hero image */
.hero-image::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* ==========================================
   App Preview Section
   ========================================== */
.app-preview {
    padding: 5rem 2rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.app-preview .section-title h2 {
    color: var(--white);
}

.app-preview .section-title p {
    color: var(--text-muted);
}

.preview-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    position: relative;
}

.preview-card {
    text-align: center;
    transition: transform 0.4s ease, opacity 0.6s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.preview-card.featured {
    animation-delay: 0.1s;
    transform: translateY(-20px);
}

.preview-card.secondary {
    animation-delay: 0.3s;
}

.preview-card.tertiary {
    animation-delay: 0.5s;
}

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

.preview-card:hover {
    transform: translateY(-12px);
}

.preview-card.featured:hover {
    transform: translateY(-16px) scale(1.02);
}

.preview-card.secondary:hover {
    transform: translateY(-10px) scale(1.05);
}

.preview-card.tertiary:hover {
    transform: translateY(-8px) scale(1.08);
    opacity: 1;
}

.preview-card img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-blue);
    transition: box-shadow 0.3s, transform 0.3s;
    object-fit: cover;
}

.preview-card.featured img {
    max-width: 380px;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.3);
    border: 2px solid rgba(37, 99, 235, 0.2);
}

.preview-card.secondary img {
    max-width: 280px;
    transform: scale(0.95);
}

.preview-card.tertiary img {
    max-width: 240px;
    transform: scale(0.9);
    opacity: 0.85;
}

.preview-card:hover img {
    box-shadow: 0 12px 50px rgba(37, 99, 235, 0.4);
}

.preview-card.featured:hover img {
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.5);
}

.preview-card .preview-label {
    margin-top: 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.preview-card.featured .preview-label {
    font-size: 1.1rem;
    color: var(--primary-light);
    font-weight: 700;
}

.preview-card.secondary .preview-label {
    font-size: 0.95rem;
}

.preview-card.tertiary .preview-label {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.preview-card:hover .preview-label {
    color: var(--white);
}

.preview-card.featured:hover .preview-label {
    color: var(--primary);
}

/* ==========================================
   Statistics Section
   ========================================== */
.statistics {
    background: var(--secondary);
    padding: 5rem 2rem;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--surface);
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ==========================================
   Use Cases Section
   ========================================== */
.use-cases {
    background: var(--surface);
    padding: 5rem 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.use-cases-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.use-case-card {
    background: var(--secondary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
    text-align: center;
}

.use-case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.3);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.use-case-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.use-case-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials {
    background: var(--secondary);
    padding: 5rem 2rem;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.author-role {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================
   How It Works Section
   ========================================== */
.how-it-works {
    background: var(--surface);
    padding: 5rem 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 4rem);
    background: linear-gradient(to bottom, var(--primary), transparent);
    z-index: 0;
}

.step-card {
    background: var(--secondary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue);
}

.step-number {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.step-card h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
}

/* ==========================================
   Pricing Section
   ========================================== */
.pricing {
    background: var(--secondary);
    padding: 5rem 2rem;
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--surface);
    border-radius: 1rem;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.price-period {
    color: var(--text-muted);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    padding: 2rem;
    margin: 0;
}

.pricing-features li {
    color: var(--text);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-button {
    width: calc(100% - 4rem);
    margin: 0 2rem 2rem;
    padding: 1rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
}

.pricing-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq {
    background: var(--surface);
    padding: 5rem 2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.faq-item {
    background: var(--secondary);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.05);
}

.faq-question h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   Integrations Section
   ========================================== */
.integrations {
    background: var(--secondary);
    padding: 5rem 2rem;
}

.integrations-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.integration-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.integration-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-blue);
}

.integration-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.integration-card h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.integration-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.cta-button.primary {
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.3s;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    border: 2px solid var(--white);
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* ==========================================
   Features Section
   ========================================== */
.features {
    background: var(--secondary);
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: var(--shadow-blue);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border: 1px solid var(--border);
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   RTL Support for Arabic
   ========================================== */
html[dir="rtl"] {
    direction: rtl;
}

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

html[dir="rtl"] .hero-image {
    order: -1;
}

html[dir="rtl"] .feature-card,
html[dir="rtl"] .stat-card,
html[dir="rtl"] .use-case-card,
html[dir="rtl"] .testimonial-card,
html[dir="rtl"] .step-card,
html[dir="rtl"] .pricing-card,
html[dir="rtl"] .integration-card {
    text-align: right;
}

html[dir="rtl"] .preview-grid {
    direction: ltr;
}

html[dir="rtl"] .preview-card {
    text-align: center;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .language-selector {
    margin-left: 1rem;
    margin-right: 0;
}

html[dir="rtl"] .footer-content {
    text-align: right;
}

html[dir="rtl"] .footer-links {
    text-align: right;
}

html[dir="rtl"] .stats-grid,
html[dir="rtl"] .use-cases-grid,
html[dir="rtl"] .testimonials-grid,
html[dir="rtl"] .pricing-grid,
html[dir="rtl"] .integrations-grid {
    direction: rtl;
}

html[dir="rtl"] .steps-container::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

html[dir="rtl"] .step-number {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

html[dir="rtl"] .pricing-features li::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .pricing-features li {
    padding-left: 0;
    padding-right: 1.5rem;
}

html[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

html[dir="rtl"] .faq-toggle {
    transform: rotate(0deg);
}

html[dir="rtl"] .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

html[dir="rtl"] .testimonial-card::before {
    left: auto;
    right: 1.5rem;
}

html[dir="rtl"] .cta-buttons {
    flex-direction: row-reverse;
}

/* ==========================================
   Footer
   ========================================== */
footer {
    background: #060810;
    color: white;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
}

.footer-logo img {
    height: 36px;
    width: auto;
    border-radius: 8px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-links h3 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--white);
}

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

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

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

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

/* ==========================================
   Page Styles (Terms / Privacy / etc.)
   ========================================== */
.page-container {
    max-width: 800px;
    margin: 8rem auto 4rem;
    padding: 0 2rem;
}

.page-container h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.page-container h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--white);
}

.page-container p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.page-container ul {
    margin: 1rem 0 2rem 2rem;
}

.page-container li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* ==========================================
   Animations
   ========================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Stagger delays for grid items */
.features-grid .feature-card:nth-child(1) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.3s; }

.preview-grid .preview-card:nth-child(1) { transition-delay: 0.1s; }
.preview-grid .preview-card:nth-child(2) { transition-delay: 0.25s; }
.preview-grid .preview-card:nth-child(3) { transition-delay: 0.4s; }

/* Smooth gradients for CTA */
.cta-button {
    background-size: 200% auto;
    transition: transform 0.3s, box-shadow 0.3s, background-position 0.5s;
}

.cta-button:hover {
    background-position: right center;
}

/* ==========================================
   Responsive / Mobile
   ========================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--secondary);
        background: linear-gradient(180deg, var(--secondary) 0%, var(--surface) 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.3rem;
        color: var(--white);
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 7rem;
        min-height: auto;
        gap: 2.5rem;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        max-width: 100%;
    }

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

    .hero-image img {
        max-width: 260px;
    }

    .preview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 320px;
    }

    .preview-card.featured,
    .preview-card.secondary,
    .preview-card.tertiary {
        animation-delay: 0.1s;
        transform: none;
    }

    .preview-card img {
        max-width: 280px;
    }

    .preview-card.featured img {
        max-width: 280px;
        transform: none;
    }

    .preview-card.secondary img {
        max-width: 240px;
        transform: none;
    }

    .preview-card.tertiary img {
        max-width: 200px;
        transform: none;
        opacity: 0.8;
    }

    .preview-card:hover {
        transform: translateY(-8px);
    }

    .preview-card.featured:hover {
        transform: translateY(-8px) scale(1.02);
    }

    .preview-card.secondary:hover {
        transform: translateY(-6px) scale(1.02);
    }

    .preview-card.tertiary:hover {
        transform: translateY(-4px) scale(1.02);
        opacity: 1;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    nav {
        padding: 0.75rem 1rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .features,
    .app-preview {
        padding: 3rem 1rem;
    }
}