/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: #050b18;
  color: #e2e8f0;
  overflow-x: hidden;
}

/* ===== VARIABLES ===== */
:root {
  --cyan: #00d4ff;
  --green: #00f5a0;
  --blue: #1a6fff;
  --dark: #050b18;
  --card: #0d1a2d;
  --border: rgba(0,212,255,0.15);
  --grad: linear-gradient(135deg, #00d4ff, #00f5a0);
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(5,11,24,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo .logo-img { height: 44px; filter: drop-shadow(0 0 12px rgba(0,212,255,0.5)); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 32px; }
.nav-links a { color: #94a3b8; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  background: var(--grad) !important;
  color: #050b18 !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,212,255,0.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--cyan); border-radius: 2px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 100px 24px 60px;
  max-width: 1200px; margin: 0 auto;
}
.hero-bg {
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,212,255,0.07) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,245,160,0.05) 0%, transparent 60%),
              #050b18;
}
.particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(0,212,255,0.5);
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

.hero-content { flex: 1; max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,0.1); border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.85rem; color: var(--cyan); margin-bottom: 28px;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(0,212,255,0.2)} 50%{box-shadow:0 0 0 10px rgba(0,212,255,0)} }

.hero-title { font-size: clamp(2.5rem,5vw,4rem); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero-subtitle { font-size: 1.1rem; color: #94a3b8; line-height: 1.7; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #050b18; border: none;
  padding: 14px 32px; border-radius: 50px; font-size: 1rem; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: transform 0.3s, box-shadow 0.3s;
  font-family: 'Outfit', sans-serif;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,212,255,0.4); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--cyan);
  border: 1.5px solid var(--cyan); padding: 14px 32px;
  border-radius: 50px; font-size: 1rem; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: all 0.3s;
}
.btn-outline:hover { background: rgba(0,212,255,0.1); transform: translateY(-3px); }
.full-width { width: 100%; justify-content: center; }

.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.8rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.8rem; color: #64748b; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-visual {
  flex: 1; display: flex; justify-content: center; align-items: center;
  position: relative; height: 500px;
}
.hero-logo-big {
  width: 280px; filter: drop-shadow(0 0 40px rgba(0,212,255,0.4));
  animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }
.hero-glow {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
}
.floating-card {
  position: absolute; background: rgba(13,26,45,0.9);
  border: 1px solid var(--border); border-radius: 14px;
  padding: 10px 16px; display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: cardFloat 4s ease-in-out infinite;
}
.card-icon { font-size: 1.2rem; }
.card-1 { top: 80px; left: 20px; animation-delay: 0s; }
.card-2 { top: 60px; right: 30px; animation-delay: 1.5s; }
.card-3 { bottom: 100px; left: 40px; animation-delay: 0.8s; }
@keyframes cardFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ===== SECTIONS ===== */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; background: rgba(0,212,255,0.1);
  border: 1px solid var(--border); color: var(--cyan);
  padding: 6px 16px; border-radius: 50px; font-size: 0.8rem;
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(2rem,4vw,3rem); font-weight: 800; margin-bottom: 16px; }
.section-header p { color: #64748b; font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

/* ===== SERVICES ===== */
.services { background: rgba(13,26,45,0.3); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 24px; }
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(0,212,255,0.4); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: rgba(0,212,255,0.4); }
.service-card.featured::before { opacity: 1; }
.service-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--grad); color: #050b18;
  padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700;
}
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: #64748b; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-list li { color: #94a3b8; font-size: 0.9rem; padding-left: 16px; position: relative; }
.service-list li::before { content: '→'; position: absolute; left: 0; color: var(--cyan); }

