@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg-main: hsl(220, 15%, 8%);
  --bg-card: hsl(220, 15%, 12%);
  --bg-elevated: hsl(220, 15%, 15%);
  --primary: hsl(30, 90%, 55%);
  --primary-light: hsl(30, 90%, 65%);
  --primary-dark: hsl(30, 90%, 40%);
  --accent: hsl(200, 80%, 60%);
  --text-main: hsl(0, 0%, 95%);
  --text-muted: hsl(220, 10%, 65%);
  --border: hsla(0, 0%, 100%, 0.1);
  --glass-bg: hsla(220, 15%, 12%, 0.6);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 { 
  font-family: 'Outfit', sans-serif; 
  line-height: 1.2;
}

/* Utilities */
.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* Typography Gradients */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
}

/* Header */
header {
  position: fixed;
  top: 0; width: 100%; z-index: 100;
  transition: all 0.4s ease;
  padding: 1.5rem 0;
}
header.scrolled {
  padding: 1rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 800; text-decoration: none; color: var(--text-main); display: flex; align-items: center; gap: 0.5rem; }
.logo-icon svg { width: 32px; height: 32px; color: var(--primary); }
nav { display: flex; gap: 2rem; align-items: center; }
nav a { color: var(--text-main); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; white-space: nowrap; }
nav a:hover { color: var(--primary); }

