/* ===== BYekan Font (Local) ===== */
@font-face {
    font-family: 'BYekan';
    src: url('fonts/BYekan.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'BYekan';
    src: url('fonts/BYekan-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'BYekan';
    src: url('fonts/BYekan-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'BYekan';
    src: url('fonts/BYekan-Bold.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   پرداد سپهر داده — Cyber Emerald Theme (Dark)
   Palette:
   - Dark navy        #08162E (primary bg)
   - Emerald Teal     #0C7C6B (deep accent)
   - Mint Cyan        #49BFAE (accent / glow)
   - Steel Gray       #C8D2DD (muted text)
   - Light Background #F4F7FA (text)
   ============================================ */

:root {
    --dark: #08162E;
    --deep: #0A2A45;
    --navy: #0C7C6B;
    --royal: #0C7C6B;
    --gold: #2E9E8C;
    --yellow: #49BFAE;
    --pale: #A9E5DC;
    --cream: #F4F7FA;

    --bg: #050F22;
    --bg-1: #08162E;
    --bg-2: #0C2238;
    --bg-3: #103048;
    --border: rgba(73, 191, 174, 0.12);
    --border-strong: rgba(73, 191, 174, 0.25);

    --text: #F4F7FA;
    --text-mute: #C8D2DD;
    --text-dim: #8FA3B3;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 8px 32px rgba(12, 124, 107, 0.4);
    --shadow-yellow: 0 8px 24px rgba(73, 191, 174, 0.25);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* ===== Selection & Scrollbar ===== */
::selection { background: var(--yellow); color: var(--dark); }
::-moz-selection { background: var(--yellow); color: var(--dark); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--royal), var(--navy)); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--yellow), var(--gold)); }

/* ===== Accessibility ===== */
.skip-link {
    position: absolute;
    top: -100px;
    right: 16px;
    background: var(--yellow);
    color: var(--dark);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    z-index: 1000;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; outline: 2px solid var(--cream); }
:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
    border-radius: 6px;
}
/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-fade { transform: none; }
.reveal-zoom { transform: scale(0.92); }
.reveal-right { transform: translateX(-50px); }
.reveal-left { transform: translateX(50px); }
.reveal-rotate { transform: rotate(-3deg) translateY(40px); }

.reveal.in-view {
    opacity: 1;
    transform: none;
}

/* Staggered children */
.stagger > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.stagger.in-view > * { opacity: 1; transform: none; }
.stagger.in-view > *:nth-child(1) { transition-delay: 0ms; }
.stagger.in-view > *:nth-child(2) { transition-delay: 90ms; }
.stagger.in-view > *:nth-child(3) { transition-delay: 180ms; }
.stagger.in-view > *:nth-child(4) { transition-delay: 270ms; }
.stagger.in-view > *:nth-child(5) { transition-delay: 360ms; }
.stagger.in-view > *:nth-child(6) { transition-delay: 450ms; }

/* Parallax on hero blobs (scroll-driven) */
@supports (animation-timeline: scroll()) {
    .blob-1 { animation: drift-1 linear; animation-timeline: scroll(); }
    .blob-2 { animation: drift-2 linear; animation-timeline: scroll(); }
    .blob-3 { animation: drift-3 linear; animation-timeline: scroll(); }
    .grid-pattern { animation: grid-drift linear; animation-timeline: scroll(); }
}
@keyframes drift-1 { to { transform: translate3d(-80px, 120px, 0) scale(1.1); } }
@keyframes drift-2 { to { transform: translate3d(60px, -100px, 0) scale(0.95); } }
@keyframes drift-3 { to { transform: translate3d(0, 200px, 0); opacity: 0.2; } }
@keyframes grid-drift { to { transform: translateY(-100px); opacity: 0.5; } }

/* Progress bar (top) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), var(--gold), var(--royal));
    transform-origin: right;
    transform: scaleX(0);
    z-index: 200;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(73, 191, 174, 0.6);
}
@supports (animation-timeline: scroll()) {
    .scroll-progress {
        animation: progress linear;
        animation-timeline: scroll(root);
    }
}
@keyframes progress { to { transform: scaleX(1); } }

/* Hero parallax depth */
.hero-content { will-change: transform; }
@supports (animation-timeline: view()) {
    .hero-visual { animation: hero-rise linear; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    .hero-content { animation: hero-fade linear; animation-timeline: view(); animation-range: exit 0% exit 100%; }
}
@keyframes hero-rise { to { transform: translateY(-60px) scale(0.95); opacity: 0.6; } }
@keyframes hero-fade { to { transform: translateY(-30px); opacity: 0.5; } }

/* Section title underline draw */
.section-title { position: relative; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .stagger > * { opacity: 1 !important; transform: none !important; }
}
body {
    font-family: 'BYekan', 'Vazirmatn', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.85;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
button, input, select, textarea,
.btn, .badge, .section-tag, .nav-links a,
.logo-name, .feature-num, .stat-num, .tile-num, .badge-num, .metric-value, .err-code {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
section { padding: 100px 0; position: relative; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn { position: relative; overflow: hidden; }
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    pointer-events: none;
}
.btn:hover::before { width: 300px; height: 300px; }
.btn > * { position: relative; z-index: 1; }

.btn-primary {
    background: linear-gradient(135deg, var(--royal), var(--navy));
    color: var(--cream);
    box-shadow: var(--shadow-glow);
    border: 1px solid rgba(73, 191, 174, 0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--yellow), var(--gold));
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(73, 191, 174, 0.4);
    border-color: var(--yellow);
}

.btn-yellow {
    background: var(--yellow);
    color: var(--dark);
    box-shadow: var(--shadow-yellow);
}
.btn-yellow:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(73, 191, 174, 0.3);
}
.btn-ghost:hover {
    background: rgba(73, 191, 174, 0.08);
    border-color: var(--yellow);
    color: var(--yellow);
}

.btn-outline-light {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--yellow);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== Navigation ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 22, 46, 0.72);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    opacity: 0.3;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cream);
    flex-shrink: 0;
}
.logo-img {
    height: 52px;
    width: auto;
    transition: var(--transition);
    /* lift the muted gray text/mark slightly for contrast on dark navy */
    filter: brightness(1.12) saturate(1.05) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.logo:hover .logo-img {
    transform: scale(1.04);
    filter: brightness(1.22) saturate(1.12) drop-shadow(0 3px 12px rgba(73, 191, 174, 0.3));
}
.footer-brand .logo-img { height: 60px; }
.logo-mark {
    width: 42px;
    height: 42px;
    color: var(--yellow);
    flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-weight: 800;
    font-size: 17px;
    color: var(--cream);
}
.logo-en {
    font-size: 9px;
    letter-spacing: 2.5px;
    color: var(--gold);
    font-weight: 600;
    margin-top: 4px;
    direction: ltr;
    opacity: 0.85;
}
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.05); }
.logo-mark { transition: var(--transition); }

