@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Armenian:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Light Mode (Default) */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-subtle: #f1f5f9;
    --header-bg: rgba(255, 255, 255, 0.92);
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-soft: #eef2ff;
    --accent: #f59e0b;
    --accent-warm: #ea580c;
    --accent-soft: #fff7ed;
    --success: #10b981;
    --text-main: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-sm: 0 4px 15px -3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 35px -8px rgba(15, 23, 42, 0.12);
    --header-height: 78px;
}

[data-theme="dark"] {
    --bg-body: #090d16;
    --bg-surface: #111827;
    --bg-subtle: #1e293b;
    --header-bg: rgba(9, 13, 22, 0.9);
    --primary: #6366f1;
    --primary-hover: #818cf8;
    --primary-soft: rgba(99, 102, 241, 0.15);
    --accent: #f59e0b;
    --accent-warm: #ea580c;
    --accent-soft: rgba(245, 158, 11, 0.15);
    --text-main: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --shadow-sm: 0 4px 15px -3px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 18px 35px -8px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans Armenian', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.25s ease, color 0.25s ease;
}

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

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

/* Wide Fluid Container (85%+ of wide screens) */
.container {
    width: 90%;
    max-width: 1620px;
    margin: 0 auto;
    padding-inline: 16px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.brand-domain {
    color: var(--primary);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav a {
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s;
    white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-subtle);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

/* Mobile Toggle & Drawer */
.mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-main);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
}

.mobile-drawer {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-surface);
    z-index: 999;
    padding: 24px;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    border-top: 1px solid var(--border);
}

.mobile-drawer.open {
    display: flex;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-list a {
    padding: 15px 18px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 9px 16px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.28);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(234, 88, 12, 0.4);
}

.btn-outline {
    background: var(--bg-surface);
    border-color: var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

/* =========================================
   FULL-WIDTH HERO BANNER SLIDER
   ========================================= */
.hero-fullwidth {
    position: relative;
    width: 100%;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0f172a;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    animation: heroZoom 22s infinite alternate ease-in-out;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.07); }
}

.hero-gradient-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.72) 55%, rgba(15, 23, 42, 0.35) 100%);
}

.hero-inner-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    padding-block: clamp(48px, 6vw, 84px);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fbbf24;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.hero-fullwidth h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.5rem);
    line-height: 1.16;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-fullwidth h1 span {
    background: linear-gradient(135deg, #818cf8, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-fullwidth p {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: #e2e8f0;
    margin-bottom: 34px;
    max-width: 650px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Right Glass Showcase Card inside Hero */
.hero-glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    padding: 28px;
    color: #ffffff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.glass-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
    transition: transform 0.2s;
}

.glass-row:last-child {
    margin-bottom: 0;
}

.glass-row:hover {
    transform: translateX(6px);
}

.glass-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

/* =========================================
   SECTIONS & RICH CARDS
   ========================================= */
.section {
    padding-block: clamp(56px, 7vw, 88px);
}

.section-alt {
    background: var(--bg-subtle);
    border-block: 1px solid var(--border);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 900;
    color: var(--text-main);
}

.section-sub {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-top: 6px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
    gap: 30px;
}

/* Rich Visual Cards */
.rich-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: all 0.28s ease;
}

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

.card-img-box {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rich-card:hover .card-img-box img {
    transform: scale(1.06);
}

.card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 5px 13px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h3 {
    font-size: 1.22rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-main);
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-footer {
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
}

/* Interactive Poll Box */
.poll-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 36px);
    box-shadow: var(--shadow-sm);
}

.poll-option {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 15px 18px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.96rem;
    cursor: pointer;
    transition: all 0.2s;
}

.poll-option:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    margin-top: auto;
    background: #0f172a;
    color: #94a3b8;
    padding-top: 64px;
    padding-bottom: 30px;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.92rem;
}

.footer-col a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.86rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: inline-flex; }
    .hero-inner-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .container { width: 95%; }
    .header-actions .btn-outline { display: none; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
