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

:root {
  --bg-primary: #060813;
  --bg-secondary: #0b0f1d;
  --accent-indigo: #6366f1;
  --accent-teal: #14b8a6;
  --accent-green: #10b981;
  
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-glass: rgba(255, 255, 255, 0.05);
  --bg-glass: rgba(15, 23, 42, 0.45);
  --bg-glass-hover: rgba(30, 41, 59, 0.6);
  
  --font-outfit: 'Outfit', sans-serif;
  --font-inter: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Background floating glow blobs */
.glow-wrapper {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.3;
  mix-blend-mode: screen;
  animation: float 25s infinite ease-in-out;
}

.glow-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-indigo) 0%, rgba(99, 102, 241, 0) 70%);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.glow-blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-teal) 0%, rgba(20, 184, 166, 0) 70%);
  bottom: -15%;
  right: -10%;
  animation-delay: -5s;
}

.glow-blob-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-green) 0%, rgba(16, 185, 129, 0) 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -12s;
  opacity: 0.15;
}

@keyframes float {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(40px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.95);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

/* Typography & Layout Utility classes */
h1, h2, h3, h4 {
  font-family: var(--font-outfit);
  letter-spacing: -0.02em;
}

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

.section {
  padding: 100px 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-teal);
  background: rgba(20, 184, 166, 0.08);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(20, 184, 166, 0.15);
  margin-bottom: 20px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Translucent Glassmorphism Cards */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 50px -10px rgba(99, 102, 241, 0.15);
}

/* Translucent Sticky Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 8, 19, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-outfit);
  font-weight: 900;
  font-size: 27px;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.logo-link img {
  width: 36px;
  height: 36px;
  margin-right: 12px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: var(--transition-smooth);
}

.logo-link:hover img {
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.4));
}

.logo-accent {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-item {
  margin-left: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-teal));
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.cta-nav-btn {
  background: linear-gradient(135deg, var(--accent-indigo), rgba(99, 102, 241, 0.4));
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cta-nav-btn:hover {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-teal));
  border-color: transparent;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-main);
}

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

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 20%, #a5b4fc 60%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn {
  font-family: var(--font-outfit);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-teal));
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.6), 0 0 30px rgba(20, 184, 166, 0.3);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Services Grid Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  color: var(--accent-indigo);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background: var(--accent-indigo);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 14px;
  flex-grow: 1;
}

/* Products Section (Aritaku Feature) */
.product-showcase {
  margin-top: 20px;
}

.product-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  padding: 60px;
  overflow: hidden;
}

.product-info {
  flex: 1.2;
}

.product-info h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.product-info .product-tagline {
  color: var(--accent-green);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.product-info p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-item svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-item div h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-item div p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

.product-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-mockup-bg {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
  position: absolute;
  z-index: 1;
}

.visual-phone-mockup {
  width: 250px;
  height: 480px;
  background: #0d1222;
  border: 4px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
  z-index: 2;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(16, 185, 129, 0.2);
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Phone Mockup Screen details */
.phone-notch {
  width: 100px;
  height: 16px;
  background: #060813;
  border-radius: 0 0 10px 10px;
  align-self: center;
  position: absolute;
  top: 0;
  z-index: 5;
}

.phone-screen {
  flex: 1;
  border-radius: 24px;
  background-color: #0b0e1b;
  overflow: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
  font-size: 11px;
}

.mock-app-header {
  height: 32px;
  background: var(--accent-green);
  border-radius: 8px;
  margin-top: 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  padding-left: 8px;
}

.mock-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.mock-address-bar {
  width: 60%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin-left: 8px;
}

.mock-map {
  flex: 1.2;
  background: #0f152d;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mock-map::after {
  content: '';
  width: 140px;
  height: 1px;
  background: var(--accent-green);
  position: absolute;
  transform: rotate(45deg);
  opacity: 0.3;
}

.mock-map::before {
  content: '';
  width: 100px;
  height: 1px;
  background: var(--accent-green);
  position: absolute;
  transform: rotate(-30deg);
  opacity: 0.3;
}

.mock-marker {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  position: absolute;
  box-shadow: 0 0 10px var(--accent-green);
}

.mock-marker-pulse {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--accent-green);
  position: absolute;
  animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.mock-cart-details {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.mock-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
}

.mock-bar-long { width: 50px; }
.mock-bar-short { width: 25px; }

.mock-btn {
  height: 20px;
  border-radius: 6px;
  background: var(--accent-green);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: 700;
  font-size: 8px;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Philosophy Section */
.philosophy-container {
  display: flex;
  gap: 50px;
  align-items: center;
}

.philosophy-content {
  flex: 1.2;
}

.philosophy-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.philosophy-item {
  padding: 30px;
}

.philosophy-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.philosophy-item h4 span {
  color: var(--accent-teal);
}

.philosophy-item p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Contact / Inquiry Section */
.contact-container {
  display: flex;
  gap: 60px;
  align-items: stretch;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details {
  margin-top: 30px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-teal);
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-detail-text p {
  font-size: 13px;
  color: var(--text-secondary);
}

.contact-form-card {
  flex: 1.2;
  padding: 40px;
}

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

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  background: rgba(6, 8, 19, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: #ffffff;
  font-family: var(--font-inter);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-indigo);
  background: rgba(6, 8, 19, 0.7);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

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

.submit-btn {
  width: 100%;
  border: none;
  font-family: var(--font-outfit);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
}

/* Success Popup */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 8, 19, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.success-card {
  padding: 40px 30px;
  max-width: 420px;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-overlay.active .success-card {
  transform: translateY(0);
}

.success-icon {
  width: 70px;
  height: 70px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-green);
  margin: 0 auto 24px auto;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.success-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.success-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 30px;
}

.success-btn {
  padding: 10px 24px;
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 40px 0;
  background: #04060d;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  list-style: none;
}

.footer-link-item {
  margin-left: 24px;
}

.footer-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  transition: var(--transition-smooth);
}

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

/* Reveal on Scroll Transitions */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .hero-title {
    font-size: 50px;
  }
  .product-card {
    flex-direction: column;
    padding: 40px;
    gap: 40px;
  }
  .product-visual {
    margin-top: 20px;
  }
  .philosophy-container {
    flex-direction: column;
    gap: 40px;
  }
  .contact-container {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 38px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 30px;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(6, 8, 19, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-glass);
  }
  .nav-menu.active {
    transform: translateX(0);
  }
  .nav-item {
    margin-left: 0;
    margin-bottom: 40px;
  }
  .nav-link {
    font-size: 18px;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .footer-link-item {
    margin: 0 12px;
  }
}