.nav-links {
    display: flex;
    gap: 4px;
}
.nav-links a {
    padding: 9px 18px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 14.5px;
    color: var(--text-mute);
    transition: var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--yellow);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 18px; }
.nav-links a.active {
    color: var(--yellow);
    background: rgba(73, 191, 174, 0.1);
}

.nav-cta { padding: 11px 22px; font-size: 14px; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(73, 191, 174, 0.08);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--yellow);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    padding: 70px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(73, 191, 174, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(73, 191, 174, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}
.blob-1 { width: 500px; height: 500px; background: var(--royal); top: -150px; left: -100px; }
.blob-2 { width: 400px; height: 400px; background: var(--yellow); bottom: -100px; right: 5%; opacity: 0.15; }
.blob-3 { width: 350px; height: 350px; background: var(--navy); top: 30%; left: 40%; opacity: 0.5; }

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(73, 191, 174, 0.18), rgba(73, 191, 174, 0.06));
    color: var(--yellow);
    padding: 9px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(73, 191, 174, 0.1);
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(73, 191, 174, 0.25);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-size: clamp(30px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.3;
    color: var(--cream);
    margin: 24px 0 26px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 30px rgba(12, 124, 107, 0.3);
}
.title-accent {
    background: linear-gradient(120deg, var(--yellow) 0%, var(--gold) 50%, var(--yellow) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shine 6s linear infinite;
}
@keyframes shine {
    to { background-position: 200% center; }
}

.hero-desc {
    font-size: 17px;
    color: var(--text-mute);
    line-height: 2;
    max-width: 540px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.stat {
    transition: var(--transition);
    cursor: default;
}
.stat:hover .stat-num { transform: translateY(-3px); }
.stat-num {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-size: 34px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--yellow), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    transition: var(--transition);
    display: inline-block;
}
.stat-label {
    font-size: 13px;
    color: var(--text-mute);
    margin-top: 6px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
}

/* Hero visual — SOC Dashboard */
.hero-visual {
    position: relative;
    min-height: 540px;
}
.visual-card {
    background: var(--bg-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-strong);
}

.card-main {
    position: absolute;
    inset: 0;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
}
.card-dots { display: flex; gap: 6px; }
.card-dots span {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--gold);
}
.card-dots span:nth-child(2) { background: var(--yellow); }
.card-dots span:nth-child(3) { background: var(--royal); }
.card-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cream);
}
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: pulse 1.5s infinite;
}

