:root {
  --brand-blue: #1d4ed8;
  --accent: #f97316;
  --white: #ffffff;
  --dark: #0f172a;
  --text: #334155;
  --bg: #f8fafc;
  --light-gray: #e2e8f0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--dark);
}

.logo-badge {
  background: var(--brand-blue);
  color: var(--white);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 800;
  font-size: 26px;
  margin-right: 12px;
}

.brand-name {
  display: block;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}

.brand-sub {
  font-size: 12px;
  color: #64748b;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
}

.header-cta-btn {
  background: var(--accent);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.header-cta-btn:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

/* Main Content */
.hero-section, .page-section {
  padding: 50px 0;
}

.main-card {
  background: var(--white);
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

.hero-tag-box {
  display: inline-block;
  background: #eff6ff;
  color: #1e40af;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 25px;
}

.hero-title, .page-title {
  font-size: 42px;
  color: var(--dark);
  margin: 0 0 25px 0;
  line-height: 1.2;
}

.hero-title span, .page-title span {
  color: var(--brand-blue);
}

.hero-lead {
  font-size: 19px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 40px;
}

.content-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Framed Image Component */
.framed-image {
  border: 8px solid var(--white);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
  border-radius: 20px;
  margin: 0 auto;
  display: block;
  max-width: 100%;
  height: auto;
}

/* Grids */
.effects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.effect-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg);
  border-radius: 20px;
  transition: transform 0.3s;
}

.effect-card:hover {
  transform: translateY(-5px);
}

.effect-icon {
  font-size: 45px;
  margin-bottom: 15px;
}

.effect-card h3 {
  color: var(--brand-blue);
  margin: 0 0 10px 0;
}

/* Forms & Specifics */
.order-form-container {
  background: var(--bg);
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  font-size: 16px;
  box-sizing: border-box;
}

.price-box {
  text-align: center;
  margin-bottom: 30px;
}

.old-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 20px;
}

.new-price {
  color: var(--accent);
  font-size: 36px;
  font-weight: 800;
  display: block;
}

/* Scheme Styles */
.scheme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 40px;
  margin-top: 60px;
}
.scheme-step {
  background: var(--bg);
  padding: 30px 30px 30px 40px;
  border-radius: 20px;
  position: relative;
  border-left: 5px solid var(--brand-blue);
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}
.step-number {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--accent);
  color: var(--white);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 800;
  border: 4px solid var(--white);
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}

.scheme-step h3 {
  color: var(--brand-blue);
  margin-top: 0;
  font-size: 22px;
}

/* Footer (Fixed Alignment) */
.footer-extended {
  background: var(--dark);
  color: var(--white);
  padding: 70px 0 25px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.footer-col h4 {
  color: var(--brand-blue);
  font-size: 18px;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--brand-blue);
}

.footer-bottom-line {
  text-align: center;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .effects-grid, .footer-grid, .scheme-grid { grid-template-columns: 1fr; }
  .main-card { padding: 30px 20px; }
  .hero-title, .page-title { font-size: 32px; }
}
