/* Fast Code - Professional Theme | UTF-8 */

:root {
    --fc-bg: #f1f5f9;
    --fc-bg-dark: #0f172a;
    --fc-surface: #ffffff;
    --fc-primary: #4f46e5;
    --fc-primary-light: #818cf8;
    --fc-primary-dark: #3730a3;
    --fc-accent: #06b6d4;
    --fc-accent-soft: #ecfeff;
    --fc-text: #0f172a;
    --fc-text-muted: #64748b;
    --fc-border: rgba(148, 163, 184, 0.25);
    --fc-gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 45%, #312e81 100%);
    --fc-gradient-accent: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #06b6d4 100%);
    --fc-gradient-soft: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    --fc-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --fc-shadow-md: 0 12px 40px rgba(15, 23, 42, 0.1);
    --fc-shadow-lg: 0 24px 60px rgba(79, 70, 229, 0.18);
    --fc-radius: 16px;
    --fc-radius-lg: 24px;
    --fc-nav-height: 72px;
    --fc-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* Legacy aliases for inner pages */
    --primary-blue: var(--fc-primary);
    --secondary-blue: #6366f1;
    --light-blue: var(--fc-primary-light);
    --dark-blue: var(--fc-primary-dark);
    --accent-blue: var(--fc-accent);
    --gradient-blue: var(--fc-gradient-accent);
    --gradient-blue-light: linear-gradient(135deg, #818cf8 0%, #a5b4fc 50%, #67e8f9 100%);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    direction: rtl;
    background: var(--fc-bg);
    color: var(--fc-text);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ─── Navbar ─── */
.fc-navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    height: var(--fc-nav-height);
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--fc-transition);
}

.fc-navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.fc-navbar .fc-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.fc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.15rem;
    transition: opacity var(--fc-transition);
}

.fc-brand:hover {
    opacity: 0.9;
}

.fc-brand img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: contain;
}

.fc-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.fc-nav-links a {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--fc-transition);
}

.fc-nav-links a:hover,
.fc-nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.fc-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ─── Layout ─── */
.fc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.fc-section {
    padding: 80px 0;
}

.fc-section-alt {
    background: var(--fc-gradient-soft);
}

.fc-section-title {
    text-align: center;
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--fc-text);
}

.fc-section-subtitle {
    text-align: center;
    color: var(--fc-text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 48px;
}

.fc-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--fc-gradient-accent);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ─── Hero ─── */
.fc-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--fc-nav-height) + 60px) 0 80px;
    background: var(--fc-gradient-hero);
    overflow: hidden;
}

.fc-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fc-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: fc-float 8s ease-in-out infinite;
}

.fc-hero-orb-1 {
    width: 400px;
    height: 400px;
    background: #4f46e5;
    top: -100px;
    left: -100px;
}

.fc-hero-orb-2 {
    width: 350px;
    height: 350px;
    background: #06b6d4;
    bottom: -80px;
    right: -80px;
    animation-delay: -4s;
}

.fc-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.fc-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.fc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: #e0e7ff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fc-fade-up 0.8s ease-out;
}

.fc-badge-dot {
    width: 8px;
    height: 8px;
    background: #22d3ee;
    border-radius: 50%;
    animation: fc-pulse-dot 2s ease-in-out infinite;
}

.fc-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    animation: fc-fade-up 0.8s ease-out 0.1s both;
}

.fc-hero h1 span {
    background: var(--fc-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fc-hero-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    max-width: 640px;
    margin: 0 auto 36px;
    animation: fc-fade-up 0.8s ease-out 0.2s both;
}

.fc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    animation: fc-fade-up 0.8s ease-out 0.3s both;
}

.fc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--fc-transition);
}

.fc-btn-primary {
    background: var(--fc-gradient-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4);
}

.fc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.5);
    color: #fff;
}

.fc-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fc-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.fc-hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fc-fade-up 0.8s ease-out 0.5s both;
}

.fc-stat {
    text-align: center;
}