.card-body { padding: 24px; }
.metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}
.metric {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-1);
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.metric-icon {
    width: 40px;
    height: 40px;
    background: var(--yellow);
    color: var(--dark);
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.metric-icon.icon-gold { background: var(--gold); color: var(--cream); }
.metric-value { font-family: 'BYekan', 'Vazirmatn', sans-serif; font-size: 18px; font-weight: 800; color: var(--cream); line-height: 1; }
.metric-label { font-size: 11.5px; color: var(--text-mute); margin-top: 4px; }

.threat-feed {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
}
.feed-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--text-mute);
    font-weight: 600;
}
.feed-count {
    background: rgba(73, 191, 174, 0.15);
    color: var(--yellow);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
}
.feed-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    font-size: 12.5px;
    border-radius: 8px;
    transition: var(--transition);
}
.feed-row:hover {
    background: rgba(73, 191, 174, 0.05);
    transform: translateX(-3px);
}
.feed-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-critical { background: #f87171; box-shadow: 0 0 6px #f87171; }
.dot-warn { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }
.dot-ok { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.feed-text { color: var(--cream); }
.feed-time { color: var(--text-dim); font-size: 11.5px; }

.card-float {
    position: absolute;
    background: var(--bg-2);
    padding: 14px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}
.card-float-1 {
    top: 20px;
    left: -30px;
    animation: float 5s ease-in-out infinite;
    animation-delay: 0.5s;
}
.card-float-2 {
    bottom: 40px;
    right: -20px;
    animation: float 5.5s ease-in-out infinite;
    animation-delay: 1s;
}
.float-icon {
    width: 40px;
    height: 40px;
    background: rgba(73, 191, 174, 0.15);
    color: var(--yellow);
    border-radius: 11px;
    display: grid;
    place-items: center;
}
.float-icon.icon-dark { background: var(--yellow); color: var(--dark); }
.float-title { font-size: 13.5px; font-weight: 700; color: var(--cream); }
.float-sub { font-size: 11.5px; color: var(--text-mute); margin-top: 2px; }

/* ===== Trusted ===== */
.trusted {
    padding: 50px 0;
    background: var(--bg-1);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trusted-label {
    text-align: center;
    color: var(--text-mute);
    font-size: 13.5px;
    margin-bottom: 26px;
    letter-spacing: 0.5px;
}
.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
}
.trusted-logo {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-weight: 800;
    font-size: 19px;
    color: var(--text-dim);
    transition: var(--transition);
    letter-spacing: -0.5px;
}
.trusted-logo:hover { color: var(--yellow); }

/* ===== Section common ===== */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 70px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(73, 191, 174, 0.15), rgba(73, 191, 174, 0.05));
    color: var(--yellow);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--yellow);
}
.section-title {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 900;
    color: var(--cream);
    line-height: 1.3;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.section-desc {
    font-size: 16px;
    color: var(--text-mute);
    line-height: 2;
}

/* ===== About ===== */
.about {
    background: var(--bg-1);
    position: relative;
}
.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(73, 191, 174, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(12, 124, 107, 0.15) 0%, transparent 40%);
    pointer-events: none;
}
.about > .container { position: relative; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.about-image { position: relative; }
.img-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 16px;
}
.img-block {
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
}
.img-block svg { width: 60%; height: 60%; }
.img-1 {
    background: linear-gradient(135deg, var(--royal), var(--navy));
    grid-row: 1 / 3;
    color: var(--yellow);
}
.img-1::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(73, 191, 174, 0.08) 0 1px, transparent 1px 16px);
}
.img-2 {
    background: linear-gradient(135deg, var(--yellow), var(--gold));
    color: var(--dark);
}
.img-3 {
    background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
    color: var(--yellow);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: linear-gradient(135deg, var(--yellow), var(--gold));
    color: var(--dark);
    padding: 22px 26px;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(73, 191, 174, 0.35);
    display: flex;
    align-items: center;
    gap: 14px;
    border: 4px solid var(--bg-1);
    transition: var(--transition);
}
.about-badge:hover { transform: scale(1.05) rotate(-2deg); }
.badge-num {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
}
.badge-text {
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
}

