@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root{
  --main:#6366f1;
  --second:#8b5cf6;
  --accent:#06b6d4;
  --dark:#0f172a;
  --light:#f8fafc;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

body{
  background:linear-gradient(135deg,#eef2ff,#f8fafc);
  color:#1e293b;
  padding-top:80px;
}

  


/* Header */

.header{
  background:linear-gradient(135deg,var(--main),var(--second));
  color:white;
  text-align:center;
  padding:80px 20px;
  position:relative;
  overflow:hidden;
}

.header::after{
  content:"";
  position:absolute;
  inset:0;
  background:url("https://www.transparenttextures.com/patterns/diamond-upholstery.png");
  opacity:.15;
}

.header h1{
  font-size:2.8rem;
  font-weight:700;
}

.header p{
  margin-top:12px;
  font-size:1.1rem;
  opacity:.9;
}

/* Main */

.main{
  padding:60px 15px;
}

/* Grid */

.grid{
  max-width:1150px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:30px;
}

/* Cards */

.card{
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(8px);
  padding:30px 25px;
  border-radius:20px;
  text-decoration:none;
  color:#1e293b;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  transition:.35s ease;
  position:relative;
  overflow:hidden;
}

.card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,var(--main),var(--accent));
  opacity:0;
  transition:.35s;
}

.card:hover::before{
  opacity:.12;
}

.card:hover{
  transform:translateY(-12px) scale(1.02);
  box-shadow:0 20px 40px rgba(0,0,0,.18);
}

.card h3{
  font-size:1.3rem;
  margin-bottom:8px;
  color:var(--main);
  position:relative;
}

.card p{
  font-size:.95rem;
  opacity:.8;
  position:relative;
}


/* Footer */

footer{
  background:linear-gradient(135deg,var(--dark),#020617);
  color:white;
  text-align:center;
  padding:30px 15px;
  margin-top:60px;
  font-size:.9rem;
}





/* ===== HERO SECTION ===== */

.hero{
  min-height:90vh;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:60px 10%;
  background:linear-gradient(135deg,#4f46e5,#06b6d4);
  color:white;
  overflow:hidden;
}

.hero-content{
  max-width:550px;
  animation:slideLeft 1s ease;
}

.hero-content h1{
  font-size:3rem;
  font-weight:700;
  line-height:1.2;
}

.hero-content p{
  margin:20px 0;
  font-size:1.1rem;
  opacity:.9;
}

.hero-btns{
  margin-top:25px;
}

.btn-primary,
.btn-secondary{
  display:inline-block;
  padding:12px 28px;
  border-radius:30px;
  text-decoration:none;
  font-weight:500;
  margin-right:12px;
  transition:.3s;
}

.btn-primary{
  background:white;
  color:#4f46e5;
}

.btn-primary:hover{
  background:#eef2ff;
}

.btn-secondary{
  border:2px solid white;
  color:white;
}

.btn-secondary:hover{
  background:white;
  color:#4f46e5;
}

/* Hero Image */

.hero-image{
  max-width:450px;
  animation:slideRight 1s ease;
}

.hero-image img{
  width:100%;
  border-radius:20px;
  box-shadow:0 15px 35px rgba(0,0,0,.25);
}

/* ===== FEATURES ===== */

.features{
  padding:80px 10%;
  background:#f8fafc;
  text-align:center;
}

.features h2{
  font-size:2.4rem;
  margin-bottom:40px;
  color:#1e293b;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:25px;
}

.feature-card{
  background:white;
  padding:30px 25px;
  border-radius:18px;
  box-shadow:0 6px 15px rgba(0,0,0,.08);
  transition:.3s;
}

.feature-card:hover{
  transform:translateY(-8px);
  box-shadow:0 15px 30px rgba(0,0,0,.15);
}

.feature-card h3{
  margin-bottom:10px;
  color:#4f46e5;
}

/* ===== ANIMATIONS ===== */

@keyframes slideLeft{
  from{opacity:0;transform:translateX(-50px);}
  to{opacity:1;transform:translateX(0);}
}

@keyframes slideRight{
  from{opacity:0;transform:translateX(50px);}
  to{opacity:1;transform:translateX(0);}
}

/* ===== MOBILE ===== */

@media(max-width:900px){

  .hero{
    flex-direction:column;
    text-align:center;
  }

  .hero-image{
    margin-top:40px;
  }

  .hero-content h1{
    font-size:2.3rem;
  }

}
/* ===== NAVBAR ===== */



/* Search Box */

.search-box{
  display:flex;
  background:#f1f5f9;
  border-radius:30px;
  overflow:hidden;
}

.search-box input{
  border:none;
  padding:7px 12px;
  outline:none;
  background:transparent;
  width:150px;
}

.search-box button{
  border:none;
  background:var(--main);
  color:white;
  padding:6px 12px;
  cursor:pointer;
}


/* Mobile Navbar */

@media(max-width:900px){

  .navbar{
    flex-direction:column;
    gap:10px;
  }

  .nav-links{
    flex-wrap:wrap;
    justify-content:center;
  }

}
/* Quick Access */

.quick{
  padding:60px 10%;
  text-align:center;
}

.quick h2{
  margin-bottom:25px;
}

.quick-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:20px;
}

.quick-grid a{
  background:linear-gradient(135deg,var(--main),var(--accent));
  color:white;
  padding:18px;
  border-radius:15px;
  text-decoration:none;
  font-weight:500;
  transition:.3s;
}

.quick-grid a:hover{
  transform:scale(1.05);
}
/* Language Switch */

.lang-switch{
  display:flex;
  gap:8px;
}

.lang-switch button{
  border:none;
  padding:5px 10px;
  border-radius:6px;
  background:#e0e7ff;
  color:#4f46e5;
  cursor:pointer;
  font-weight:500;
  transition:.2s;
}

.lang-switch button:hover{
  background:#4f46e5;
  color:white;
}
/* Voice Assistant Button */

.voice-btn{
  border:none;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:white;
  padding:6px 14px;
  border-radius:20px;
  font-weight:500;
  cursor:pointer;
  transition:.3s;
}

.voice-btn:hover{
  transform:scale(1.05);
  opacity:.9;
}
/* ===== STUDY PLANNER ===== */

.planner{
  padding:70px 10%;
  background:linear-gradient(135deg,#eef2ff,#ecfeff);
  text-align:center;
}

.planner h2{
  font-size:2rem;
  margin-bottom:10px;
  color:#1e293b;
}

.planner p{
  color:#475569;
  margin-bottom:30px;
}

/* Input Box */

.planner-box{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:30px;
}

.planner-box input{
  padding:10px 14px;
  border-radius:8px;
  border:1px solid #c7d2fe;
  outline:none;
  width:180px;
}

.planner-box button{
  background:#4f46e5;
  color:white;
  border:none;
  padding:10px 18px;
  border-radius:8px;
  cursor:pointer;
  transition:.3s;
}

.planner-box button:hover{
  background:#4338ca;
}

/* Task List */

#taskList{
  list-style:none;
  max-width:500px;
  margin:auto;
}

#taskList li{
  background:white;
  padding:12px 15px;
  margin-bottom:10px;
  border-radius:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
  animation:fadeIn .4s;
}

