/* ═══════════════════════════════════════════════════════
   FancyBubbles.cloud — Premium Landing Page Styles
   Design: Dark luxury with teal/amber accents & floating bubbles
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;700&display=swap');

/* ── CSS Variables ── */
:root {
    --bg-deep: #060a13;
    --bg-card: rgba(12, 20, 39, 0.65);
    --bg-card-hover: rgba(18, 30, 55, 0.8);
    --surface: #0c1427;
    --surface-elevated: #111d38;
    
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-glow: rgba(45, 212, 191, 0.15);
    
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-glow: rgba(251, 191, 36, 0.12);
    
    --text-primary: #f0f4f8;
    --text-secondary: #8b9cc0;
    --text-muted: #4a5a7a;
    
    --gradient-hero: linear-gradient(135deg, #060a13 0%, #0c1e35 40%, #0a1628 70%, #060a13 100%);
    --gradient-teal: linear-gradient(135deg, var(--teal-500), var(--teal-400));
    --gradient-amber: linear-gradient(135deg, var(--amber-500), var(--amber-400));
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    
    --border-subtle: rgba(139, 156, 192, 0.08);
    --border-glow: rgba(45, 212, 191, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border-subtle);
    --shadow-glow: 0 0 60px rgba(45, 212, 191, 0.08);
    
    --font-ar: 'Tajawal', sans-serif;
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    
    --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

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

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

/* ── Noise Texture Overlay ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ═══ NAVIGATION ═══ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    backdrop-filter: blur(0px);
}

.nav.scrolled {
    background: rgba(6, 10, 19, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.8rem 3rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-logo img {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 10px rgba(45, 212, 191, 0.3));
}

.nav-logo span {
    font-weight: 800;
    font-size: 1.3rem;
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-teal);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--teal-400);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.6rem 1.6rem;
    background: var(--gradient-teal);
    color: var(--bg-deep) !important;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    -webkit-text-fill-color: var(--bg-deep) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 212, 191, 0.3);
}

/* Mobile menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ═══ HERO SECTION ═══ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

/* Animated gradient mesh background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.06) 0%, transparent 60%);
    animation: meshFloat 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.04) 0%, transparent 60%);
    animation: meshFloat 25s ease-in-out infinite reverse;
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(5%, -8%) scale(1.05); }
    66% { transform: translate(-3%, 5%) scale(0.95); }
}

/* Floating Bubbles */
.bubbles-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(45, 212, 191, 0.12), rgba(45, 212, 191, 0.02));
    border: 1px solid rgba(45, 212, 191, 0.08);
    animation: bubbleRise var(--duration) var(--delay) ease-in-out infinite;
}

.bubble::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 20%;
    width: 35%;
    height: 20%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    transform: rotate(-20deg);
}

@keyframes bubbleRise {
    0% {
        transform: translateY(100vh) scale(0.5) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 0.8; }
    100% {
        transform: translateY(-120vh) scale(1.1) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--teal-400);
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--teal-400);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 0 40px rgba(45, 212, 191, 0.2));
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 {
    font-family: var(--font-ar);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero h1 .text-gradient {
    background: linear-gradient(135deg, var(--teal-400), var(--amber-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-ar);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-teal);
    color: var(--bg-deep);
    box-shadow: 0 4px 20px rgba(45, 212, 191, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(45, 212, 191, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-glow);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--teal-400);
    background: rgba(45, 212, 191, 0.05);
    transform: translateY(-3px);
}

/* Hero scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 1s ease 1.2s both;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--teal-400);
    border-radius: 3px;
    animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(14px); opacity: 0; }
}

/* ═══ SECTION COMMONS ═══ */
section {
    position: relative;
    padding: 7rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal-400);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--gradient-teal);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    line-height: 1.8;
    margin-bottom: 3.5rem;
}

/* ═══ ABOUT SECTION ═══ */
.about {
    background: var(--bg-deep);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-card-stack {
    position: relative;
    height: 400px;
}

.about-floating-card {
    position: absolute;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.about-floating-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.about-floating-card.card-1 {
    top: 0;
    right: 0;
    width: 280px;
    z-index: 3;
}

.about-floating-card.card-2 {
    top: 80px;
    right: 120px;
    width: 260px;
    z-index: 2;
}

.about-floating-card.card-3 {
    bottom: 0;
    right: 40px;
    width: 240px;
    z-index: 1;
}

.about-floating-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-glow);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-floating-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-floating-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
}

/* ═══ PRODUCTS SECTION ═══ */
.products {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--surface) 50%, var(--bg-deep) 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.product-card {
    position: relative;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-teal);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-card), var(--shadow-glow);
    background: var(--bg-card-hover);
}

.product-card .card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--teal-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.product-card:hover .card-glow {
    opacity: 1;
}

.product-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-glow), rgba(45, 212, 191, 0.05));
    border: 1px solid rgba(45, 212, 191, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.product-card.amber .product-icon {
    background: linear-gradient(135deg, var(--amber-glow), rgba(251, 191, 36, 0.05));
    border-color: rgba(251, 191, 36, 0.15);
}

.product-card.amber::before {
    background: var(--gradient-amber);
}

.product-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.product-card .product-domain {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--teal-400);
    background: rgba(45, 212, 191, 0.08);
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    direction: ltr;
    position: relative;
    z-index: 1;
}

.product-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.product-card .arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--teal-400);
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.product-card:hover .arrow-link {
    gap: 1rem;
}

/* ═══ SERVICES SECTION ═══ */
.services {
    background: var(--bg-deep);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}

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

.service-card {
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-teal);
    transition: width 0.5s ease;
    border-radius: 3px 3px 0 0;
}

.service-card:hover::after {
    width: 60%;
}

.service-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--teal-glow);
    border-radius: 50%;
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--teal-glow);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══ CTA SECTION ═══ */
.cta-section {
    background: var(--bg-deep);
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1.2rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* ═══ FOOTER ═══ */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.footer-brand .footer-logo img {
    width: 36px;
    height: 36px;
}

.footer-brand .footer-logo span {
    font-weight: 800;
    font-size: 1.2rem;
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col ul a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--teal-400);
    padding-right: 0.3rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--teal-400);
    color: var(--teal-400);
    background: var(--teal-glow);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ═══ ANIMATIONS ═══ */
@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);
    }
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-card-stack {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-floating-card {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 10, 19, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        font-size: 1.3rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    section {
        padding: 4rem 1.5rem;
    }
    
    .hero {
        padding: 5rem 1.5rem 3rem;
    }
    
    .hero-logo {
        width: 90px;
        height: 90px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .stats-row {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