.about-content { padding-right: 20px; }
.about-content .section-tag,
.about-content .section-title { text-align: right; }
.about-content .section-title { margin-top: 14px; }
.about-content .section-desc { margin: 0 0 30px; }

.about-features { margin-bottom: 36px; }
.about-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-size: 15.5px;
    color: var(--text);
    transition: var(--transition);
}
.about-features li:hover { transform: translateX(-6px); }
.check {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--yellow), var(--gold));
    color: var(--dark);
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(73, 191, 174, 0.3);
    transition: var(--transition);
}
.about-features li:hover .check { transform: scale(1.15) rotate(360deg); }

/* ===== Services ===== */
.services {
    background: var(--bg);
    background-image:
        radial-gradient(circle at 10% 0%, rgba(73, 191, 174, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 100%, rgba(12, 124, 107, 0.2) 0%, transparent 40%);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.service-card {
    background: var(--bg-1);
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), var(--gold), var(--royal));
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}
.service-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 250%;
    height: 250%;
    background: radial-gradient(circle at 50% 50%, rgba(73, 191, 174, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-strong);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(73, 191, 174, 0.2);
    background: var(--bg-2);
}
.service-card:hover::before { transform: scaleX(1); transform-origin: left; }
.service-card:hover::after { opacity: 1; }

.service-card.featured {
    background: linear-gradient(135deg, var(--royal), var(--navy));
    border-color: var(--border-strong);
}
.service-card.featured::before { transform: scaleX(1); }
.featured-tag {
    position: absolute;
    top: 22px;
    left: 22px;
    background: var(--yellow);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(73, 191, 174, 0.15), rgba(73, 191, 174, 0.05));
    color: var(--yellow);
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    transition: var(--transition);
    border: 1px solid var(--border-strong);
    position: relative;
}
.service-icon::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, var(--yellow), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}
.service-card:hover .service-icon::after { opacity: 1; }
.service-card:hover .service-icon {
    background: var(--yellow);
    color: var(--dark);
    transform: rotate(-5deg) scale(1.05);
    border-color: var(--yellow);
}
.service-card.featured .service-icon {
    background: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
}

