/* ===================================================================
   School Tools by DigitalPass — Landing Page Styles
   Premium dark-mode design with glassmorphism and micro-animations
   =================================================================== */

/* === CSS Variables & Design Tokens === */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(255, 255, 255, 0.08);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-green: #059669;
    --accent-green-light: #10b981;
    --accent-blue: #0284c7;
    --accent-blue-light: #38bdf8;
    --accent-purple: #7c3aed;
    --accent-purple-light: #a78bfa;
    --accent-amber: #d97706;
    --accent-red: #dc2626;
    --accent-indigo: #4f46e5;

    --gradient-primary: linear-gradient(135deg, #059669, #0284c7);
    --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #111827 50%, #0f172a 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    --gradient-text: linear-gradient(135deg, #38bdf8, #10b981, #a78bfa);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow-green: 0 0 30px rgba(5, 150, 105, 0.3);
    --shadow-glow-blue: 0 0 30px rgba(2, 132, 199, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    --font-en: 'Inter', 'Segoe UI', sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ar);
    background: var(--bg-primary);
    color: var(--text-primary);
    direction: rtl;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* === Particles Canvas === */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* === Container === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Common Styles === */
.section-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue-light);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    border: 1px solid rgba(56, 189, 248, 0.15);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-ar);
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
    top: calc(50% - 150px);
    left: calc(50% - 150px);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(5, 150, 105, 0.4);
}

.btn-glow {
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(5, 150, 105, 0.3); }
    50% { box-shadow: 0 0 40px rgba(5, 150, 105, 0.5), 0 0 60px rgba(2, 132, 199, 0.2); }
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-download {
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    font-size: 16px;
    font-weight: 800;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glow-green);
    transition: all var(--transition-fast);
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(5, 150, 105, 0.5);
}

.btn-tool {
    width: 100%;
    padding: 12px 20px;
    background: var(--tool-color, #059669);
    color: white;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    margin-top: 12px;
}

.btn-tool:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

.nav-logo:hover {
    transform: scale(1.1) rotate(-5deg);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.brand-sub {
    font-size: 11px;
    color: var(--accent-blue-light);
    font-weight: 600;
}

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

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 50%;
    transform: translateX(50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 999px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 999px;
    transition: all var(--transition-fast);
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 120px 24px 60px;
    position: relative;
    text-align: center;
    z-index: 1;
    background: var(--gradient-hero);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(5, 150, 105, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124, 58, 237, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border-radius: 999px;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.2);
    color: var(--accent-green-light);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green-light);
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 36px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

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

.stat-number {
    display: block;
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.stat-percent {
    font-family: var(--font-en);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-green-light);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-glass);
}

.hero-visual {
    width: 100%;
    max-width: 900px;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-mockup-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.mockup-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-text);
    border-radius: var(--radius-xl);
    opacity: 0.3;
    z-index: -1;
    filter: blur(8px);
    animation: borderGlow 4s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% { opacity: 0.15; }
    100% { opacity: 0.4; }
}

.hero-mockup {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: transform var(--transition-smooth);
}

.hero-mockup:hover {
    transform: scale(1.02);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* === Countdown Section === */
.countdown-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.countdown-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.countdown-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    min-width: 110px;
    text-align: center;
    transition: transform var(--transition-fast);
}

.countdown-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.2);
}

.countdown-num {
    display: block;
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 600;
}

.countdown-separator {
    font-family: var(--font-en);
    font-size: 40px;
    font-weight: 900;
    color: var(--text-muted);
    margin-top: -12px;
}

/* === Tools Section === */
.tools-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.tool-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: right;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tool-color, var(--gradient-primary));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.tool-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card-featured {
    border-color: rgba(5, 150, 105, 0.2);
    background: linear-gradient(145deg, rgba(5, 150, 105, 0.08) 0%, rgba(255,255,255,0.02) 100%);
}

.tool-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.tool-badge.available {
    background: rgba(5, 150, 105, 0.15);
    color: var(--accent-green-light);
    border: 1px solid rgba(5, 150, 105, 0.25);
}

.tool-badge.coming-soon {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue-light);
    border: 1px solid rgba(56, 189, 248, 0.15);
}

