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

:root {
  --brand-orange: #ff6600;
  --brand-orange-hover: #ff7a22;
  --brand-cyan: #01b3c6;
  --brand-cyan-hover: #02cce2;
  
  --bg-dark: #ffffff;
  --bg-darker: #f4f6f8;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --border-color: rgba(0, 0, 0, 0.08);
  
  --text-primary: #111827;
  --text-secondary: #4b5563;
  
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { color: var(--text-secondary); margin-bottom: 1rem; font-size: 1.1rem; }

.text-gradient-orange {
  background: linear-gradient(90deg, var(--brand-orange), #ff8c33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(90deg, var(--brand-cyan), #02e6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-main);
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange), #ff8c33);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--brand-cyan), #02cce2);
  color: #fff;
  box-shadow: 0 4px 15px rgba(1, 179, 198, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 179, 198, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.navbar .btn-outline {
  border: 2px solid #a0a5b0;
  color: #fff;
}

.navbar .btn-outline:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: #111827; /* Solid dark color */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 1rem 0;
  background: #111827;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
  margin: 0;
  white-space: nowrap;
}

.nav-links a {
  color: #a0a5b0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(1, 179, 198, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-30%, 30%);
  z-index: -1;
}

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

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-image {
  position: relative;
  perspective: 1000px;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: var(--transition);
}

.glass-card:hover {
  transform: rotateY(0) rotateX(0);
  border-color: rgba(1, 179, 198, 0.3);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,102,0,0.1), rgba(1,179,198,0.1));
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,102,0,0.3);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

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

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(0,0,0,0.03);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--brand-orange);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--brand-orange);
  color: #fff;
  transform: scale(1.1);
}

/* Footer */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

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

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--brand-cyan);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  height: 200px;
  animation: elegantPulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 10px 15px rgba(255, 102, 0, 0.2));
}

.preloader-plane {
  display: none;
}

@keyframes elegantPulse {
  0% { 
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% { 
    transform: scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 20px 25px rgba(255, 102, 0, 0.4));
  }
  100% { 
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* Calculator & How it works */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(1, 179, 198, 0.2);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--brand-orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: var(--brand-cyan);
}

/* Responsive Updates */
@media (max-width: 992px) {
  .hero-grid, .calculator-grid, .how-it-works-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step-item { text-align: left; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  h1 { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