#taskList span{
  font-weight:500;
}

#taskList button{
  background:#ef4444;
  color:white;
  border:none;
  border-radius:6px;
  padding:4px 8px;
  cursor:pointer;
  font-size:.8rem;
}

@keyframes fadeIn{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:translateY(0)}
}
/* Reminder Button */

.remind-btn{
  background:linear-gradient(135deg,#f59e0b,#f97316);
  color:white;
  border:none;
  padding:10px 18px;
  border-radius:8px;
  cursor:pointer;
  font-weight:500;
  transition:.3s;
}

.remind-btn:hover{
  transform:scale(1.05);
  opacity:.9;
}
/* ===== AI STUDY COACH ===== */

#ai-open-btn{
  position:fixed;
  bottom:20px;
  right:20px;
  background:linear-gradient(135deg,#6366f1,#9333ea);
  color:white;
  font-size:24px;
  padding:15px;
  border-radius:50%;
  cursor:pointer;
  z-index:9999;
  box-shadow:0 5px 15px rgba(0,0,0,.3);
  animation:pulse 2s infinite;
}

@keyframes pulse{
  0%{transform:scale(1)}
  50%{transform:scale(1.1)}
  100%{transform:scale(1)}
}


/* ===== PREMIUM HERO ===== */

/* ===== PREMIUM BACKGROUND (LIKE YOUR IMAGE) ===== */

.premium-hero{
  height:100vh;
  background:
    radial-gradient(circle at top left, #22c55e, transparent 40%),
    radial-gradient(circle at bottom right, #6366f1, transparent 40%),
    linear-gradient(135deg, #020617, #0f172a);

  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  color:white;
}



/* Dark Overlay */

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.6);
}

/* Content Box */

.hero-box{
  position:relative;
  text-align:center;
  color:white;
  max-width:700px;
  padding:20px;
  animation:fadeHero 1s ease;
}

.hero-box h1{
  font-size:3.2rem;
  font-weight:800;
  margin-bottom:15px;
  background:linear-gradient(90deg,#22c55e,#6366f1,#06b6d4);
  -webkit-background-clip:text;
  color:transparent;
}


.hero-box p{
  font-size:1.2rem;
  opacity:0.9;
  margin-bottom:30px;
}

/* Buttons */

.hero-buttons{
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
}

.hero-btn{
  padding:14px 30px;
  border-radius:30px;
  text-decoration:none;
  font-weight:500;
  transition:0.3s;
}

.main-btn{
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:white;
  box-shadow:0 5px 20px rgba(34,197,94,.5);
}


.main-btn:hover{
  background:#4f46e5;
}

.outline-btn{
  border:2px solid #22c55e;
  color:#22c55e;
}


.outline-btn:hover{
  background:white;
  color:#4f46e5;
}

/* Animation */

@keyframes fadeHero{
  from{opacity:0;transform:translateY(30px)}
  to{opacity:1;transform:translateY(0)}
}

/* Mobile */

@media(max-width:768px){

  .hero-box h1{
    font-size:2.2rem;
  }

  .hero-box p{
    font-size:1rem;
  }

}
/* Scroll Buttons */
#topBtn, #bottomBtn {
  position: fixed;
  right: 20px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  display: none;
  transition: all 0.3s ease;
  z-index: 999;
}

/* Top Button */
#topBtn {
  bottom: 90px;
}

/* Bottom Button */
#bottomBtn {
  bottom: 30px;
}