.fc-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.fc-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ─── Services strip ─── */
.fc-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.fc-service-item {
    background: var(--fc-surface);
    padding: 28px 24px;
    border-radius: var(--fc-radius);
    box-shadow: var(--fc-shadow-md);
    text-align: center;
    transition: var(--fc-transition);
    border: 1px solid var(--fc-border);
}

.fc-service-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--fc-shadow-lg);
}

.fc-service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff, #ecfeff);
    border-radius: 14px;
    font-size: 1.5rem;
    color: var(--fc-primary);
}

.fc-service-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--fc-text);
}

.fc-service-item p {
    font-size: 0.88rem;
    color: var(--fc-text-muted);
    line-height: 1.6;
}

/* ─── Product cards ─── */
.fc-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.fc-card {
    background: var(--fc-surface);
    border-radius: var(--fc-radius-lg);
    overflow: hidden;
    border: 1px solid var(--fc-border);
    box-shadow: var(--fc-shadow-sm);
    transition: var(--fc-transition);
    opacity: 0;
    transform: translateY(30px);
}

.fc-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.fc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--fc-shadow-lg);
    border-color: rgba(79, 70, 229, 0.2);
}

.fc-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.fc-card-header {
    padding: 28px 28px 0;
    flex: 1;
}

.fc-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #eef2ff;
    color: var(--fc-primary);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.fc-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fc-text);
    margin-bottom: 12px;
    transition: color var(--fc-transition);
}

.fc-card:hover h3 {
    color: var(--fc-primary);
}

.fc-card p {
    font-size: 0.95rem;
    color: var(--fc-text-muted);
    line-height: 1.75;
    margin-bottom: 0;
}

.fc-card-visual {
    padding: 24px 28px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent, #f8fafc);
    min-height: 180px;
}

.fc-card-visual img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.1));
}

.fc-card:hover .fc-card-visual img {
    transform: scale(1.08) translateY(-4px);
}

.fc-card-footer {
    padding: 0 28px 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--fc-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.fc-card-footer i {
    transition: transform var(--fc-transition);
}

.fc-card:hover .fc-card-footer i {
    transform: translateX(-4px);
}

/* ─── Why us ─── */
.fc-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fc-feature-box {
    padding: 32px;
    background: var(--fc-surface);
    border-radius: var(--fc-radius);
    border: 1px solid var(--fc-border);
    transition: var(--fc-transition);
}

.fc-feature-box:hover {
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: var(--fc-shadow-md);
}

.fc-feature-box .fc-service-icon {
    margin: 0 0 20px;
}

.fc-feature-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.fc-feature-box p {
    color: var(--fc-text-muted);
    font-size: 0.92rem;
}

/* ─── Contact ─── */
.fc-contact {
    background: var(--fc-gradient-hero);
    position: relative;
    overflow: hidden;
}

.fc-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(79, 70, 229, 0.3), transparent 50%);
}

.fc-contact-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.fc-contact-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    animation: fc-pulse-logo 3s ease-in-out infinite;
}

.fc-contact h2 {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.fc-contact-sub {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.fc-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.fc-contact-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--fc-radius);
    padding: 28px;
    transition: var(--fc-transition);
}

.fc-contact-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.fc-contact-card i {
    font-size: 1.5rem;
    color: #67e8f9;
    margin-bottom: 12px;
    display: block;
}

.fc-contact-card h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.fc-contact-card a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    transition: color var(--fc-transition);
}

.fc-contact-card a:hover {
    color: #67e8f9;
}

.fc-company-name {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 40px;
}

/* ─── Footer ─── */
.fc-footer {
    background: #0b1120;
    padding: 24px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}

/* ─── Legacy support (inner pages) ─── */
.navbar {
    background: var(--fc-gradient-accent) !important;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.25);
    padding: 1rem 0;
    transition: var(--fc-transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.navbar-brand {
    color: white !important;
    font-weight: 600;
    transition: transform var(--fc-transition);
}

.navbar-brand:hover {
    transform: scale(1.03);
    color: #e0e7ff !important;
}

.hero-section {
    background: var(--fc-gradient-accent);
    min-height: 50vh;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.program-card {
    background: white;
    border-radius: var(--fc-radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--fc-shadow-md);
    transition: var(--fc-transition);
    height: 100%;
    border: 1px solid var(--fc-border);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--fc-shadow-lg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--fc-primary);
    text-align: center;
    margin-bottom: 50px;
}

.explore-section {
    padding: 80px 0;
    background: var(--fc-gradient-soft);
}

.contact-section {
    background: var(--fc-gradient-accent);
    padding: 80px 0;
    color: white;
}

.contact-section .contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--fc-radius);
    padding: 30px;
}

