/* =====================================================
   AICYCLE - PREMIUM AI WEBSITE CSS
   VERSION 3.0
   MIDNIGHT CYAN + PURPLE THEME
===================================================== */

:root{
  --bg:#080A1A;
  --bg2:#10132B;
  --card:#171B3A;
  --card2:#22275A;

  --primary:#00C2FF;
  --secondary:#8B5CF6;

  --success:#22C55E;
  --warning:#F59E0B;
  --danger:#EF4444;

  --white:#FFFFFF;
  --text:#CBD5E1;
  --muted:#94A3B8;

  --border:rgba(255,255,255,.09);

  --radius:18px;
  --shadow:0 12px 35px rgba(0,0,0,.40);
  --glow:0 0 30px rgba(0,194,255,.18);
}

/* =========================
   LIGHT MODE
========================= */

body.light-mode{
  --bg:#F8FAFC;
  --bg2:#EEF2FF;
  --card:#FFFFFF;
  --card2:#F1F5FF;

  --text:#334155;
  --muted:#64748B;
  --white:#0F172A;

  --border:rgba(15,23,42,.10);

  --shadow:0 12px 35px rgba(15,23,42,.10);
  --glow:0 0 25px rgba(0,194,255,.12);
}

/* =========================
   RESET
========================= */

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:Inter,Arial,sans-serif;
  background:var(--bg);
  color:var(--white);
  line-height:1.7;
  min-height:100vh;
  transition:
    background .3s ease,
    color .3s ease;
}

img{
  display:block;
  max-width:100%;
}

a{
  text-decoration:none;
  color:inherit;
}

button,
input,
textarea,
select{
  font-family:inherit;
}

.container{
  width:92%;
  max-width:1250px;
  margin:auto;
}

/* =========================
   NAVBAR
========================= */

.navbar{
  position:sticky;
  top:0;
  z-index:9999;

  background:rgba(8,10,26,.90);
  backdrop-filter:blur(16px);

  border-bottom:1px solid var(--border);

  padding:16px 0;

  transition:.3s;
}

body.light-mode .navbar{
  background:rgba(255,255,255,.90);
}

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

.logo a{
  display:flex;
  align-items:center;
  gap:6px;

  font-size:28px;
  font-weight:800;

  color:#fff !important;
}

body.light-mode .logo a{
  color:#0F172A !important;
}

.logo span{
  background:linear-gradient(
    90deg,
    var(--primary),
    var(--secondary)
  );

  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:22px;
}

.nav-links a{
  color:#fff !important;
  font-weight:600;
  transition:.3s;
}

body.light-mode .nav-links a{
  color:#0F172A !important;
}

.nav-links a:hover{
  color:var(--primary) !important;
}

/* =========================
   THEME TOGGLE
========================= */

.theme-toggle{
  border:1px solid var(--border);

  background:var(--card);

  color:var(--white);

  width:42px;
  height:42px;

  border-radius:12px;

  cursor:pointer;

  font-size:18px;

  transition:.3s;
}

.theme-toggle:hover{
  background:var(--card2);
  transform:translateY(-2px);
  box-shadow:var(--glow);
}

/* =========================
   HERO
========================= */

header{
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(0,194,255,.35),
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(139,92,246,.40),
      transparent 40%
    ),
    linear-gradient(
      135deg,
      #080A1A,
      #15113A,
      #111B3F
    );

  padding:100px 20px;

  text-align:center;

  position:relative;

  overflow:hidden;
}

header::before{
  content:"";

  position:absolute;

  width:400px;
  height:400px;

  border-radius:50%;

  background:rgba(0,194,255,.08);

  top:-200px;
  left:-100px;

  filter:blur(10px);
}

header::after{
  content:"";

  position:absolute;

  width:400px;
  height:400px;

  border-radius:50%;

  background:rgba(139,92,246,.10);

  bottom:-250px;
  right:-100px;

  filter:blur(10px);
}

header .container{
  position:relative;
  z-index:2;
}

header h1{
  font-size:56px;
  font-weight:800;
  line-height:1.15;
  margin-bottom:22px;

  background:
    linear-gradient(
      90deg,
      #FFFFFF,
      #BFEFFF,
      #C4B5FD
    );

  -webkit-background-clip:text;
  background-clip:text;

  color:transparent;
}

header p{
  font-size:21px;

  color:#CBD5E1;

  max-width:780px;

  margin:auto;
}

/* =========================
   HERO BUTTONS
========================= */

.hero-buttons{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:15px;
  flex-wrap:wrap;
  margin-top:28px;
}

