/* Domain: appstride.pro */
/* Purpose: Premium Editorial Directory */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --primary: #2563EB;
  --primary-fg: #ffffff;
  --secondary: #10B981;
  --secondary-fg: #ffffff;
  --bg: #F8FAFC;
  --fg: #0F172A;
  --card: #FFFFFF;
  --muted: #64748B;
  --border: #E2E8F0;
  --radius: 16px;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1140px;
}

body { font-family: var(--font-body); color: var(--fg); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--fg); line-height: 1.2; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; border-radius: inherit; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Header & Navigation */
.header { position: sticky; top: 0; z-index: 100; background: rgba(248, 250, 252, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

/* Логотип на базе домена */
.logo { 
  font-family: var(--font-display); 
  font-size: 20px; 
  font-weight: 800; 
  color: var(--fg); 
  display: flex; 
  align-items: center; 
  gap: 4px; 
  letter-spacing: -0.5px;
  text-transform: lowercase;
}
.logo span { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: var(--primary-fg) !important; padding: 10px 20px; border-radius: 10px; }

/* Hero Banner */
.hero-banner { background: #0F172A; color: #fff; position: relative; overflow: hidden; padding: 80px 0; }
.hero-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.15; }
.hero-banner-content { position: relative; text-align: center; z-index: 2; }
.hero-banner h1 { font-size: 44px; font-weight: 800; margin-bottom: 16px; color: #fff; }
.hero-banner p { font-size: 18px; opacity: 0.8; max-width: 700px; margin: 0 auto; }

/* Featured Card */
.hero { display: flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: -40px 0 60px; background: var(--card); box-shadow: 0 20px 40px rgba(0,0,0,0.05); position: relative; z-index: 10; }
.hero-img { width: 55%; }
.hero-content { width: 45%; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.hero-content .tag { background: var(--secondary); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 6px; margin-bottom: 16px; width: fit-content; }
.hero-content h2 { font-size: 26px; margin-bottom: 16px; }

/* Grid System */
.section-title { font-size: 24px; font-weight: 800; margin-bottom: 32px; display: flex; align-items: center; gap: 12px; }
.section-title::after { content: ''; height: 1px; flex: 1; background: var(--border); }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 60px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--card); transition: 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.card-body { padding: 24px; }
.card-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* Footer - Оформление по скриншотам (PlayCeller Style) */
.footer { background: #0F172A; color: #fff; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }

.footer-contact-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF !important;
    margin-bottom: 24px;
}

.footer-address-block {
    color: #94A3B8;
    font-size: 15px;
    line-height: 1.7;
    font-style: normal;
}
.footer-address-block p { margin-bottom: 6px; }

.footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 24px; text-transform: uppercase; }
.footer ul li { margin-bottom: 12px; font-size: 14px; color: #94A3B8; }
.footer ul li a:hover { color: var(--primary); }

.footer-bottom-line { 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    padding: 25px 0; 
    text-align: left; 
    color: #64748B; 
    font-size: 13px; 
}

/* Legal Page Styles */
.legal-page { max-width: 800px; margin: 60px auto; padding: 0 24px; }
.legal-page h1 { font-size: 36px; margin-bottom: 24px; }
.legal-page h2 { font-size: 22px; margin: 32px 0 16px; }
.legal-page p { margin-bottom: 16px; color: #475569; }
.legal-page ul { margin-bottom: 20px; padding-left: 20px; list-style: disc; color: #475569; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 12px; font-family: var(--font-body); }
.btn-primary { background: var(--primary); color: #fff; border: none; padding: 14px; border-radius: 8px; font-weight: 700; width: 100%; cursor: pointer; }

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

@media (max-width: 768px) {
  .nav { display: none; }
  .hero { flex-direction: column; }
  .hero-img, .hero-content { width: 100%; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-line { text-align: center; }
}