/* ========== RESET & BASE ========== */
*,*::before,*::after{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

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

body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  color:#e2e8f0;
  background:#0b0f19;
  line-height:1.6;
  overflow-x:hidden;
}

img,svg{display:block;max-width:100%;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}

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

/* ========== NAVBAR ========== */
.navbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  background:rgba(11,15,25,0.85);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,0.06);
  transition:background 0.3s;
}

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

.logo{
  font-size:1.6rem;
  font-weight:800;
  letter-spacing:-0.5px;
  color:#fff;
}

.logo span{
  color:#6366f1;
}

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

.nav-links a{
  font-size:0.9rem;
  font-weight:500;
  color:#94a3b8;
  transition:color 0.2s;
}

.nav-links a:hover{
  color:#fff;
}

.btn-nav{
  padding:0.5rem 1.2rem !important;
  border-radius:8px;
  background:linear-gradient(135deg,#6366f1,#8b5cf6);
  color:#fff !important;
  font-weight:600 !important;
  transition:box-shadow 0.3s,transform 0.2s !important;
}

.btn-nav:hover{
  box-shadow:0 0 24px rgba(99,102,241,0.4);
  transform:translateY(-1px);
}

.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:4px;
}

.menu-toggle span{
  display:block;
  width:24px;
  height:2px;
  background:#fff;
  border-radius:2px;
  transition:0.3s;
}

/* ========== HERO ========== */
.hero{
  position:relative;
  padding:160px 0 120px;
  background:radial-gradient(ellipse 600px 400px at 80% 20%, rgba(99,102,241,0.12), transparent),
             radial-gradient(ellipse 500px 500px at 20% 70%, rgba(139,92,246,0.08), transparent);
}

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

.badge{
  display:inline-block;
  font-size:0.8rem;
  font-weight:600;
  color:#a5b4fc;
  background:rgba(99,102,241,0.15);
  padding:0.35rem 1rem;
  border-radius:99px;
  margin-bottom:1.2rem;
  border:1px solid rgba(99,102,241,0.25);
}

.hero h1{
  font-size:3.2rem;
  font-weight:800;
  line-height:1.15;
  letter-spacing:-1px;
  margin-bottom:1.2rem;
  color:#f1f5f9;
}

.gradient-text{
  background:linear-gradient(135deg,#6366f1,#a78bfa,#6366f1);
  background-size:200% 100%;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  animation:gradientShift 4s ease infinite;
}

@keyframes gradientShift{
  0%,100%{background-position:0 50%;}
  50%{background-position:100% 50%;}
}

.hero p{
  font-size:1.1rem;
  color:#94a3b8;
  max-width:480px;
  margin-bottom:2rem;
  line-height:1.7;
}

.hero-actions{
  display:flex;
  gap:1rem;
  margin-bottom:3rem;
  flex-wrap:wrap;
}

.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.8rem 1.8rem;
  border-radius:10px;
  background:linear-gradient(135deg,#6366f1,#7c3aed);
  color:#fff;
  font-weight:600;
  font-size:0.95rem;
  border:none;
  cursor:pointer;
  transition:box-shadow 0.3s,transform 0.2s;
}

.btn-primary:hover{
  box-shadow:0 0 32px rgba(99,102,241,0.45);
  transform:translateY(-2px);
}

.btn-secondary{
  display:inline-flex;
  align-items:center;
  padding:0.8rem 1.8rem;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.15);
  color:#cbd5e1;
  font-weight:500;
  font-size:0.95rem;
  transition:border-color 0.3s,color 0.3s;
}

.btn-secondary:hover{
  border-color:rgba(255,255,255,0.4);
  color:#fff;
}

.btn-block{
  width:100%;
}

.btn-large{
  padding:1rem 2.4rem;
  font-size:1.05rem;
}

.hero-stats{
  display:flex;
  gap:2.5rem;
}

.stat strong{
  display:block;
  font-size:1.8rem;
  font-weight:700;
  color:#f1f5f9;
  line-height:1;
  margin-bottom:0.3rem;
}

.stat span{
  font-size:0.85rem;
  color:#64748b;
}

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

.hero-card{
  background:linear-gradient(145deg, rgba(30,41,59,0.9), rgba(15,23,42,0.95));
  border:1px solid rgba(255,255,255,0.08);
  border-radius:20px;
  padding:2.5rem;
  backdrop-filter:blur(12px);
  width:100%;
  max-width:380px;
  position:relative;
  z-index:2;
}

.card-icon{
  font-size:2.5rem;
  margin-bottom:1rem;
}

.hero-card h3{
  font-size:1.3rem;
  color:#f1f5f9;
  margin-bottom:0.6rem;
}

.hero-card p{
  font-size:0.9rem;
  color:#94a3b8;
  margin-bottom:1.5rem;
}

.card-bar{
  width:100%;
  height:6px;
  background:rgba(255,255,255,0.06);
  border-radius:3px;
  overflow:hidden;
}