/* =========================
   BUTTONS
========================= */

.btn{
  display:inline-block;

  padding:14px 28px;

  border:none;
  border-radius:12px;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      #0088FF
    );

  color:#fff;

  font-weight:700;

  cursor:pointer;

  transition:.3s;

  margin-top:18px;

  box-shadow:
    0 8px 22px rgba(0,194,255,.25);

  position:relative;
  overflow:hidden;
}

.btn::after{
  content:"";

  position:absolute;

  top:0;
  left:-120%;

  width:100%;
  height:100%;

  background:rgba(255,255,255,.22);

  transform:skewX(-25deg);

  transition:.5s;
}

.btn:hover::after{
  left:130%;
}

.btn:hover{
  transform:translateY(-3px);

  background:
    linear-gradient(
      135deg,
      var(--secondary),
      #6D28D9
    );

  box-shadow:
    0 14px 30px rgba(139,92,246,.30);
}

.btn-secondary{
  background:
    linear-gradient(
      135deg,
      var(--secondary),
      #6D28D9
    );
}

.btn-success{
  background:var(--success);
}

/* =========================
   SEARCH
========================= */

.search{
  width:100%;

  padding:18px 20px;

  margin:40px 0;

  border:1px solid var(--border);

  outline:none;

  border-radius:14px;

  font-size:17px;

  background:var(--card);

  color:var(--white);

  box-shadow:var(--shadow);

  transition:.3s;
}

.search::placeholder{
  color:var(--muted);
}

.search:focus{
  border-color:var(--primary);

  box-shadow:
    0 0 0 3px rgba(0,194,255,.15),
    var(--shadow);
}

/* =========================
   SECTION TITLE
========================= */

.section-title{
  font-size:38px;

  margin:60px 0 30px;

  text-align:center;

  font-weight:700;
}

.divider{
  width:80px;
  height:4px;

  margin:-15px auto 35px;

  border-radius:20px;

  background:
    linear-gradient(
      90deg,
      var(--primary),
      var(--secondary)
    );
}
/* =====================================================
   STATISTICS
===================================================== */

.stats{
  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(200px,1fr));

  gap:22px;

  margin:60px 0;
}

.stat{
  background:
    linear-gradient(
      145deg,
      var(--card),
      var(--bg2)
    );

  padding:28px 20px;

  border-radius:var(--radius);

  text-align:center;

  box-shadow:var(--shadow);

  border:1px solid var(--border);

  transition:.35s;

  position:relative;

  overflow:hidden;
}

.stat::before{
  content:"";

  position:absolute;

  top:0;
  left:0;

  width:100%;
  height:3px;

  background:
    linear-gradient(
      90deg,
      var(--primary),
      var(--secondary)
    );
}

.stat:hover{
  transform:translateY(-8px);

  background:var(--card2);

  box-shadow:
    var(--shadow),
    var(--glow);
}

.stat h2{
  font-size:42px;

  background:
    linear-gradient(
      90deg,
      var(--primary),
      var(--secondary)
    );

  -webkit-background-clip:text;
  background-clip:text;

  color:transparent;

  margin-bottom:8px;
}

.stat p{
  color:var(--text);

  font-size:16px;
}

/* =====================================================
   TOOL GRID
===================================================== */

.grid{
  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

  gap:25px;

  margin:35px 0;
}

/* =====================================================
   CARDS
===================================================== */

.card{
  background:
    linear-gradient(
      145deg,
      var(--card),
      var(--bg2)
    );

  border-radius:var(--radius);

  padding:24px;

  box-shadow:var(--shadow);

  border:1px solid var(--border);

  transition:.35s;

  position:relative;

  overflow:hidden;
}

.card::before{
  content:"";

  position:absolute;

  top:0;
  left:-100%;

  width:100%;
  height:4px;

  background:
    linear-gradient(
      90deg,
      var(--primary),
      var(--secondary)
    );

  transition:.4s;
}

.card:hover::before{
  left:0;
}

.card:hover{
  transform:translateY(-8px);

  background:var(--card2);

  border-color:
    rgba(0,194,255,.25);

  box-shadow:
    var(--shadow),
    0 0 35px rgba(0,194,255,.10);
}

.card h3{
  font-size:24px;

  margin:15px 0 10px;
}

.card p{
  color:var(--text);

  margin-bottom:15px;
}

/* =====================================================
   CARD RATING
===================================================== */

.rating{
  margin:12px 0;

  font-size:14px;

  color:#FBBF24;
}

