/* ==========================================================================
   Creative Web (Криейтив Уеб) - Official Stylesheet
   Modern, Ultra-responsive, Dark High-Tech Aesthetic
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #0a0e17;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(28, 38, 59, 0.85);
  --bg-elevated: #131b2e;
  --bg-nav: rgba(10, 14, 23, 0.85);
  
  --primary: #38bdf8;
  --primary-glow: rgba(56, 189, 248, 0.25);
  --secondary: #818cf8;
  --accent: #2dd4bf;
  --viber-purple: #7360f2;
  --viber-glow: rgba(115, 96, 242, 0.35);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(56, 189, 248, 0.3);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  --gradient-viber: linear-gradient(135deg, #7360f2 0%, #8b5cf6 100%);
  --gradient-dark: linear-gradient(180deg, rgba(16, 24, 39, 0) 0%, rgba(10, 14, 23, 0.8) 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 70%);

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --max-width: 1200px;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(129, 140, 248, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(15, 23, 42, 0.6) 0px, transparent 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

img, svg {
  vertical-align: middle;
}

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
}

.btn-viber {
  background: var(--gradient-viber);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--viber-glow);
}

.btn-viber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(115, 96, 242, 0.5);
  color: #ffffff;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #0b1329;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.site-logo-img {
  height: 36px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.logo:hover .site-logo-img {
  opacity: 0.9;
  transform: scale(1.02);
}

.site-footer .site-logo-img {
  height: 32px;
  max-width: 165px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  padding-top: 10.5rem;
  padding-bottom: 7rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.15) 0%, rgba(129, 140, 248, 0.08) 50%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-badges-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-badge-item svg {
  color: var(--accent);
  width: 18px;
  height: 18px;
}

/* About / Agency Highlights */
.about-section {
  background: rgba(19, 27, 46, 0.3);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  position: relative;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.about-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  background: var(--bg-card-hover);
}

.service-card:hover::before {
  opacity: 1;
}

/* Featured Service Card Accent (AI Automation) */
.service-card-featured {
  background: linear-gradient(135deg, rgba(20, 28, 48, 0.95) 0%, rgba(30, 27, 75, 0.9) 100%);
  border: 1px solid rgba(129, 140, 248, 0.45);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
  position: relative;
}

.service-card-featured::before {
  height: 4px;
  background: linear-gradient(90deg, #38bdf8 0%, #818cf8 50%, #ec4899 100%);
  opacity: 1;
}

.service-card-featured:hover {
  border-color: rgba(129, 140, 248, 0.8);
  box-shadow: 0 20px 45px rgba(99, 102, 241, 0.28), 0 0 35px rgba(56, 189, 248, 0.2);
  transform: translateY(-6px);
}

.featured-pill {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(129, 140, 248, 0.3) 100%);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.featured-pill svg {
  color: #f59e0b;
}

.service-card-featured .service-icon-box {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(129, 140, 248, 0.25) 100%);
  border-color: rgba(129, 140, 248, 0.4);
  color: #38bdf8;
}

.service-card-featured .service-tag {
  background: rgba(129, 140, 248, 0.15);
  border-color: rgba(129, 140, 248, 0.25);
  color: #c7d2fe;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--gradient-primary);
  color: #0b1329;
  transform: scale(1.05);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Workflow Section */
.workflow-section {
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform var(--transition-normal);
}

.workflow-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.workflow-step-num {
  font-size: 2.25rem;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.4) 0%, rgba(129, 140, 248, 0.1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

.workflow-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.workflow-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Contact Section (NO CONTACT FORM - Direct Viber & Email) */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto 3rem auto;
}

.contact-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card-viber {
  border: 1px solid rgba(115, 96, 242, 0.3);
  box-shadow: 0 10px 30px rgba(115, 96, 242, 0.08);
}

.contact-card-viber:hover {
  border-color: rgba(115, 96, 242, 0.6);
  box-shadow: 0 15px 40px rgba(115, 96, 242, 0.2);
  transform: translateY(-5px);
}

.contact-card-email {
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.08);
}

.contact-card-email:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 15px 40px rgba(56, 189, 248, 0.2);
  transform: translateY(-5px);
}

.contact-icon-large {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.viber-bg {
  background: var(--gradient-viber);
  color: #ffffff;
  box-shadow: 0 0 25px var(--viber-glow);
}

.email-bg {
  background: var(--gradient-primary);
  color: #0b1329;
  box-shadow: 0 0 25px var(--primary-glow);
}

.contact-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.contact-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.contact-actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-guarantee-box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 1.75rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.guarantee-item svg {
  color: var(--accent);
}

/* Floating Viber Action Button */
.floating-viber {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gradient-viber);
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(115, 96, 242, 0.45);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.floating-viber:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 30px rgba(115, 96, 242, 0.65);
  color: #ffffff;
}

.floating-viber-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--viber-purple);
  opacity: 0.4;
  z-index: -1;
  animation: pulse-ring 2s infinite cubic-bezier(0.25, 0, 0, 1);
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #070a10;
  padding: 4rem 0 2rem 0;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Toast Notification (Copy to clipboard) */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e293b;
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-notice svg {
  color: var(--accent);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }
  
  .hero-section {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  
  .hero-title {
    font-size: 2.35rem;
  }
  
  .hero-description {
    font-size: 1.05rem;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .nav-container {
    height: 88px;
  }
  
  .site-logo-img {
    height: 80px;
    max-width: 180px;
  }
  
  .services-grid,
  .about-grid,
  .workflow-grid,
  .contact-cards-container {
    grid-template-columns: 1fr;
  }
  
  .nav-menu {
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-actions .btn-viber {
    display: none;
  }
  
  .floating-viber span {
    display: none;
  }
  
  .floating-viber {
    padding: 0.85rem;
    width: 52px;
    height: 52px;
    justify-content: center;
    border-radius: 50%;
  }
  
  .contact-card {
    padding: 2.25rem 1.5rem;
  }
}