.header-phones { display: flex; align-items: center; gap: 1.5rem; margin-right: 1rem; padding-right: 1.5rem; border-right: 1px solid var(--border); }
.header-phones a { color: var(--text-main); font-weight: 600; font-family: 'Outfit', sans-serif; font-size: 1.05rem; text-decoration: none; display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; transition: color 0.3s; }
.header-phones a:hover { color: var(--primary); }
.header-phones svg { color: var(--primary); width: 17px; height: 17px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.8rem; border-radius: 50px;
  font-weight: 600; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-family: 'Inter', sans-serif; font-size: 0.95rem; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary {
  background: var(--primary); color: #000;
  box-shadow: 0 4px 15px hsla(30, 90%, 55%, 0.3);
}
.btn-primary:hover {
  background: var(--primary-light); transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px hsla(30, 90%, 55%, 0.5);
}
.btn-outline {
  background: transparent; border: 1px solid var(--border); color: var(--text-main);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: hsla(0,0%,100%,0.05); border-color: var(--primary); transform: translateY(-3px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding-top: 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; top:0; left:0; width:100%; height:100%;
  object-fit: cover; object-position: center; z-index: -2; opacity: 0.5;
  animation: gentleScale 20s infinite alternate;
}
.hero-overlay {
  position: absolute; inset:0; z-index: -1;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-main) 100%);
}
.hero-content { text-align: center; max-width: 900px; z-index: 1; }
.hero-badge {
  display: inline-flex; padding: 0.4rem 1rem; border-radius: 30px;
  background: hsla(30, 90%, 55%, 0.1); border: 1px solid hsla(30, 90%, 55%, 0.2);
  color: var(--primary); font-size: 0.8rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease backwards;
  white-space: nowrap;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease 0.2s backwards;
  hyphens: none;
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero-desc {
  font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 700px; margin-inline: auto;
  animation: fadeInDown 1s ease 0.4s backwards;
  hyphens: none;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; animation: fadeInDown 1s ease 0.6s backwards; flex-wrap: wrap; }

/* Stats Row */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem;
  margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--border);
  animation: fadeInUp 1s ease 0.8s backwards;
}
.stat-item h3 { font-size: 3rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.2rem; }
.stat-item p { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

/* Sections */
section { padding: 8rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-badge { color: var(--primary); text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; display: block; }
.section-title { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; }
.section-desc { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
  padding: 3rem 2rem; transition: all 0.4s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
  background: radial-gradient(circle at top right, hsla(30, 90%, 55%, 0.1), transparent 70%);
  opacity: 0; transition: opacity 0.4s ease; z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-10px); border-color: hsla(30, 90%, 55%, 0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 64px; height: 64px; border-radius: 16px; background: hsla(30, 90%, 55%, 0.1); border: 1px solid hsla(30, 90%, 55%, 0.2); display: flex; align-items: center; justify-content: center; color: var(--primary); margin-bottom: 2rem; transition: transform 0.4s ease; }
.service-card:hover .service-icon { transform: scale(1.1) rotate(-5deg); }
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.service-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrapper { position: relative; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.about-img { width: 100%; height: auto; display: block; border-radius: 30px; transition: transform 0.8s ease; }
.about-img-wrapper:hover .about-img { transform: scale(1.05); }
.about-glass-card { position: absolute; bottom: 30px; right: 30px; padding: 1.5rem; border-radius: 20px; background: var(--glass-bg); backdrop-filter: blur(16px); border: 1px solid hsla(0,0%,100%,0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.3); display: flex; align-items: center; gap: 1rem; }
.about-glass-card .icon-box { width: 48px; height: 48px; border-radius: 12px; background: var(--primary); color: #000; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }
.about-glass-text { color: var(--text-main); font-weight: 600; font-size: 0.95rem; }
.about-content h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 1.5rem; line-height: 1.1; }
.about-content p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.1rem; }
.feature-list { list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; font-size: 1.05rem; font-weight: 500; }
.feature-icon { color: var(--primary); flex-shrink: 0; background: hsla(30, 90%, 55%, 0.1); padding: 5px; border-radius: 50%; display: flex; }
.feature-icon svg { width: 20px; height: 20px; }

/* Pricing */
.pricing-wrapper { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 30px; max-width: 800px; margin: 0 auto; overflow: hidden; }
.pricing-item { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; border-bottom: 1px solid var(--border); transition: background 0.3s ease; }
.pricing-item:last-child { border-bottom: none; }
.pricing-item:hover { background: hsla(30, 90%, 55%, 0.05); }
.pricing-name { font-weight: 500; font-size: 1.1rem; }
.pricing-price { font-weight: 700; font-size: 1.2rem; font-family: 'Outfit'; color: var(--primary); white-space: nowrap; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 4rem 0; background: var(--bg-card); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.footer-text { color: var(--text-muted); font-size: 0.9rem; }

/* Animations */
@keyframes fadeInDown { from{opacity:0; transform:translateY(-20px);} to{opacity:1; transform:translateY(0);} }
@keyframes fadeInUp { from{opacity:0; transform:translateY(20px);} to{opacity:1; transform:translateY(0);} }
@keyframes gentleScale { from{transform:scale(1);} to{transform:scale(1.1);} }

/* Responsive */
.mobile-action-bar { display: none; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrapper { margin-bottom: 3rem; }
  .hero-title { font-size: 2.8rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  nav { display: none; } /* Hide for simplicity */
  
  .mobile-action-bar {
    display: flex; position: fixed; bottom: 0; left: 0; width: 100%;
    background: var(--glass-bg); backdrop-filter: blur(12px);
    z-index: 1000; border-top: 1px solid var(--border);
    padding: 0.8rem 1rem; gap: 1rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
  .mobile-action-btn {
    flex: 1; display: flex; justify-content: center; align-items: center; gap: 0.5rem;
    padding: 0.8rem; border-radius: 12px; font-weight: 700; text-decoration: none;
    font-size: 1rem; color: #fff; transition: transform 0.2s;
  }
  .mobile-action-btn:active { transform: scale(0.95); }
  .mobile-action-btn.phone { background: var(--primary); color: #000; }
  .mobile-action-btn.whatsapp { background: #25D366; }
  .mobile-action-btn svg { width: 22px; height: 22px; }
  
  body { padding-bottom: 80px; }
}
@media (max-width: 500px) {
  .stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .section-title { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .btn { padding: 0.8rem 1.2rem; font-size: 0.9rem; width: 100%; justify-content: center; }
}
@media (max-width: 450px) {
  .hero-title { font-size: 1.8rem; }
  .hero-desc { font-size: 0.95rem; }
  .section-desc { font-size: 1rem; }
  h2 { font-size: 1.6rem !important; }
  h3 { font-size: 1.3rem !important; }
}
@media (max-width: 380px) {
  .hero-title { font-size: 1.6rem; }
  .hero-badge { font-size: 0.7rem; padding: 0.3rem 0.8rem; }
}