.card-fill{
  width:72%;
  height:100%;
  background:linear-gradient(90deg,#6366f1,#8b5cf6);
  border-radius:3px;
  animation:fillBar 2s ease-out;
}

@keyframes fillBar{
  from{width:0;}
  to{width:72%;}
}

.hero-float{
  position:absolute;
  border-radius:50%;
  z-index:1;
  filter:blur(60px);
  opacity:0.25;
}

.float-1{
  width:200px;
  height:200px;
  background:#6366f1;
  top:-30px;
  right:-30px;
}

.float-2{
  width:160px;
  height:160px;
  background:#8b5cf6;
  bottom:-20px;
  left:-20px;
}

.hero-wave{
  position:absolute;
  bottom:-2px;
  left:0;
  right:0;
  width:100%;
}

.hero-wave svg{
  width:100%;
  height:80px;
}

.hero-wave path{
  fill:#0f172a;
}

/* ========== SECTIONS SHARED ========== */
.section-header{
  text-align:center;
  margin-bottom:4rem;
}

.section-tag{
  display:inline-block;
  font-size:0.8rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:2px;
  color:#a5b4fc;
  margin-bottom:0.8rem;
}

.section-header h2{
  font-size:2.4rem;
  font-weight:700;
  color:#f1f5f9;
  margin-bottom:0.8rem;
  letter-spacing:-0.5px;
}

.section-header p{
  font-size:1.05rem;
  color:#64748b;
  max-width:520px;
  margin:0 auto;
}

/* ========== FEATURES ========== */
.features{
  padding:100px 0;
  background:#0f172a;
}

.features-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
}

.feature-card{
  background:linear-gradient(145deg,rgba(30,41,59,0.7),rgba(15,23,42,0.8));
  border:1px solid rgba(255,255,255,0.05);
  border-radius:16px;
  padding:2rem;
  transition:border-color 0.3s,transform 0.3s,box-shadow 0.3s;
}

.feature-card:hover{
  border-color:rgba(99,102,241,0.3);
  transform:translateY(-4px);
  box-shadow:0 16px 40px rgba(0,0,0,0.3);
}

.feature-icon{
  font-size:2.2rem;
  margin-bottom:1rem;
}

.feature-card h3{
  font-size:1.15rem;
  color:#f1f5f9;
  margin-bottom:0.6rem;
}

.feature-card p{
  font-size:0.9rem;
  color:#64748b;
  line-height:1.65;
}

/* ========== ABOUT ========== */
.about{
  padding:100px 0;
  background:#0b0f19;
}

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

.about-placeholder{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  aspect-ratio:1/0.85;
  background:linear-gradient(145deg,rgba(30,41,59,0.5),rgba(15,23,42,0.6));
  border:1px solid rgba(255,255,255,0.06);
  border-radius:24px;
}

.about-icon{
  font-size:4rem;
  margin-bottom:1rem;
}

.about-placeholder span{
  color:#94a3b8;
  font-weight:600;
  font-size:1.1rem;
}

.about-content .section-tag{
  margin-bottom:1rem;
}

.about-content h2{
  font-size:2.4rem;
  font-weight:700;
  color:#f1f5f9;
  margin-bottom:1rem;
  letter-spacing:-0.5px;
}

.about-content p{
  color:#94a3b8;
  margin-bottom:1.5rem;
  line-height:1.7;
}

.about-list{
  display:grid;
  gap:0.8rem;
  margin-bottom:2rem;
}

.about-list li{
  position:relative;
  padding-left:1.8rem;
  color:#cbd5e1;
  font-size:0.95rem;
}

.about-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:20px;
  height:20px;
  border-radius:6px;
  background:rgba(99,102,241,0.2);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-position:center;
  background-repeat:no-repeat;
}

/* ========== TESTIMONIALS ========== */
.testimonials{
  padding:100px 0;
  background:#0f172a;
}

.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
}

.testimonial-card{
  background:linear-gradient(145deg,rgba(30,41,59,0.7),rgba(15,23,42,0.8));
  border:1px solid rgba(255,255,255,0.05);
  border-radius:16px;
  padding:2rem;
}

.testimonial-stars{
  color:#f59e0b;
  font-size:1rem;
  letter-spacing:2px;
  margin-bottom:1rem;
}

.testimonial-card p{
  font-size:0.95rem;
  color:#cbd5e1;
  line-height:1.7;
  font-style:italic;
  margin-bottom:1.5rem;
}

.testimonial-author strong{
  display:block;
  color:#f1f5f9;
  font-size:0.9rem;
}

.testimonial-author span{
  font-size:0.8rem;
  color:#64748b;
}

/* ========== CTA ========== */
.cta{
  padding:80px 0;
  background:#0b0f19;
}

.cta-card{
  text-align:center;
  background:linear-gradient(135deg,rgba(99,102,241,0.1),rgba(139,92,246,0.1));
  border:1px solid rgba(99,102,241,0.2);
  border-radius:24px;
  padding:4rem 2rem;
}