.service-card h3 {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 14px;
    transition: var(--transition);
}
.service-card:hover h3 { color: var(--yellow); }
.service-card p {
    font-size: 14.5px;
    color: var(--text-mute);
    line-height: 1.9;
    margin-bottom: 22px;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--yellow);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
}
.service-link:hover {
    gap: 12px;
    border-bottom-color: var(--yellow);
}

/* ===== Features ===== */
.features {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 100%);
    position: relative;
    overflow: hidden;
}
.features::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(73, 191, 174, 0.08) 0%, transparent 60%);
    border-radius: 50%;
}
.features::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(12, 124, 107, 0.2) 0%, transparent 60%);
    border-radius: 50%;
}

.features-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.features-content .section-tag,
.features-content .section-title { text-align: right; }
.features-content .section-desc { margin: 0; }

.features-list { margin-top: 40px; display: grid; gap: 24px; }
.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.feature-num {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--yellow), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 56px;
    position: relative;
}
.feature-num::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--yellow), transparent);
    border-radius: 2px;
}
.feature-item h4 {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 6px;
}
.feature-item p {
    color: var(--text-mute);
    font-size: 14.5px;
    line-height: 1.8;
}

.features-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.feat-tile {
    background: linear-gradient(145deg, var(--bg-2), var(--bg-1));
    border: 1px solid var(--border-strong);
    padding: 32px 22px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feat-tile::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(73, 191, 174, 0.15), transparent 70%);
    border-radius: 50%;
    transform: translate(40%, -40%);
}
.feat-tile:nth-child(odd) { transform: translateY(20px); }
.feat-tile:hover {
    background: linear-gradient(145deg, var(--royal), var(--navy));
    border-color: var(--yellow);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(12, 124, 107, 0.4);
}
.feat-tile:nth-child(odd):hover { transform: translateY(5px); }

.tile-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(73, 191, 174, 0.18), rgba(73, 191, 174, 0.04));
    color: var(--yellow);
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border: 1px solid var(--border-strong);
    transition: var(--transition);
}
.feat-tile:hover .tile-icon {
    background: linear-gradient(135deg, var(--yellow), var(--gold));
    color: var(--dark);
    transform: rotate(-8deg) scale(1.08);
    border-color: var(--yellow);
}
.tile-num {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--yellow), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
    transition: var(--transition);
}
.feat-tile:hover .tile-num {
    background: linear-gradient(135deg, var(--cream), var(--yellow));
    -webkit-background-clip: text;
    background-clip: text;
}
.tile-label {
    font-size: 13.5px;
    color: var(--text-mute);
}