/* ===== ABOUT ===== */
.about-container { display: flex; gap: 80px; align-items: center; }
.about-visual { position: relative; flex: 1; display: flex; justify-content: center; }
.about-logo { width: 260px; filter: drop-shadow(0 0 30px rgba(0,212,255,0.3)); animation: heroFloat 5s ease-in-out infinite; }
.about-glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%); }
.about-badge-float {
  position: absolute; bottom: 30px; right: 0;
  background: var(--card); border: 1px solid var(--border);
  padding: 10px 18px; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
}
.about-content { flex: 1; }
.about-content h2 { font-size: clamp(2rem,3.5vw,2.8rem); font-weight: 800; margin: 12px 0 20px; }
.about-desc { color: #94a3b8; line-height: 1.8; margin-bottom: 28px; font-size: 1rem; }
.about-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.feature-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.feature-check { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #050b18; font-weight: 800; font-size: 0.75rem; flex-shrink: 0; }

/* ===== PORTFOLIO ===== */
.portfolio { background: rgba(13,26,45,0.3); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 24px; }
.portfolio-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.portfolio-img { height: 180px; display: flex; align-items: center; justify-content: center; }
.port-icon { font-size: 4rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
.portfolio-info { padding: 24px; }
.portfolio-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.portfolio-info p { color: #64748b; font-size: 0.9rem; margin-bottom: 16px; }
.port-tag { display: inline-block; background: rgba(0,212,255,0.1); border: 1px solid var(--border); color: var(--cyan); padding: 4px 12px; border-radius: 50px; font-size: 0.78rem; margin-right: 8px; }

/* ===== ADMOB ===== */
.admob-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-bottom: 32px; }
.admob-card, .admob-steps-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
}
.admob-card { border-color: rgba(0,212,255,0.3); }
.admob-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.admob-logo-wrap { width: 52px; height: 52px; border-radius: 14px; background: rgba(66,133,244,0.15); display: flex; align-items: center; justify-content: center; }
.admob-header h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.admob-header p { font-size: 0.8rem; color: #64748b; }
.admob-status { margin-left: auto; background: rgba(0,245,160,0.15); color: var(--green); border: 1px solid rgba(0,245,160,0.3); padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; }
.code-block { background: #020912; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.code-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: rgba(0,212,255,0.05); border-bottom: 1px solid var(--border); font-size: 0.8rem; color: #64748b; }
.copy-btn { background: var(--grad); color: #050b18; border: none; padding: 4px 14px; border-radius: 6px; font-size: 0.78rem; font-weight: 700; cursor: pointer; font-family: 'Outfit', sans-serif; transition: transform 0.2s; }
.copy-btn:hover { transform: scale(1.05); }
.code-block code { display: block; padding: 16px; font-family: 'Courier New', monospace; font-size: 0.9rem; color: var(--cyan); word-break: break-all; }
.admob-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.meta-item { background: rgba(0,0,0,0.2); border-radius: 10px; padding: 12px; }
.meta-label { display: block; font-size: 0.75rem; color: #64748b; margin-bottom: 4px; }
.meta-val { font-size: 0.85rem; font-weight: 600; color: #e2e8f0; word-break: break-all; }
.admob-steps-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; }
.steps { display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; align-items: flex-start; gap: 14px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800; flex-shrink: 0; }
.step.done .step-num { background: var(--grad); color: #050b18; }
.step.active .step-num { background: rgba(0,212,255,0.2); border: 2px solid var(--cyan); color: var(--cyan); }
.step.pending .step-num { background: rgba(255,255,255,0.05); border: 2px solid #2d3748; color: #4a5568; }
.step-info strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.step.pending strong { color: #4a5568; }
.step-info p { font-size: 0.8rem; color: #64748b; }
.admob-info-bar { background: rgba(0,212,255,0.05); border: 1px solid var(--border); border-radius: 16px; padding: 24px 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.info-item { display: flex; align-items: flex-start; gap: 10px; flex: 1; min-width: 220px; font-size: 0.9rem; color: #94a3b8; }
.info-item strong { color: #e2e8f0; }
.info-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ===== CONTACT ===== */
.contact { background: rgba(13,26,45,0.3); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; background: var(--card); border: 1px solid var(--border); padding: 20px; border-radius: 14px; }
.contact-icon { font-size: 1.5rem; }
.contact-item strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.contact-item p { color: #64748b; font-size: 0.9rem; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px; color: #e2e8f0;
  font-size: 0.95rem; font-family: 'Outfit', sans-serif;
  transition: border-color 0.3s; outline: none; resize: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cyan); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #4a5568; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .footer-logo { height: 48px; margin-bottom: 12px; filter: drop-shadow(0 0 10px rgba(0,212,255,0.3)); }
.footer-brand p { color: #64748b; font-size: 0.9rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { color: #e2e8f0; font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.footer-links a { color: #64748b; text-decoration: none; font-size: 0.88rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--border); text-align: center; padding: 20px; color: #4a5568; font-size: 0.82rem; }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 32px; right: 32px; z-index: 9999;
  background: var(--grad); color: #050b18; padding: 14px 24px;
  border-radius: 50px; font-weight: 700; font-size: 0.9rem;
  transform: translateY(80px); opacity: 0; transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; gap: 40px; }
  .hero-visual { height: 300px; width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .about-container { flex-direction: column; }
  .admob-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 0; background: rgba(5,11,24,0.98); backdrop-filter: blur(20px); justify-content: center; align-items: center; gap: 32px; font-size: 1.2rem; z-index: 999; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; z-index: 1000; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .admob-meta { grid-template-columns: 1fr; }
  .hero-logo-big { width: 200px; }
  .floating-card { display: none; }
}