/* =====================================================
   BADGES
===================================================== */

.badge{
  display:inline-block;

  padding:6px 14px;

  border-radius:999px;

  font-size:12px;

  font-weight:700;

  margin-bottom:15px;

  color:#fff;
}

.free{
  background:#16A34A;
}

.freemium{
  background:#F59E0B;
}

.paid{
  background:#EF4444;
}

/* =====================================================
   CATEGORY SECTION
===================================================== */

.categories{
  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(200px,1fr));

  gap:24px;

  margin:70px 0;
}

.category-card{
  background:
    linear-gradient(
      145deg,
      var(--card),
      var(--bg2)
    );

  padding:30px 20px;

  border-radius:var(--radius);

  text-align:center;

  transition:.35s;

  cursor:pointer;

  box-shadow:var(--shadow);

  border:1px solid var(--border);
}

.category-card:hover{
  background:
    linear-gradient(
      135deg,
      #00A8E8,
      #7C3AED
    );

  transform:translateY(-10px);

  box-shadow:
    0 18px 40px rgba(0,194,255,.20);
}

.category-card .icon{
  font-size:42px;

  margin-bottom:15px;

  transition:.3s;
}

.category-card:hover .icon{
  transform:scale(1.12);
}

.category-card h3{
  font-size:22px;

  margin-bottom:10px;
}

.category-card p{
  font-size:15px;

  color:var(--text);
}

.category-card:hover p{
  color:#fff;
}

/* =====================================================
   TRENDING
===================================================== */

.trending{
  margin:80px 0;
}

.trending-grid{
  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

  gap:25px;
}

.trending-card{
  display:flex;

  align-items:center;

  gap:18px;

  background:
    linear-gradient(
      145deg,
      var(--card),
      var(--bg2)
    );

  padding:20px;

  border-radius:var(--radius);

  box-shadow:var(--shadow);

  border:1px solid var(--border);

  transition:.35s;
}

.trending-card:hover{
  background:var(--card2);

  transform:translateY(-8px);

  box-shadow:
    var(--shadow),
    var(--glow);
}

.trending-card img{
  width:70px;

  height:70px;

  object-fit:cover;

  border-radius:14px;

  transition:.35s;
}

.trending-card:hover img{
  transform:scale(1.08);
}

.trending-card h4{
  font-size:22px;

  margin-bottom:6px;
}

.trending-card p{
  font-size:14px;

  color:var(--text);
}

/* =====================================================
   AI PROMPTS
===================================================== */

.prompt-card{
  display:flex;

  flex-direction:column;

  gap:15px;
}

.prompt-box{
  background:
    linear-gradient(
      145deg,
      var(--bg2),
      var(--card)
    );

  color:var(--text);

  padding:18px;

  border-radius:12px;

  line-height:1.7;

  border:1px solid var(--border);

  white-space:pre-line;

  flex-grow:1;

  font-size:15px;
}

.prompt-box:hover{
  border-color:
    rgba(0,194,255,.30);

  box-shadow:
    0 0 20px rgba(0,194,255,.08);
}

.prompt-card .btn{
  align-self:flex-start;

  cursor:pointer;

  border:none;

  font-family:inherit;
}

/* =====================================================
   TABLES
===================================================== */

table{
  width:100%;

  border-collapse:collapse;

  margin:30px 0;

  background:var(--card);

  border-radius:16px;

  overflow:hidden;

  box-shadow:var(--shadow);

  border:1px solid var(--border);
}

thead{
  background:
    linear-gradient(
      135deg,
      #00A8E8,
      #7C3AED
    );
}

thead th{
  padding:18px;

  color:#fff;

  text-align:left;

  font-size:16px;
}

tbody td{
  padding:16px;

  border-bottom:
    1px solid var(--border);

  color:var(--text);
}

tbody tr:hover{
  background:
    rgba(0,194,255,.05);
}

/* =====================================================
   FORMS
===================================================== */

input,
textarea,
select{
  width:100%;

  padding:14px 16px;

  background:var(--card);

  color:var(--white);

  border:1px solid var(--border);

  border-radius:12px;

  outline:none;

  transition:.3s;
}

input::placeholder,
textarea::placeholder{
  color:var(--muted);
}

input:focus,
textarea:focus,
select:focus{
  border-color:var(--primary);

  box-shadow:
    0 0 0 3px
    rgba(0,194,255,.15);
}

textarea{
  min-height:140px;

  resize:vertical;
}

/* =====================================================
   LINKS
===================================================== */