#topBtn:hover,
#bottomBtn:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #764ba2, #667eea);
}
.trust{
  padding:60px 10%;
  background:#f1f5f9;
  text-align:center;
}

.trust-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:20px;
  margin-top:25px;
}

.trust-grid div{
  background:white;
  padding:20px;
  border-radius:12px;
  font-weight:600;
  box-shadow:0 4px 10px rgba(0,0,0,.1);
}
.ai-msg{
  animation:fadeInChat .3s ease;
}

@keyframes fadeInChat{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}
/* Floating Shapes */

.premium-hero::before,
.premium-hero::after{
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  border-radius:50%;
  filter:blur(100px);
  opacity:0.4;
  animation:float 8s infinite alternate;
}

.premium-hero::before{
  background:#22c55e;
  top:10%;
  left:10%;
}

.premium-hero::after{
  background:#6366f1;
  bottom:10%;
  right:10%;
}

@keyframes float{
  from{transform:translateY(0px);}
  to{transform:translateY(40px);}
}
/* ===== PREMIUM ANIMATED MENU ===== */

.navbar{
  position:fixed;
  top:0;
  width:100%;
  height:70px;
  background:rgba(10,10,30,0.9);
  backdrop-filter:blur(10px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 30px;
  z-index:1000;
}

.logo{
  font-size:24px;
  font-weight:bold;
  background:linear-gradient(45deg,#00ffcc,#6366f1);
  -webkit-background-clip:text;
  color:transparent;
}

/* Desktop Menu */

.menu{
  display:flex;
  gap:25px;
}

.menu a{
  text-decoration:none;
  color:white;
  font-weight:500;
  position:relative;
  transition:.3s;
}

.menu a:hover{
  color:#00ffcc;
}

.menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:#00ffcc;
  transition:.3s;
}

.menu a:hover::after{
  width:100%;
}

/* Login Button */

.login-btn{
  background:#00ffcc;
  color:black !important;
  padding:6px 14px;
  border-radius:20px;
}

/* Hamburger */

.menu-btn{
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
}

.menu-btn span{
  width:28px;
  height:3px;
  background:white;
  transition:.4s;
}

/* Mobile Menu */

@media(max-width:900px){

  .menu-btn{
    display:flex;
  }

  .menu{
    position:fixed;
    top:70px;
    right:-100%;
    width:260px;
    height:100vh;
    background:#020617;
    flex-direction:column;
    padding:40px 25px;
    transition:.4s;
  }

  .menu.active{
    right:0;
  }

}

/* Hamburger Animation */

.menu-btn.active span:nth-child(1){
  transform:rotate(45deg) translate(6px,6px);
}

.menu-btn.active span:nth-child(2){
  opacity:0;
}

.menu-btn.active span:nth-child(3){
  transform:rotate(-45deg) translate(6px,-6px);
}
/* ===== HEADER ===== */

.main-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 25px;
  background:rgba(0,0,0,0.6);
  backdrop-filter:blur(10px);
  position:fixed;
  width:100%;
  top:0;
  z-index:999;
}

.logo{
  font-size:22px;
  font-weight:bold;
  color:#38bdf8;
}

/* Desktop Menu */
.nav-links{
  display:flex;
  gap:20px;
}

.nav-links a{
  color:white;
  text-decoration:none;
  font-weight:500;
  transition:0.3s;
}

.nav-links a:hover{
  color:#22c55e;
}