@keyframes fc-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

@keyframes fc-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fc-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

@keyframes fc-pulse-logo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Responsive ─── */
@media (max-width: 992px) {
    .fc-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .fc-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fc-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .fc-nav-toggle {
        display: block;
    }

    .fc-nav-links {
        display: none;
        position: absolute;
        top: var(--fc-nav-height);
        right: 0;
        left: 0;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        padding: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .fc-nav-links.open {
        display: flex;
    }

    .fc-nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .fc-hero {
        min-height: auto;
        padding: calc(var(--fc-nav-height) + 40px) 0 60px;
    }

    .fc-hero-stats {
        gap: 24px;
    }

    .fc-services {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .fc-cards-grid,
    .fc-features-grid,
    .fc-contact-cards {
        grid-template-columns: 1fr;
    }

    .fc-section {
        padding: 56px 0;
    }

    .fc-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .fc-btn {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════
   PROJECT / INNER PAGES
   ═══════════════════════════════════════ */

.features-page,
.contact-page {
    padding: 0 0 64px;
    background: var(--fc-bg);
}

.features-page > .container,
.contact-page > .container,
.page-header > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-header {
    background: var(--fc-gradient-hero);
    color: #fff;
    padding: calc(var(--fc-nav-height) + 56px) 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

.page-header::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: #4f46e5;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    top: -80px;
    left: -80px;
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    line-height: 1.35;
}

.page-header .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
}

.hero-section-features {
    background: var(--fc-surface);
    color: var(--fc-text);
    padding: 36px 32px;
    text-align: center;
    margin: -32px 0 40px;
    border-radius: var(--fc-radius-lg);
    box-shadow: var(--fc-shadow-md);
    border: 1px solid var(--fc-border);
    position: relative;
    z-index: 3;
}

.hero-section-features h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--fc-text);
}

.hero-section-features p {
    font-size: 1.05rem;
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.85;
    color: var(--fc-text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.feature-card {
    background: var(--fc-surface);
    padding: 28px;
    border-radius: var(--fc-radius-lg);
    box-shadow: var(--fc-shadow-sm);
    border: 1px solid var(--fc-border);
    transition: var(--fc-transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--fc-gradient-accent);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fc-shadow-lg);
    border-color: rgba(79, 70, 229, 0.25);
}

.feature-card.visible:hover {
    transform: translateY(-6px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.feature-card h3 {
    color: var(--fc-text);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color var(--fc-transition);
}

.feature-card:hover h3 {
    color: var(--fc-primary);
}

.feature-card p {
    color: var(--fc-text-muted);
    line-height: 1.75;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    margin-top: 12px;
    padding: 0;
}

.feature-list li {
    padding: 8px 28px 8px 0;
    position: relative;
    color: var(--fc-text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--fc-primary);
    font-weight: 700;
}

.stats-section,
.tutorials-section,
.info-section,
.download-section {
    background: var(--fc-surface);
    padding: 48px 32px;
    border-radius: var(--fc-radius-lg);
    margin: 40px 0;
    box-shadow: var(--fc-shadow-sm);
    border: 1px solid var(--fc-border);
}

.stats-section h2,
.tutorials-section h2,
.info-section h2,
.download-section h2 {
    text-align: center;
    color: var(--fc-text);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 36px;
}

.stats-section h2::after,
.tutorials-section h2::after,
.info-section h2::after,
.download-section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--fc-gradient-accent);
    border-radius: 2px;
    margin: 14px auto 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 28px 16px;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    border-radius: var(--fc-radius);
    border: 1px solid var(--fc-border);
    transition: var(--fc-transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--fc-shadow-md);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--fc-primary);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--fc-text-muted);
    font-size: 0.95rem;
}

