@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/vazirmatn/vazirmatn-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/vazirmatn/vazirmatn-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/vazirmatn/vazirmatn-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/vazirmatn/vazirmatn-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/vazirmatn/vazirmatn-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/vazirmatn/vazirmatn-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/vazirmatn/vazirmatn-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --bg-deep: #060d1a;
    --bg-card: rgba(15, 25, 45, 0.65);
    --bg-card-hover: rgba(20, 32, 58, 0.85);
    --bg-light: #f0f4fa;
    --bg-white: #ffffff;

    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --primary-glow: rgba(0, 212, 255, 0.35);
    --accent: #7c5cff;
    --accent-glow: rgba(124, 92, 255, 0.3);

    --text-dark: #0f1729;
    --text-body: #4a5568;
    --text-muted: #8896ab;
    --text-light: rgba(255, 255, 255, 0.85);
    --text-faint: rgba(255, 255, 255, 0.55);

    --border-glass: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    --border-card: rgba(0, 212, 255, 0.12);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px var(--primary-glow);

    --header-h: 76px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
    color: var(--text-body);
    background: var(--bg-deep);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Ambient background */
.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: float 12s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%;
    right: -5%;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: 20%;
    left: -10%;
    animation-delay: -4s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #00ffaa 0%, transparent 70%);
    top: 50%;
    right: 40%;
    opacity: 0.2;
    animation-delay: -8s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(6, 13, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.navbar {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.logo-mark {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px var(--primary-glow);
}

.logo-mark svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

.nav-link {
    color: var(--text-faint);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.btn-nav {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0099cc 100%);
    color: var(--bg-deep);
    box-shadow: 0 4px 24px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--primary-glow);
}

.btn-primary:hover svg {
    transform: translateX(-4px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 3rem) 0 4rem;
    overflow: hidden;
    z-index: 1;
}

.hero-grid-overlay {
    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 80% 70% at 50% 50%, black 20%, transparent 80%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.title-gradient {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-main {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-light);
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-faint);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.85;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    width: fit-content;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.stat-item strong {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.stat-item span {
    font-size: 0.8rem;
    color: var(--text-faint);
}

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

/* Hero visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(24px);
    text-align: center;
    animation: cardFloat 6s ease-in-out infinite;
}

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

.shield-glow {
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary-glow), var(--accent-glow));
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
}

.shield-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 92, 255, 0.15));
    border-radius: 50%;
    border: 1px solid var(--border-light);
}

.shield-icon svg {
    width: 52px;
    height: 52px;
    color: var(--primary);
}

.shield-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    color: #34d399;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

.shield-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: right;
}

.shield-features li {
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 0.9rem;
    border-right: 3px solid var(--primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
}

.scroll-mouse {
    display: block;
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    position: relative;
}

.scroll-mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* Sections shared */
section {
    position: relative;
    z-index: 1;
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* Products */
.products {
    background: var(--bg-light);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin-top: -2rem;
}

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

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

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

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

.product-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 40px var(--primary-glow);
    transform: scale(1.03);
}

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

.badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: linear-gradient(135deg, var(--accent), #5b21b6);
    color: #fff;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.product-header {
    margin-bottom: 1.5rem;
}

.product-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 92, 255, 0.1));
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.product-icon-wrap svg {
    width: 26px;
    height: 26px;
    color: var(--primary-dark);
}

.product-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

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

.product-features {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-body);
}

.product-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.product-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.product-price {
    margin-bottom: 1rem;
}

.price-amount {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.price-amount.price-custom {
    font-size: 1.2rem;
}

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

.btn-product {
    width: 100%;
    background: var(--text-dark);
    color: #fff;
    padding: 0.85rem;
}

.btn-product:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent));
    transform: translateY(-2px);
}

.product-card.featured .btn-product {
    background: linear-gradient(135deg, var(--primary) 0%, #0099cc 100%);
    color: var(--bg-deep);
}

.product-card.featured .btn-product:hover {
    box-shadow: var(--shadow-glow);
}

/* Features */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.feature-item {
    padding: 2rem 1.5rem;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-card);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-deep), #1a2744);
    border-radius: var(--radius-md);
}

.feature-icon-wrap svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.feature-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* About */
.about {
    background: linear-gradient(160deg, #0a1628 0%, #121f3a 50%, #0d1a30 100%);
    color: #fff;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, var(--primary-glow) 0%, transparent 50%);
    opacity: 0.3;
    pointer-events: none;
}

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

.about .section-title {
    color: #fff;
    text-align: right;
}

.about-text {
    color: var(--text-faint);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.about-cards {
    display: grid;
    gap: 1rem;
}

.about-card {
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.about-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-light);
    transform: translateX(-6px);
}

.about-card strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.about-card span {
    font-size: 0.9rem;
    color: var(--text-faint);
}

/* Contact */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--border-card);
}

.contact-icon-wrap {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 92, 255, 0.1));
    border-radius: var(--radius-md);
}

.contact-icon-wrap svg {
    width: 22px;
    height: 22px;
    color: var(--primary-dark);
}

.contact-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-icon-whatsapp {
    background: rgba(37, 211, 102, 0.12);
}

.contact-icon-whatsapp svg {
    width: 24px;
    height: 24px;
    color: #25d366;
}

.contact-item-whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.35);
}

.contact-item a[dir="ltr"] {
    display: inline-block;
    direction: ltr;
    unicode-bidi: embed;
}

.contact-trust {
    padding: 1rem 1.25rem;
    background: rgba(0, 212, 255, 0.06);
    border: 1px dashed rgba(0, 212, 255, 0.25);
    border-radius: var(--radius-md);
}

.contact-trust p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.9rem 1.1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #fafbfc;
    color: var(--text-dark);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a0aec0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact .btn-primary {
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--bg-deep);
    color: var(--text-faint);
    padding: 4rem 0 1.5rem;
    border-top: 1px solid var(--border-glass);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    line-height: 1.8;
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-enamad {
    margin-top: 1.25rem;
}

.footer-enamad img {
    display: block;
    width: auto;
    height: auto;
    max-width: 120px;
    border-radius: var(--radius-sm);
}

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

.logo-footer .logo-text {
    font-size: 1.2rem;
}

.footer-section h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

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

.footer-section ul li {
    margin-bottom: 0.65rem;
}

.footer-section ul li a {
    color: var(--text-faint);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
    padding-right: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-stats {
        margin: 0 auto;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .product-card.featured {
        transform: none;
    }

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about .section-title {
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

    .about-content .btn {
        margin: 0 auto;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .btn-nav {
        display: none;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: var(--header-h);
        flex-direction: column;
        background: rgba(6, 13, 26, 0.97);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 1.5rem;
        gap: 0.25rem;
        border-bottom: 1px solid var(--border-glass);
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.85rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .shield-card {
        padding: 1.75rem;
    }
}