.link{
  color:var(--primary);

  transition:.3s;
}

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

/* =====================================================
   ICON CIRCLE
===================================================== */

.icon-circle{
  width:64px;
  height:64px;

  display:flex;

  align-items:center;
  justify-content:center;

  border-radius:50%;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--secondary)
    );

  font-size:28px;

  margin:auto;

  margin-bottom:15px;

  color:#fff;

  box-shadow:
    0 8px 25px
    rgba(0,194,255,.20);
}

/* =====================================================
   ALERTS
===================================================== */

.alert{
  padding:18px 20px;

  border-radius:14px;

  margin:20px 0;

  font-weight:600;
}

.alert-success{
  background:rgba(34,197,94,.15);

  border-left:5px solid #22C55E;
}

.alert-warning{
  background:rgba(245,158,11,.15);

  border-left:5px solid #F59E0B;
}

.alert-danger{
  background:rgba(239,68,68,.15);

  border-left:5px solid #EF4444;
}

.alert-info{
  background:rgba(0,194,255,.12);

  border-left:5px solid var(--primary);
}

/* =====================================================
   HR
===================================================== */

hr{
  border:none;

  height:1px;

  background:var(--border);

  margin:40px 0;
}

/* =====================================================
   UTILITY CLASSES
===================================================== */

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

.mt-1{margin-top:10px;}
.mt-2{margin-top:20px;}
.mt-3{margin-top:30px;}
.mt-4{margin-top:40px;}

.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}
.mb-4{margin-bottom:40px;}

.hidden{
  display:none;
}

.rounded{
  border-radius:18px;
}

.shadow{
  box-shadow:var(--shadow);
}

/* =====================================================
   ANIMATIONS
===================================================== */

.card,
.stat,
.category-card,
.trending-card{
  animation:fadeUp .7s ease;
}

@keyframes fadeUp{
  0%{
    opacity:0;
    transform:translateY(25px);
  }

  100%{
    opacity:1;
    transform:translateY(0);
  }
}

.fade-in{
  animation:fadeIn .8s ease forwards;
}

@keyframes fadeIn{
  from{
    opacity:0;
  }

  to{
    opacity:1;
  }
}

.slide-up{
  animation:slideUp .7s ease forwards;
}

@keyframes slideUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
   }
/* =====================================================
   NEWSLETTER
===================================================== */

.newsletter{
  margin:90px 0;

  padding:60px 30px;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(0,194,255,.25),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #111936,
      #24134A
    );

  border:1px solid var(--border);

  border-radius:24px;

  text-align:center;

  box-shadow:var(--shadow);

  position:relative;

  overflow:hidden;
}

.newsletter h2{
  font-size:40px;

  margin-bottom:15px;

  color:#fff;
}

.newsletter p{
  max-width:650px;

  margin:0 auto 25px;

  color:#CBD5E1;

  font-size:18px;
}

.newsletter form{
  display:flex;

  justify-content:center;

  gap:15px;

  flex-wrap:wrap;
}

.newsletter input{
  width:420px;

  max-width:100%;

  padding:16px;

  border:none;

  border-radius:12px;

  font-size:16px;

  outline:none;

  background:#fff;

  color:#111827;
}

.newsletter button{
  padding:16px 28px;

  border:none;

  border-radius:12px;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--secondary)
    );

  color:#fff;

  font-weight:700;

  cursor:pointer;

  transition:.3s;
}

.newsletter button:hover{
  transform:translateY(-3px);

  box-shadow:
    0 10px 25px
    rgba(0,194,255,.25);
}

/* =====================================================
   FOOTER
===================================================== */

footer{
  margin-top:80px;

  background:#050711;

  padding:60px 20px 30px;

  border-top:1px solid var(--border);
}

body.light-mode footer{
  background:#E2E8F0;
}

.footer-grid{
  display:grid;

  grid-template-columns:
    repeat(auto-fit,minmax(200px,1fr));

  gap:40px;
}

footer h3{
  margin-bottom:16px;

  font-size:20px;
}

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

.footer-links{
  display:flex;

  flex-direction:column;

  gap:10px;
}

.footer-links a{
  color:var(--text);

  transition:.3s;
}

.footer-links a:hover{
  color:var(--primary);

  transform:translateX(3px);
}

.copyright{
  text-align:center;

  margin-top:45px;

  padding-top:25px;

  border-top:1px solid var(--border);

  color:var(--muted);

  font-size:14px;
}

/* =====================================================
   BACK TO TOP
===================================================== */