.stats-section:not(:has(h2)) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0 0 40px;
}

.stats-section .stats-grid + .stats-grid,
.stats-section > .stats-grid {
    /* reserved */
}

.stat-box {
    background: var(--fc-gradient-hero);
    color: #fff;
    padding: 28px 20px;
    border-radius: var(--fc-radius);
    text-align: center;
    box-shadow: var(--fc-shadow-md);
    transition: var(--fc-transition);
}

.stat-box:hover {
    transform: translateY(-4px);
}

.stat-box .number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-box .label {
    font-size: 0.95rem;
    opacity: 0.85;
}

.tutorial-item {
    margin-bottom: 40px;
}

.tutorial-item:last-child {
    margin-bottom: 0;
}

.tutorial-header {
    background: var(--fc-gradient-accent);
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    margin-bottom: 20px;
}

.video-container {
    text-align: center;
    margin-bottom: 24px;
}

.video-container iframe {
    max-width: 100%;
    width: 560px;
    height: 315px;
    border: none;
    border-radius: var(--fc-radius);
    box-shadow: var(--fc-shadow-md);
}

.tutorial-description {
    color: var(--fc-text-muted);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.75;
}

.tutorial-description p {
    color: var(--fc-primary) !important;
    font-weight: 600;
}

.tutorial-image {
    text-align: center;
    margin-top: 16px;
}

.tutorial-image img {
    max-width: 100%;
    border-radius: var(--fc-radius);
    box-shadow: var(--fc-shadow-md);
}

.info-box {
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    padding: 24px 28px;
    border-radius: var(--fc-radius);
    margin: 20px 0;
    border: 1px solid var(--fc-border);
    border-right: 4px solid var(--fc-primary);
}

.info-box h3,
.info-box h4 {
    color: var(--fc-text);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-box p,
.info-box ul,
.info-box ol {
    color: var(--fc-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.info-box ul,
.info-box ol {
    padding-right: 24px;
    margin-top: 10px;
}

.info-box li {
    margin: 8px 0;
}

.info-box a {
    color: var(--fc-primary);
    font-weight: 600;
}

.info-box a:hover {
    text-decoration: underline;
}

.highlight-box {
    background: linear-gradient(135deg, #eef2ff 0%, #ecfeff 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-right: 4px solid var(--fc-accent);
    border-radius: var(--fc-radius);
    padding: 28px 32px;
    margin: 24px 0;
}

.highlight-box h3 {
    color: var(--fc-text);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.highlight-box p,
.highlight-box ul {
    color: var(--fc-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
}

.highlight-box li {
    padding: 10px 32px 10px 0;
    position: relative;
}

.highlight-box li::before {
    content: '★';
    position: absolute;
    right: 0;
    color: var(--fc-primary);
    font-size: 0.85rem;
}

.highlight-box-dark {
    background: var(--fc-gradient-hero);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 4px solid var(--fc-accent);
}

.highlight-box-dark h3,
.highlight-box-dark li {
    color: #fff;
}

.highlight-box-dark li::before {
    content: '★';
    color: #67e8f9;
}

.contact-box {
    background: var(--fc-gradient-hero);
    color: #fff;
    padding: 40px 32px;
    border-radius: var(--fc-radius-lg);
    text-align: center;
    margin: 40px 0;
    box-shadow: var(--fc-shadow-lg);
}

.contact-box h3 {
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-box p {
    font-size: 1.05rem;
    margin: 12px 0;
    color: rgba(255, 255, 255, 0.9);
}

.contact-box a {
    color: #67e8f9;
    font-weight: 600;
}

.contact-box a:hover {
    color: #fff;
}

.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.download-btn {
    display: inline-block;
    transition: var(--fc-transition);
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn img {
    width: 180px;
    height: auto;
    border-radius: 14px;
    box-shadow: var(--fc-shadow-md);
}

.website-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--fc-gradient-accent);
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 20px;
    transition: var(--fc-transition);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
}

.website-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.45);
}

.screenshots-section {
    margin: 40px 0 0;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.screenshot-item {
    text-align: center;
    background: var(--fc-bg);
    padding: 16px;
    border-radius: var(--fc-radius);
    border: 1px solid var(--fc-border);
    transition: var(--fc-transition);
}

.screenshot-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--fc-shadow-md);
}

.screenshot-item img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--fc-shadow-sm);
}

.download-section > p,
.info-section > p {
    text-align: center;
    color: var(--fc-text-muted);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

/* Contact page */
.contact-page {
    min-height: 50vh;
}

.contact-container {
    max-width: 720px;
    margin: 0 auto;
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo-section img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: fc-pulse-logo 3s ease-in-out infinite;
}

.contact-card-page {
    background: var(--fc-surface);
    padding: 40px 36px;
    border-radius: var(--fc-radius-lg);
    box-shadow: var(--fc-shadow-md);
    border: 1px solid var(--fc-border);
    margin-bottom: 24px;
}

.contact-card-page h2 {
    text-align: center;
    color: var(--fc-text);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 32px;
}

.contact-card-page h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--fc-gradient-accent);
    border-radius: 2px;
    margin: 14px auto 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    margin: 16px 0;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    border-radius: var(--fc-radius);
    border: 1px solid var(--fc-border);
    border-right: 4px solid var(--fc-primary);
    transition: var(--fc-transition);
    opacity: 0;
    transform: translateY(20px);
}

