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

:root {
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #eef2ff;
    --accent: #f59e0b;
    --accent-warm: #ea580c;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-color: #e2e8f0;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 30px -8px rgba(15, 23, 42, 0.09);
    --shadow-glow: 0 10px 30px -5px rgba(79, 70, 229, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Armenian', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand {
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo-box {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

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

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

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

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

.btn-outline {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

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

/* Hero Section with Rich Visuals */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 85px 0 80px;
}

.hero-bg-shape-1 {
    position: absolute;
    top: -120px;
    right: -80px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-bg-shape-2 {
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
    color: var(--text-main);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.12rem;
    color: var(--text-muted);
    margin-bottom: 34px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 42px;
}

.hero-stats {
    display: flex;
    gap: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--border-color);
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

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

/* Hero Right Visual Dashboard Card */
.hero-visual {
    position: relative;
}

.showcase-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
}

.showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.showcase-dots {
    display: flex;
    gap: 6px;
}

.showcase-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.showcase-dots span:first-child { background: #f87171; }
.showcase-dots span:nth-child(2) { background: #fbbf24; }
.showcase-dots span:nth-child(3) { background: #34d399; }

.showcase-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border-radius: 12px;
    background: #f8fafc;
    margin-bottom: 12px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.showcase-item:hover {
    background: #ffffff;
    border-color: #c7d2fe;
    transform: translateX(4px);
}

.showcase-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Sections */
.section {
    padding: 75px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    gap: 20px;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-main);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 6px;
}

/* Category Pills */
.categories-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.cat-pill {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.cat-pill:hover,
.cat-pill.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* Grid & Contest Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 26px;
}

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

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

.card-banner {
    height: 110px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.card-banner.warm {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.card-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
}

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

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

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Platform Modules Section */
.module-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all 0.25s ease;
}

.module-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.module-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.module-icon.warm {
    background: #fff7ed;
    color: var(--accent-warm);
}

.module-icon.green {
    background: #ecfdf5;
    color: #059669;
}

/* CTA Banner */
.cta-box {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4f46e5 100%);
    border-radius: 24px;
    padding: 55px 45px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: 0 20px 40px -10px rgba(49, 46, 129, 0.35);
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.cta-box p {
    color: #c7d2fe;
    max-width: 540px;
    font-size: 1.05rem;
}

/* Footer */
.site-footer {
    margin-top: auto;
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.footer-brand {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.92rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

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

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

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero h1 { font-size: 2.35rem; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .cta-box { padding: 35px 24px; }
}