/* ============================================================
   RYZEUP — styles.css
   Palette: #EDEDED | #AAAAAA | #DA0037 | #171717
   ============================================================ */

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

:root {
  --dark:    #EDEDED;
  --surface: #F0F0F0;
  --card:    #FAFAFA;
  --border:  rgba(0,0,0,0.09);
  --mid:     #AAAAAA;
  --red:     #DA0037;
  --red-dim: rgba(218,0,55,0.1);
  --red-glow:rgba(218,0,55,0.25);
  --light:   #171717;
  --muted:   rgba(23,23,23,0.5);
  --font-head: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius:  14px;
  --radius-lg: 22px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--light);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--light);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p { color: var(--muted); font-size: 1rem; }

.highlight {
  color: var(--red);
  position: relative;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 24px var(--red-glow);
}
.btn-primary:hover {
  background: #f0003d;
  box-shadow: 0 0 36px var(--red-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--light);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: rgba(0,0,0,0.2);
  background: rgba(0,0,0,0.04);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red-dim);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--light);
  color: var(--dark);
  border-color: var(--light);
}
.btn-white:hover {
  background: #111;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(23,23,23,0.25);
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.glass-card:hover {
  border-color: rgba(218,0,55,0.3);
  box-shadow: 0 4px 32px rgba(218,0,55,0.1);
}

/* ---------- Section Shared ---------- */
section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header p { margin-top: 16px; font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(218,0,55,0.3);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(237,237,237,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--light);
  flex-shrink: 0;
}
.logo span { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--light); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta { margin-left: auto; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--light);
  transition: all var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mesh-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(218,0,55,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(218,0,55,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(180,180,180,0.3) 0%, transparent 60%),
    var(--dark);
}

.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-dim);
  border: 1px solid rgba(218,0,55,0.3);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--light);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px var(--red); }
  50% { box-shadow: 0 0 18px var(--red); }
}

.hero-headline {
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}
.trust-dots {
  display: flex;
  gap: 4px;
}
.trust-dots span {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--mid);
  border: 2px solid var(--dark);
  margin-left: -8px;
  display: block;
}
.trust-dots span:first-child { margin-left: 0; }

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-line {
  width: 2px; height: 48px;
  background: linear-gradient(to bottom, var(--red), transparent);
  margin: 0 auto;
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  padding: 0;
  background: rgba(0,0,0,0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--light);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
}
.stat-item p {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.featured-card {
  border-color: rgba(218,0,55,0.4) !important;
  box-shadow: 0 0 48px rgba(218,0,55,0.1) !important;
  transform: translateY(-8px);
}

.card-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.card-icon {
  width: 52px; height: 52px;
  background: var(--red-dim);
  border: 1px solid rgba(218,0,55,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg {
  width: 24px; height: 24px;
  color: var(--red);
}

.service-card h3 { font-size: 1.25rem; }
.service-card p { font-size: 0.95rem; }

.card-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 8px;
}
.card-features li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ============================================================
   WHY RYZEUP
   ============================================================ */
.why-section {
  background: rgba(0,0,0,0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-text h2 { margin-bottom: 20px; }
.why-text p { margin-bottom: 32px; font-size: 1.05rem; }

.why-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.why-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.point-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--red-dim);
  border: 1px solid rgba(218,0,55,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.point-icon svg {
  width: 20px; height: 20px;
  color: var(--red);
}
.why-point h4 { margin-bottom: 6px; }
.why-point p { font-size: 0.9rem; }

/* ============================================================
   PRICING
   ============================================================ */
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  margin-bottom: 60px;
}
.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--red);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}
.step h4 { margin-bottom: 10px; }
.step p { font-size: 0.9rem; }

.step-arrow {
  font-size: 1.5rem;
  color: var(--red);
  opacity: 0.5;
  margin-top: 56px;
  flex-shrink: 0;
}

.pricing-cta { text-align: center; }
.pricing-card {
  display: inline-block;
  max-width: 560px;
  text-align: center;
  padding: 48px;
}
.pricing-card h3 { font-size: 1.6rem; margin-bottom: 16px; }
.pricing-card p { margin-bottom: 32px; font-size: 1rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 50% 50%, rgba(218,0,55,0.12) 0%, transparent 70%),
    var(--dark);
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-content h2 { margin-bottom: 20px; }
.cta-content p { font-size: 1.1rem; margin-bottom: 36px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: start;
}

.contact-card { height: 100%; }
.contact-card h3 { margin-bottom: 28px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 0.95rem;
  color: var(--muted);
}
.contact-item svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }

.contact-social { margin-top: 32px; }
.contact-social p { font-size: 0.85rem; margin-bottom: 14px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  background: rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-link svg { width: 18px; height: 18px; color: var(--muted); }
.social-link:hover { border-color: var(--red); }
.social-link:hover svg { color: var(--red); }

/* Form */
.contact-form { padding: 40px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--light);
  letter-spacing: 0.02em;
}

input, select, textarea {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
}
select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
select option { background: #ffffff; color: var(--light); }
textarea { resize: vertical; min-height: 120px; }

input::placeholder, textarea::placeholder { color: rgba(23,23,23,0.3); }

input:focus, select:focus, textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-dim);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 48px;
}
.form-success h3 { margin-bottom: 12px; color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: rgba(0,0,0,0.05);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .logo { font-size: 1.4rem; margin-bottom: 14px; display: block; }
.footer-brand p { font-size: 0.9rem; max-width: 240px; }

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--light); }

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--muted);
}
.footer-contact .btn { margin-top: 16px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(23,23,23,0.4);
  text-align: center;
}
.footer-bottom a {
  color: rgba(23,23,23,0.5);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .featured-card { transform: none; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-card { height: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .navbar { padding: 16px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(237,237,237,0.97);
    backdrop-filter: blur(16px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 24px;
    animation: slideDown 0.3s ease;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-links.open .nav-cta-mobile {
    display: inline-flex;
  }
  .hamburger { display: flex; }
  .hero { min-height: 100svh; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .process-steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: 28px 24px; }
  .pricing-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-headline { font-size: 2.2rem; }
}