.contact-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-item:hover {
    box-shadow: var(--fc-shadow-md);
    transform: translateX(-4px);
}

.contact-item.visible:hover {
    transform: translateX(-4px);
}

.contact-icon {
    font-size: 2rem;
    min-width: 48px;
    text-align: center;
}

.contact-item-body h3 {
    color: var(--fc-text);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-item-body p {
    color: var(--fc-text-muted);
    font-size: 0.95rem;
    margin: 0 0 12px;
}

.whatsapp-btn,
.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--fc-transition);
    color: #fff !important;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.email-btn {
    background: var(--fc-gradient-accent);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.whatsapp-btn:hover,
.email-btn:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

.fc-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.92rem;
}

.fc-data-table th,
.fc-data-table td {
    padding: 14px 16px;
    text-align: right;
    border-bottom: 1px solid var(--fc-border);
}

.fc-data-table th {
    background: linear-gradient(180deg, #eef2ff, #f8fafc);
    color: var(--fc-text);
    font-weight: 700;
}

.fc-data-table tr:hover td {
    background: #f8fafc;
}

.fc-steps-list {
    list-style: none;
    padding: 0;
    counter-reset: fc-step;
}

.fc-steps-list li {
    counter-increment: fc-step;
    position: relative;
    padding: 16px 52px 16px 16px;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    border-radius: var(--fc-radius);
    border: 1px solid var(--fc-border);
    color: var(--fc-text-muted);
    line-height: 1.75;
}

.fc-steps-list li::before {
    content: counter(fc-step);
    position: absolute;
    right: 16px;
    top: 16px;
    width: 28px;
    height: 28px;
    background: var(--fc-gradient-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.fc-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.fc-pricing-card {
    background: linear-gradient(180deg, #f8fafc, #eef2ff);
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius);
    padding: 28px 24px;
    text-align: center;
    transition: var(--fc-transition);
}

.fc-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fc-shadow-md);
}

.fc-pricing-card.featured {
    border-color: rgba(79, 70, 229, 0.4);
    box-shadow: var(--fc-shadow-md);
}

.fc-pricing-card h4 {
    color: var(--fc-text);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.fc-pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--fc-primary);
    margin-bottom: 12px;
}

.fc-pricing-card p {
    color: var(--fc-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.fc-faq-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--fc-border);
}

.fc-faq-item:last-child {
    border-bottom: none;
}

.fc-faq-item h4 {
    color: var(--fc-text);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.fc-faq-item p {
    color: var(--fc-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

.fc-version-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hero-section-features {
        margin-top: 0;
        padding: 28px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-container iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-card-page {
        padding: 28px 20px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .fc-data-table {
        display: block;
        overflow-x: auto;
    }
}