/* ===== Projects ===== */
.projects { background: var(--bg-1); }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.project-card {
    background: var(--bg-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border);
    position: relative;
}
.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--yellow), transparent 40%, transparent 60%, var(--royal));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.project-card:hover::after { opacity: 1; }
.project-card.large { grid-column: span 1; grid-row: span 2; }
.project-card.large .project-cover { height: 320px; }

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.project-cover {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.cover-icon {
    color: var(--cream);
    opacity: 0.9;
    position: relative;
    z-index: 1;
}
.cover-shape {
    position: absolute;
    border-radius: 50%;
    transition: var(--transition);
}
.cover-1 { background: linear-gradient(135deg, var(--royal), var(--navy)); }
.cover-1 .cover-shape {
    width: 200px; height: 200px;
    background: rgba(73, 191, 174, 0.15);
    top: -50px; right: -50px;
}
.cover-1 .shape-2 {
    width: 120px; height: 120px;
    background: rgba(168, 153, 104, 0.2);
    bottom: -30px; left: 20%;
}

.cover-2 { background: linear-gradient(135deg, var(--yellow), var(--gold)); }
.cover-2 .cover-icon { color: var(--dark); }
.cover-2 .cover-shape {
    width: 140px; height: 140px;
    background: rgba(8, 22, 46, 0.15);
    top: -20px; left: -20px;
    border-radius: 30%;
}

.cover-3 { background: linear-gradient(135deg, var(--navy), var(--royal)); }
.cover-3 .cover-shape {
    width: 160px; height: 160px;
    background: rgba(73, 191, 174, 0.15);
    top: 30%; left: 25%;
}

.cover-4 { background: linear-gradient(135deg, var(--deep), var(--dark)); }
.cover-4 .cover-shape {
    width: 100px; height: 100px;
    background: var(--yellow);
    top: 30px; right: 30px;
    opacity: 0.3;
}
.cover-4 .shape-2 {
    width: 180px; height: 180px;
    background: rgba(73, 191, 174, 0.1);
    bottom: -60px; left: -40px;
}

.project-card:hover .cover-shape { transform: scale(1.15) rotate(20deg); }

.project-body { padding: 22px 24px; }
.project-cat {
    display: inline-block;
    background: linear-gradient(135deg, rgba(73, 191, 174, 0.18), rgba(73, 191, 174, 0.06));
    color: var(--yellow);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.project-body h3 {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 8px;
}
.project-body p {
    font-size: 13.5px;
    color: var(--text-mute);
    line-height: 1.8;
}

/* ===== Testimonials ===== */
.testimonials { background: var(--bg); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.testimonial-card {
    background: var(--bg-1);
    padding: 30px 26px;
    border-radius: var(--radius-lg);
    position: relative;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
    background: var(--bg-2);
}
.quote-icon {
    color: var(--yellow);
    opacity: 0.5;
    margin-bottom: 16px;
}
.testimonial-text {
    font-size: 14.5px;
    color: var(--text);
    line-height: 2;
    margin-bottom: 24px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--cream);
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}
.avatar-1 { background: linear-gradient(135deg, var(--royal), var(--navy)); }
.avatar-2 { background: linear-gradient(135deg, var(--yellow), var(--gold)); color: var(--dark); }
.avatar-3 { background: linear-gradient(135deg, var(--gold), var(--royal)); }
.author-name { font-weight: 700; color: var(--cream); font-size: 15px; }
.author-role { font-size: 12.5px; color: var(--text-mute); margin-top: 3px; }

/* ===== CTA ===== */
.cta {
    padding: 60px 0;
    background: var(--bg-1);
}
.cta-box {
    background: linear-gradient(135deg, var(--royal) 0%, var(--navy) 50%, var(--deep) 100%);
    border-radius: var(--radius-xl);
    padding: 56px 56px;
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    border: 1px solid var(--border-strong);
}
.cta-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 80% 50%, rgba(73, 191, 174, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 20% 100%, rgba(168, 153, 104, 0.2) 0%, transparent 40%);
    pointer-events: none;
}
.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(73, 191, 174, 0.04) 0 1px, transparent 1px 30px);
    pointer-events: none;
}
.cta-content { position: relative; z-index: 1; flex: 1 1 380px; }
.cta-content h2 {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--cream);
}
.cta-content p {
    color: rgba(250, 241, 230, 0.85);
    font-size: 16px;
}
.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===== Contact ===== */
.contact { background: var(--bg); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: start;
}
.contact-info .section-tag,
.contact-info .section-title { text-align: right; }
.contact-info .section-desc { margin-bottom: 32px; }

.contact-list { display: grid; gap: 18px; }
.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg-1);
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.contact-list li:hover {
    transform: translateX(-6px);
    border-color: var(--border-strong);
    background: var(--bg-2);
}
.contact-icon {
    width: 46px;
    height: 46px;
    background: rgba(73, 191, 174, 0.12);
    color: var(--yellow);
    border-radius: 13px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid var(--border-strong);
}
.contact-label {
    font-size: 13px;
    color: var(--text-mute);
    margin-bottom: 4px;
}
.contact-val {
    font-weight: 600;
    color: var(--cream);
    font-size: 14.5px;
}

