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

:root {
  /* Colors */
  --bg-primary: #030712;
  --bg-secondary: #0b0f19;
  --bg-card: rgba(15, 23, 42, 0.45);
  --bg-glass: rgba(15, 23, 42, 0.6);
  
  --primary: #6366f1; /* Indigo */
  --primary-glow: rgba(99, 102, 241, 0.25);
  --secondary: #06b6d4; /* Cyan */
  --secondary-glow: rgba(6, 182, 212, 0.2);
  --accent: #a855f7; /* Purple */
  --accent-glow: rgba(168, 85, 247, 0.2);
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-active: rgba(99, 102, 241, 0.4);
  
  --gradient-wave: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  --gradient-glow: linear-gradient(135deg, var(--primary-glow) 0%, var(--secondary-glow) 50%, var(--accent-glow) 100%);
  
  /* Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography & Titles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

p {
  color: var(--text-secondary);
}

/* Glowing Background Blobs */
.glow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  mix-blend-mode: screen;
  animation: float 20s infinite alternate;
}

.glow-1 {
  width: 40vw;
  height: 40vw;
  background: var(--primary);
  top: -10vw;
  right: -10vw;
  animation-delay: 0s;
}

.glow-2 {
  width: 45vw;
  height: 45vw;
  background: var(--secondary);
  bottom: 20%;
  left: -15vw;
  animation-delay: -5s;
}

.glow-3 {
  width: 35vw;
  height: 35vw;
  background: var(--accent);
  top: 40%;
  right: 10vw;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(4%, 5%) scale(1.1);
  }
  100% {
    transform: translate(-3%, -4%) scale(0.95);
  }
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 7, 18, 0.4);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(3, 7, 18, 0.85);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-wave);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo svg {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-wave);
  transition: var(--transition-fast);
  border-radius: 99px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.6rem 1.25rem;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.nav-btn:hover {
  background: var(--gradient-wave);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.5rem;
}

/* Glassmorphic Container & Cards */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-hover);
  box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.6);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-wave);
  color: #fff;
  box-shadow: 0 4px 20px -2px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -4px rgba(99, 102, 241, 0.5);
}

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

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

/* Sections */
section {
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-wave);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4cvw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3.5rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6cvw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 40%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glowing-globe {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--gradient-wave);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 100px -20px var(--primary);
  animation: rotateGlobe 30s linear infinite;
}

.glowing-globe::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--bg-primary);
  border-radius: 50%;
  z-index: 1;
}

.glowing-globe-inner {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: var(--gradient-glow);
  filter: blur(20px);
  z-index: 0;
  opacity: 0.8;
}

.glowing-globe svg {
  width: 100px;
  height: 100px;
  position: relative;
  z-index: 2;
  fill: var(--text-primary);
  filter: drop-shadow(0 0 15px var(--secondary));
  animation: floatIcon 4s ease-in-out infinite alternate;
}

@keyframes rotateGlobe {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes floatIcon {
  0% {
    transform: translateY(-8px) rotate(-5deg);
  }
  100% {
    transform: translateY(8px) rotate(5deg);
  }
}

/* Services / Features Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Founder / Solo Developer Section */
.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.founder-card {
  padding: 1.5rem;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(135deg, #312e81 0%, #111827 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.founder-photo svg {
  width: 120px;
  height: 120px;
  opacity: 0.8;
  color: var(--primary);
  filter: drop-shadow(0 0 20px var(--primary-glow));
}

.founder-meta {
  text-align: center;
}

.founder-meta h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.founder-meta span {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.founder-story h2 {
  margin-bottom: 1.5rem;
}

.founder-story p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Contact / Support Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-methods {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item-details h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.contact-item-details p {
  color: var(--text-primary);
  font-weight: 500;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input, .form-textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px var(--primary-glow);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
  font-weight: 500;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: block;
}

.form-status.error {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: block;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(16px);
  padding: 4rem 2rem 2.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-info {
  max-width: 320px;
}

.footer-info p {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.footer-nav {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--text-primary);
}

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

.footer-bottom a:hover {
  color: var(--text-secondary);
}

/* Privacy & Legal Content Pages */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 10rem 2rem 6rem;
}

.legal-title {
  font-size: clamp(2.5rem, 5cvw, 3.5rem);
  margin-bottom: 1rem;
}

.legal-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  display: flex;
  gap: 1.5rem;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}

.legal-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.legal-content ul {
  list-style-type: square;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Responsive Adaptations */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-graphic {
    order: -1;
  }
  
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .founder-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-info {
    text-align: center;
  }
  
  .contact-methods {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-nav {
    width: 100%;
    justify-content: space-between;
    gap: 2rem;
  }
}
