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

:root {
  --bg-dark: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.5);
  --success: #10b981;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

/* Sections */
section {
  min-height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  position: relative;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  z-index: 10;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

h1 {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  text-align: center;
}

p {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 800px;
}

.text-center { text-align: center; margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border-radius: 50px;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: all 0.3s ease;
  margin-top: 2rem;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

/* Hero Section */
#hero {
  background: radial-gradient(circle at center, rgba(56,189,248,0.15) 0%, var(--bg-dark) 70%);
  text-align: center;
}
#hero p { margin: 0 auto; }

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.card p {
  font-size: 1rem;
}

/* Icons */
.icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* Portfolio Cases */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.case-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 350px;
  cursor: pointer;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover img {
  transform: scale(1.1);
}

.case-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: #fff;
}

.case-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.case-content p { font-size: 0.9rem; color: #cbd5e1; }

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-item {
  display: flex;
  gap: 2rem;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 20px;
  border-left: 4px solid var(--accent);
}
.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.5;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.price-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
  transform: scale(1.05);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin: 1.5rem 0 0.5rem;
  color: #fff;
}
.price span {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-card ul {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.price-card ul li {
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-card ul li::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
}

/* Animations (Intersection Observer) */
.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}
.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  section { padding: 4rem 1rem; scroll-snap-type: none; height: auto; min-height: 100vh; }
  .price-card.featured { transform: scale(1); }
  .timeline-item { flex-direction: column; gap: 1rem; }
}