.contact-form {
    background: var(--bg-1);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-md);
}
.contact-form h3 {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 8px;
}
.form-desc {
    color: var(--text-mute);
    font-size: 14px;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.form-field { margin-bottom: 14px; }
.form-field label {
    display: block;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--cream);
    margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-2);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 14.5px;
    transition: var(--transition);
    font-family: inherit;
    color: var(--cream);
    resize: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--yellow);
    background: var(--bg-3);
    box-shadow: 0 0 0 4px rgba(73, 191, 174, 0.1);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-dim);
}
.form-field select option {
    background: var(--bg-2);
    color: var(--cream);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--text-mute);
    padding: 80px 0 0;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--royal), var(--yellow), var(--gold), var(--yellow), var(--royal));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border);
}

.logo-light .logo-name { color: var(--cream); }
.logo-light .logo-mark { color: var(--yellow); }
.logo-light .logo-en { color: var(--gold); }

.footer-about {
    margin-top: 18px;
    margin-bottom: 24px;
    line-height: 2;
    font-size: 14.5px;
    color: var(--text-mute);
}

.socials { display: flex; gap: 10px; }
.socials a {
    width: 42px;
    height: 42px;
    background: rgba(73, 191, 174, 0.06);
    border: 1px solid var(--border-strong);
    color: var(--cream);
    border-radius: 12px;
    display: grid;
    place-items: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.socials a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--yellow), var(--gold));
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 12px;
}
.socials a:hover {
    color: var(--dark);
    border-color: var(--yellow);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(73, 191, 174, 0.25);
}
.socials a:hover::before { transform: scale(1); }
.socials a svg { position: relative; z-index: 1; }

.footer-col h4 {
    font-family: 'BYekan', 'Vazirmatn', sans-serif;
    color: var(--cream);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 22px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col ul a {
    color: var(--text-mute);
    font-size: 14.5px;
    transition: var(--transition);
}
.footer-col ul a:hover { color: var(--yellow); padding-right: 4px; }
.footer-col p { font-size: 14px; line-height: 1.9; margin-bottom: 14px; }

.footer-contact {
    display: grid;
    gap: 14px;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.85;
    color: var(--text-mute);
}
.footer-contact .fc-icon {
    color: var(--yellow);
    flex-shrink: 0;
    margin-top: 3px;
}
.footer-contact a {
    color: var(--text-mute);
    transition: var(--transition);
}
.footer-contact a:hover { color: var(--yellow); }

.newsletter {
    display: flex;
    gap: 6px;
    background: rgba(73, 191, 174, 0.05);
    padding: 5px;
    border-radius: 100px;
    border: 1px solid var(--border-strong);
}
.newsletter input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 14px;
    color: var(--cream);
    font-size: 13.5px;
    outline: none;
    min-width: 0;
}
.newsletter input::placeholder { color: var(--text-dim); }
.newsletter button {
    background: var(--yellow);
    color: var(--dark);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.newsletter button:hover { background: var(--cream); }

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13.5px;
}
.footer-bottom strong { color: var(--yellow); font-weight: 700; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
    color: var(--text-mute);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--yellow); }

/* =====================================
   Responsive Design
   ===================================== */

/* Large screens */
@media (max-width: 1200px) {
    .container { padding: 0 20px; }
    .nav-links a { padding: 9px 12px; font-size: 14px; }
}