.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tool-color, var(--accent-green));
    margin-bottom: 16px;
    transition: all var(--transition-fast);
}

.tool-card:hover .tool-icon {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.tool-name {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.tool-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.tool-image-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 4px;
    border: 1px solid var(--border-glass);
    transition: all var(--transition-fast);
}

.tool-image-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.tool-image {
    width: 100%;
    cursor: pointer;
    transition: transform var(--transition-smooth);
}

.tool-image:hover {
    transform: scale(1.03);
}

/* === Extractor Section === */
.extractor-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(5, 150, 105, 0.03) 30%,
        rgba(5, 150, 105, 0.05) 50%,
        rgba(5, 150, 105, 0.03) 70%,
        transparent 100%
    );
}

.extractor-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    text-align: right;
}

.download-card {
    background: var(--gradient-card);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #059669, #0284c7);
}

.download-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.download-logo {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.download-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.version-badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 999px;
    background: rgba(2, 132, 199, 0.15);
    color: var(--accent-blue-light);
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(2, 132, 199, 0.2);
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.download-feature svg {
    flex-shrink: 0;
}

.download-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* === Tutorial Card === */
.tutorial-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(10px);
}

.tutorial-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.tutorial-title svg {
    color: var(--accent-blue-light);
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.tutorial-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    transition: all var(--transition-fast);
    opacity: 0;
    transform: translateX(20px);
    animation: slideInRight 0.5s ease-out forwards;
}

.tutorial-step:nth-child(1) { animation-delay: 0.1s; }
.tutorial-step:nth-child(2) { animation-delay: 0.2s; }
.tutorial-step:nth-child(3) { animation-delay: 0.3s; }
.tutorial-step:nth-child(4) { animation-delay: 0.4s; }
.tutorial-step:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tutorial-step:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(56, 189, 248, 0.15);
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Screenshot styles */
.screenshot-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-blue-light);
}

.screenshot-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    cursor: pointer;
}

.tutorial-screenshot {
    width: 100%;
    display: block;
    transition: transform var(--transition-smooth);
}

.tutorial-screenshot:hover {
    transform: scale(1.02);
}

.screenshot-annotations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.annotation-hotspot {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    font-family: var(--font-en);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.3);
    animation: hotspotPulse 2s ease-in-out infinite;
    cursor: help;
    pointer-events: auto;
}

.annotation-hotspot::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    right: 50%;
    transform: translateX(50%);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.annotation-hotspot:hover::after {
    opacity: 1;
}

@keyframes hotspotPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.15); }
}

.screenshot-caption {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    line-height: 1.6;
}

/* === Features Section === */
.features-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
    transition: transform var(--transition-spring);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(-5deg);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Contact Section === */
.contact-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(5, 150, 105, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact-content h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
}

.contact-content > p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: white;
}

.contact-visual {
    position: relative;
    height: 200px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--gradient-card);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.fc-1 { top: 10%; right: 20%; animation-delay: 0s; }
.fc-2 { top: 50%; right: 60%; animation-delay: 1s; }
.fc-3 { top: 20%; right: 70%; animation-delay: 2s; }
.fc-4 { top: 65%; right: 25%; animation-delay: 3s; }
.fc-5 { top: 40%; right: 40%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(5deg); }
    66% { transform: translateY(8px) rotate(-3deg); }
}

/* === Footer === */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-glass);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.footer-brand-name {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 800;
}

.footer-brand-sub {
    font-size: 12px;
    color: var(--accent-blue-light);
    display: block;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

/* === Lightbox === */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
    backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease-out;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox-close:hover {
    background: rgba(220, 38, 38, 0.5);
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Intersection Observer animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* === Responsive === */
@media screen and (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

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

    .contact-card {
        grid-template-columns: 1fr;
        padding: 40px 28px;
    }

    .contact-visual {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-glass);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 40px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

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

    .countdown-grid {
        gap: 10px;
    }

    .countdown-card {
        min-width: 70px;
        padding: 16px 14px;
    }

    .countdown-num {
        font-size: 32px;
    }

    .countdown-separator {
        font-size: 28px;
    }


    .section-title {
        font-size: 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .extractor-grid {
        gap: 20px;
    }

    .download-card,
    .tutorial-card {
        padding: 20px;
    }
}