.back-to-top{
  position:fixed;

  right:20px;

  bottom:20px;

  width:52px;

  height:52px;

  display:flex;

  align-items:center;

  justify-content:center;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--secondary)
    );

  color:#fff;

  font-size:22px;

  border-radius:50%;

  cursor:pointer;

  box-shadow:
    0 10px 30px
    rgba(0,194,255,.25);

  opacity:0;

  visibility:hidden;

  transition:.35s;

  z-index:999;
}

.back-to-top.show{
  opacity:1;

  visibility:visible;
}

.back-to-top:hover{
  transform:
    translateY(-5px)
    scale(1.08);
}

/* =====================================================
   GLOW EFFECT
===================================================== */

.glow:hover{
  box-shadow:
    0 0 20px
    rgba(0,194,255,.25),

    0 0 40px
    rgba(139,92,246,.18);
}

/* =====================================================
   SELECTION
===================================================== */

::selection{
  background:var(--primary);

  color:#fff;
}

/* =====================================================
   SCROLLBAR
===================================================== */

::-webkit-scrollbar{
  width:10px;
  height:10px;
}

::-webkit-scrollbar-track{
  background:#080A1A;
}

::-webkit-scrollbar-thumb{
  background:
    linear-gradient(
      180deg,
      var(--primary),
      var(--secondary)
    );

  border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
  background:
    linear-gradient(
      180deg,
      #00A8E8,
      #6D28D9
    );
}

/* =====================================================
   IMAGE EFFECTS
===================================================== */

.card img,
.trending-card img{
  transition:.35s ease;

  border-radius:14px;
}

.card:hover img,
.trending-card:hover img{
  transform:scale(1.05);
}

/* =====================================================
   RESPONSIVE DESIGN
===================================================== */

@media(max-width:900px){

  .nav-links{
    gap:12px;
  }

  .nav-links a{
    font-size:14px;
  }

  header h1{
    font-size:46px;
  }

  .section-title{
    font-size:34px;
  }

}

/* =====================================================
   MOBILE
===================================================== */

@media(max-width:700px){

  .navbar{
    padding:12px 0;
  }

  .navbar .container,
  .navbar > .container{
    flex-direction:column;

    gap:14px;
  }

  .logo a{
    font-size:25px;
  }

  .nav-links{
    width:100%;

    justify-content:center;

    flex-wrap:wrap;

    gap:10px;
  }

  .nav-links a{
    font-size:13px;
  }

  .theme-toggle{
    width:38px;
    height:38px;
  }

  header{
    padding:70px 18px;
  }

  header h1{
    font-size:38px;
  }

  header p{
    font-size:17px;
  }

  .hero-buttons{
    flex-direction:column;
  }

  .hero-buttons .btn{
    width:100%;

    max-width:300px;
  }

  .section-title{
    font-size:30px;

    margin-top:45px;
  }

  .stats{
    grid-template-columns:
      repeat(2,1fr);

    gap:14px;
  }

  .stat{
    padding:22px 12px;
  }

  .stat h2{
    font-size:32px;
  }

  .stat p{
    font-size:14px;
  }

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

    gap:18px;
  }

  .categories{
    grid-template-columns:
      repeat(2,1fr);

    gap:14px;

    margin:45px 0;
  }

  .category-card{
    padding:22px 12px;
  }

  .category-card .icon{
    font-size:34px;
  }

  .category-card h3{
    font-size:18px;
  }

  .category-card p{
    font-size:13px;
  }

  .card{
    padding:20px;
  }

  .card h3{
    font-size:21px;
  }

  .newsletter{
    padding:40px 20px;

    margin:60px 0;
  }

  .newsletter h2{
    font-size:30px;
  }

  .newsletter p{
    font-size:16px;
  }

  .newsletter form{
    flex-direction:column;
  }

  .newsletter input,
  .newsletter button{
    width:100%;
  }

  footer{
    padding:45px 20px 25px;
  }

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

    gap:30px;
  }

}

/* =====================================================
   SMALL PHONES
===================================================== */

@media(max-width:420px){

  header h1{
    font-size:32px;
  }

  header p{
    font-size:16px;
  }

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

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

  .nav-links{
    gap:8px;
  }

  .nav-links a{
    font-size:12px;
  }

  .section-title{
    font-size:27px;
  }

}

/* =====================================================
   ACCESSIBILITY
===================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
  outline:3px solid
    rgba(0,194,255,.45);

  outline-offset:3px;
}

/* =====================================================
   END OF AICYCLE CSS
===================================================== */