/* Tablets — 992px */
@media (max-width: 992px) {
    section { padding: 80px 0; }
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--bg-1);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border-strong);
        gap: 4px;
        display: none;
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; }
    .menu-toggle { display: flex; order: 3; }
    .nav-cta { display: none; }

    .hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .badge, .hero-actions, .hero-stats { justify-content: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-visual { max-width: 520px; margin: 0 auto; }

    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-content { padding-right: 0; text-align: center; }
    .about-content .section-tag,
    .about-content .section-title { text-align: center; }
    .about-features li { justify-content: center; }
    .about-image { max-width: 520px; margin: 0 auto; }
    .about-badge { right: auto; left: 20px; bottom: -20px; }

    .features-grid { grid-template-columns: 1fr; gap: 60px; }
    .features-content { text-align: center; }
    .features-content .section-tag,
    .features-content .section-title { text-align: center; }
    .feature-item { text-align: right; }

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

    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-info { text-align: center; }
    .contact-info .section-tag,
    .contact-info .section-title { text-align: center; }
    .contact-list li { text-align: right; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .project-card.large { grid-row: span 1; }
    .project-card.large .project-cover { height: 200px; }

    .cta-box { padding: 44px 40px; }
}

/* Mobile — 640px */
@media (max-width: 640px) {
    section { padding: 60px 0; }
    .container { padding: 0 18px; }

    .nav-inner { padding: 14px 18px; gap: 12px; }
    .logo-mark { width: 36px; height: 36px; }
    .logo-name { font-size: 15px; }
    .logo-en { font-size: 8px; letter-spacing: 1.5px; }
    .logo-img { height: 38px; }
    .footer-brand .logo-img { height: 48px; }

    .hero { padding: 40px 0 60px; }
    .hero-title { font-size: 30px; line-height: 1.3; }
    .hero-desc { font-size: 15.5px; line-height: 1.9; }
    .hero-actions { gap: 10px; }
    .btn { padding: 12px 22px; font-size: 14px; }
    .hero-stats { gap: 16px; justify-content: space-around; padding-top: 24px; }
    .stat-divider { display: none; }
    .stat-num { font-size: 26px; }
    .stat-label { font-size: 12px; }

    .hero-visual { min-height: 460px; }
    .card-body { padding: 18px; }
    .card-header { padding: 14px 18px; }
    .metric { padding: 12px; gap: 10px; }
    .metric-icon { width: 36px; height: 36px; }
    .metric-value { font-size: 16px; }
    .card-float { padding: 10px 14px; gap: 10px; }
    .card-float-1 { left: -10px; top: 10px; }
    .card-float-2 { right: -10px; bottom: 20px; }
    .float-icon { width: 36px; height: 36px; }
    .float-title { font-size: 12.5px; }
    .float-sub { font-size: 10.5px; }

    .section-head { margin-bottom: 50px; }
    .section-title { font-size: 26px; }
    .section-desc { font-size: 15px; }

    .img-wrap { grid-template-rows: 160px 160px; gap: 12px; }
    .about-badge { padding: 14px 18px; gap: 10px; }
    .badge-num { font-size: 28px; }
    .badge-text { font-size: 12px; }

    .services-grid,
    .projects-grid,
    .testimonials-grid { grid-template-columns: 1fr; gap: 18px; }
    .service-card, .testimonial-card { padding: 26px 22px; }

    .features-visual { grid-template-columns: 1fr 1fr; gap: 14px; }
    .feat-tile { padding: 24px 16px; }
    .feat-tile:nth-child(odd) { transform: none; }
    .feat-tile:nth-child(odd):hover { transform: translateY(-3px); }
    .tile-icon { width: 50px; height: 50px; margin-bottom: 14px; }
    .tile-num { font-size: 28px; }
    .tile-label { font-size: 12.5px; }

    .feature-item { gap: 14px; }
    .feature-num { font-size: 24px; min-width: 40px; }

    .cta-box { padding: 36px 24px; text-align: center; justify-content: center; gap: 24px; }
    .cta-actions { justify-content: center; }

    .contact-form { padding: 26px 22px; }
    .contact-form h3 { font-size: 19px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .footer { padding: 60px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
    .footer-bottom { flex-direction: column; text-align: center; padding: 20px 0; }

    .trusted-logos { gap: 20px; }
    .trusted-logo { font-size: 15px; }
}

/* Small mobile — 400px */
@media (max-width: 400px) {
    .hero-title { font-size: 26px; }
    .section-title { font-size: 23px; }
    .features-visual { grid-template-columns: 1fr; }
    .feat-tile:nth-child(odd) { transform: none; }
    .logo-text { display: none; }
    .hero-visual { min-height: 420px; }
    .card-float-1, .card-float-2 { display: none; }
}
