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

:root {
  /* Okuluko Brand Colors */
  --color-primary: #EF4423;
  --color-primary-light: #FF5A38;
  --color-primary-dark: #D43415;
  --color-secondary: #F9A826;
  --color-secondary-light: #FFC054;
  
  /* Neutral Palette */
  --color-bg-main: #FAFBFC;
  --color-bg-surface: #FFFFFF;
  --color-text-main: #0F172A;
  --color-text-muted: #475569;
  --color-border: #E2E8F0;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(239, 68, 35, 0.1);
  --shadow-lg: 0 20px 40px -10px rgba(239, 68, 35, 0.2);
  --shadow-glow: 0 0 30px rgba(249, 168, 38, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.2;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(250, 251, 252, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-main);
  position: relative;
}

.nav-links a:not(.btn-primary)::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
  width: 100%;
}

.nav-links a:not(.btn-primary):hover {
  color: var(--color-primary);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

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

/* Dynamic Gradient Background Blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,168,38,0.15) 0%, rgba(250,251,252,0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(239,68,35,0.1) 0%, rgba(250,251,252,0) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
  animation: fadeUp 0.8s ease forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 35, 0.1);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: var(--color-text-muted);
}

.store-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-text-main);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.store-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(239, 68, 35, 0.2);
  background: var(--color-primary);
}

.store-btn ion-icon {
  font-size: 28px;
}

.store-text {
  display: flex;
  flex-direction: column;
}

.store-text span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.store-text strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}

.trusted-by {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.trusted-by p {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trusted-logos {
  display: flex;
  gap: 24px;
  align-items: center;
}

.trusted-logos span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text-main);
  font-size: 1rem;
}

.trusted-logos ion-icon {
  color: var(--color-secondary);
  font-size: 1.25rem;
}

/* Mockup Graphic */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 10px var(--color-text-main);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: var(--color-text-main);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.mockup-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  height: 220px;
  padding: 60px 20px 20px;
  color: white;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mockup-header h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 8px;
}
.mockup-header p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin: 0;
}

.mockup-body {
  padding: 20px;
  flex: 1;
  background: #f8fafc;
}

.mockup-card {
  background: white;
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mockup-icon {
  width: 48px;
  height: 48px;
  background: rgba(239, 68, 35, 0.1);
  color: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.mockup-text .title {
  height: 12px;
  width: 120px;
  background: #e2e8f0;
  border-radius: 6px;
  margin-bottom: 8px;
}

.mockup-text .subtitle {
  height: 10px;
  width: 80px;
  background: #f1f5f9;
  border-radius: 5px;
}

/* Floating Elements */
.floating-element {
  position: absolute;
  background: white;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 20;
}

.float-1 {
  top: 15%;
  left: -20%;
  animation: float 5s ease-in-out infinite 1s;
}

.float-2 {
  bottom: 15%;
  right: -25%;
  animation: float 7s ease-in-out infinite 0.5s;
}

.float-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.float-content strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-text-main);
}

.float-content span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features {
  padding: 120px 0;
  background: var(--color-bg-surface);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card {
  background: var(--color-bg-surface);
  padding: 48px 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(239, 68, 35, 0.2);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(239, 68, 35, 0.05);
  color: var(--color-primary);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 32px;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
  border-radius: 32px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 120px 0;
  background: linear-gradient(to bottom, var(--color-bg-main), var(--color-bg-surface));
  position: relative;
}

.contact-container {
  background: var(--color-bg-surface);
  max-width: 640px;
  margin: 0 auto;
  padding: 56px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text-main);
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--color-bg-main);
  outline: none;
}

.form-group input:focus {
  border-color: var(--color-secondary);
  background: var(--color-bg-surface);
  box-shadow: 0 0 0 4px rgba(249, 168, 38, 0.1);
}

.btn-block {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  margin-top: 16px;
}

#formStatus {
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #0F172A;
  color: #F8FAFC;
  padding: 100px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-brand img {
  height: 56px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: #94A3B8;
  font-size: 1.05rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(239, 68, 35, 0.3);
}

.footer-col h4 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 32px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 16px;
}

.footer-col ul li a {
  color: #94A3B8;
  font-size: 1.05rem;
  transition: all 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-secondary);
  padding-left: 6px;
}

.copyright {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #64748B;
  font-size: 0.95rem;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 80px; }
  .hero-content { margin: 0 auto; }
  .store-buttons { justify-content: center; }
  .trusted-logos { justify-content: center; }
  .float-1, .float-2 { display: none; }
  .hero-graphic { margin-top: 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .footer-brand p { margin: 0 auto; }
  .social-links { justify-content: center; }
  .hero-content h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-content h1 { font-size: 2.75rem; }
  .hero { padding-top: 140px; padding-bottom: 60px; }
  .grid-3 { grid-template-columns: 1fr; }
  .store-buttons { flex-direction: column; }
  .store-btn { width: 100%; justify-content: center; }
  .contact-container { padding: 32px 24px; }
  .section-header h2 { font-size: 2.25rem; }
}