/* Mobile Button */
.menu-btn{
  font-size:26px;
  color:white;
  display:flex;
  cursor:pointer;
}


/* ===== MOBILE MENU ===== */

.mobile-menu{
  position:fixed;
  top:65px;
  right:-100%;
  width:70%;
  height:100%;
  background:#0f172a;
  display:flex;
  flex-direction:column;
  padding:30px;
  gap:20px;
  transition:0.4s;
  z-index:998;
}

.mobile-menu a{
  color:white;
  text-decoration:none;
  font-size:18px;
}


/* ===== RESPONSIVE ===== */

@media(max-width:768px){

  .nav-links{
    display:none;
  }

  .menu-btn{
    display:block;
  }

}
/* ===== MOBILE OPTIMIZATION ===== */

@media (max-width:600px){

  body{
    padding-top:60px;
  }

  .hero,
  .features,
  .planner,
  .quick,
  .trust{
    padding:40px 20px;
  }

  .hero-box h1{
    font-size:1.9rem;
  }

  .hero-box p{
    font-size:0.95rem;
  }

  .card{
    padding:20px;
  }

  #ai-coach{
    width:95%;
    right:2.5%;
  }

  #ai-open-btn{
    width:50px;
    height:50px;
    font-size:20px;
  }

  .search-box input{
    width:100px;
  }
}
/* ===== MOBILE NAVBAR FIX ===== */

.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:70px;
  background:rgba(10,10,30,0.95);
  backdrop-filter:blur(10px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 20px;
  z-index:9999;
}

.logo{
  font-size:22px;
  font-weight:700;
}

.signup-btn{
  background:#22c55e;
  color:black!important;
  padding:6px 14px;
  border-radius:20px;
}

.menu-btn{
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
}

.menu-btn span{
  width:26px;
  height:3px;
  background:white;
}

@media(max-width:900px){

  .menu-btn{
    display:flex;
  }

  .menu{
    position:fixed;
    top:70px;
    right:-100%;
    width:260px;
    height:100vh;
    background:#020617;
    flex-direction:column;
    padding:30px;
    gap:20px;
    transition:.4s;
    z-index:9998;
  }

  .menu.active{
    right:0;
  }
}
.seo-text{
  padding:60px 10%;
  background:#f8fafc;
  line-height:1.7;
}
/* ===== NEWSLETTER ===== */

.newsletter{
  padding:60px 10%;
  background:linear-gradient(135deg,#eef2ff,#ecfeff);
  text-align:center;
}

.newsletter h2{
  font-size:2rem;
  margin-bottom:10px;
}

.newsletter p{
  color:#475569;
  margin-bottom:20px;
}

.news-box{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

.news-box input{
  padding:12px 16px;
  border-radius:8px;
  border:1px solid #c7d2fe;
  width:260px;
}

.news-box button{
  background:#4f46e5;
  color:white;
  border:none;
  padding:12px 20px;
  border-radius:8px;
  cursor:pointer;
}

#newsMsg{
  margin-top:12px;
  font-size:.9rem;
}
/* ===== PREMIUM LOOK ===== */

body{
  background:linear-gradient(135deg,#0f172a,#1e293b);
}

.navbar{
  backdrop-filter:blur(15px);
  background:rgba(2,6,23,.7);
  border-bottom:1px solid rgba(255,255,255,.1);
}

.hero-box{
  background:rgba(255,255,255,.1);
  backdrop-filter:blur(20px);
  border-radius:20px;
  box-shadow:0 20px 50px rgba(0,0,0,.4);
}

.hero-btn{
  transition:.3s;
}

.hero-btn:hover{
  transform:translateY(-4px) scale(1.05);
}

.feature-card{
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
  border-radius:16px;
  transition:.3s;
}

.feature-card:hover{
  transform:translateY(-8px);
  box-shadow:0 15px 40px rgba(0,0,0,.5);
}

.card{
  border-radius:18px;
  background:linear-gradient(135deg,#1e293b,#020617);
}

.card:hover{
  transform:scale(1.06);
}

.google-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:white;
  color:black;
  padding:12px;
  border-radius:10px;
  border:none;
  cursor:pointer;
}

.google-btn img{
  width:20px;
}
.nav-user{
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  position:relative;
}

.nav-user img{
  width:36px;
  height:36px;
  border-radius:50%;
}

.user-menu{
  position:absolute;
  top:45px;
  right:0;
  background:#020617;
  border-radius:10px;
  padding:8px;
  display:none;
  min-width:140px;
}

.user-menu a{
  display:block;
  padding:8px;
  color:white;
  text-decoration:none;
  border-radius:6px;
}

.user-menu a:hover{
  background:#1e293b;
}

.nav-user:hover .user-menu{
  display:block;
}