.cta-card h2{
  font-size:2.2rem;
  color:#f1f5f9;
  margin-bottom:0.8rem;
  letter-spacing:-0.5px;
}

.cta-card p{
  color:#94a3b8;
  font-size:1.05rem;
  margin-bottom:2rem;
}

/* ========== CONTACT ========== */
.contact{
  padding:100px 0;
  background:#0f172a;
}

.contact-form{
  max-width:680px;
  margin:0 auto;
}

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

.form-group{
  display:flex;
  flex-direction:column;
  gap:0.4rem;
  margin-bottom:1rem;
}

.form-group label{
  font-size:0.85rem;
  font-weight:500;
  color:#cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  padding:0.75rem 1rem;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(15,23,42,0.8);
  color:#f1f5f9;
  font-family:'Inter',sans-serif;
  font-size:0.95rem;
  transition:border-color 0.3s,box-shadow 0.3s;
  resize:vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;
  border-color:#6366f1;
  box-shadow:0 0 0 3px rgba(99,102,241,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder{
  color:#475569;
}

.form-group select{
  cursor:pointer;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 0.8rem center;
  padding-right:2.5rem;
}

.form-group select option{
  background:#1e293b;
  color:#f1f5f9;
}

.form-note{
  text-align:center;
  color:#64748b;
  font-size:0.85rem;
  margin-top:1rem;
}

/* ========== FOOTER ========== */
.footer{
  padding:60px 0 30px;
  background:#0b0f19;
  border-top:1px solid rgba(255,255,255,0.05);
}

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

.footer-brand p{
  color:#64748b;
  font-size:0.9rem;
  margin-top:0.8rem;
  max-width:240px;
  line-height:1.7;
}

.footer-links h4{
  font-size:0.85rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1px;
  color:#94a3b8;
  margin-bottom:1rem;
}

.footer-links ul{
  display:grid;
  gap:0.6rem;
}

.footer-links a{
  font-size:0.9rem;
  color:#64748b;
  transition:color 0.2s;
}

.footer-links a:hover{
  color:#cbd5e1;
}

.footer-newsletter h4{
  font-size:0.85rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1px;
  color:#94a3b8;
  margin-bottom:0.6rem;
}

.footer-newsletter p{
  font-size:0.85rem;
  color:#64748b;
  margin-bottom:1rem;
  line-height:1.6;
}

.newsletter-form{
  display:flex;
  gap:0.5rem;
}

.newsletter-form input{
  flex:1;
  padding:0.6rem 0.9rem;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(15,23,42,0.8);
  color:#f1f5f9;
  font-family:'Inter',sans-serif;
  font-size:0.85rem;
}

.newsletter-form input:focus{
  outline:none;
  border-color:#6366f1;
}

.newsletter-form input::placeholder{
  color:#475569;
}

.newsletter-form .btn-primary{
  padding:0.6rem 1rem;
  font-size:0.85rem;
  white-space:nowrap;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:1.5rem;
  border-top:1px solid rgba(255,255,255,0.05);
}

.footer-bottom p{
  font-size:0.85rem;
  color:#475569;
}

.footer-social{
  display:flex;
  gap:1rem;
}

.footer-social a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:8px;
  background:rgba(255,255,255,0.04);
  color:#94a3b8;
  font-size:0.8rem;
  font-weight:600;
  transition:background 0.3s,color 0.3s;
}

.footer-social a:hover{
  background:rgba(99,102,241,0.2);
  color:#a5b4fc;
}

/* ========== RESPONSIVE ========== */
@media(max-width:968px){
  .hero .container{
    grid-template-columns:1fr;
    text-align:center;
  }

  .hero h1{
    font-size:2.4rem;
  }

  .hero p{
    max-width:100%;
  }

  .hero-actions{
    justify-content:center;
  }

  .hero-stats{
    justify-content:center;
  }

  .hero-visual{
    order:-1;
  }

  .hero-card{
    max-width:320px;
  }

  .about-grid{
    grid-template-columns:1fr;
    gap:2rem;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:768px){
  .nav-links{
    display:none;
  }

  .menu-toggle{
    display:flex;
  }

  .features-grid,
  .testimonials-grid{
    grid-template-columns:1fr;
  }

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

  .cta-card{
    padding:2.5rem 1.5rem;
  }

  .cta-card h2{
    font-size:1.6rem;
  }

  .section-header h2{
    font-size:1.8rem;
  }

  .about-content h2{
    font-size:1.8rem;
  }
}

@media(max-width:480px){
  .hero{
    padding:130px 0 80px;
  }

  .hero h1{
    font-size:2rem;
  }

  .hero-stats{
    flex-direction:column;
    gap:1.2rem;
  }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  .newsletter-form{
    flex-direction:column;
  }

  .footer-bottom{
    flex-direction:column;
    gap:1rem;
    text-align:center;
  }
}
