:root{
  --bg-main: radial-gradient(circle at top, #15203a 0%, #0a0f1f 45%, #030508 100%);
  --text-main: #ffffff;
  --text-soft: rgba(255,255,255,0.78);
  --panel: rgba(255,255,255,0.06);
  --panel-2: rgba(255,255,255,0.08);
  --panel-3: rgba(255,255,255,0.11);
  --border: rgba(255,255,255,0.1);
  --border-strong: rgba(37,214,255,0.22);
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --shadow-strong: 0 28px 90px rgba(0,0,0,0.52);
  --accent: linear-gradient(135deg,#25d6ff,#0a84ff);
  --accent-solid: #25d6ff;
  --danger: linear-gradient(135deg,#ff5a6b,#d92d45);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1400px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial, sans-serif;
  background:var(--bg-main);
  color:var(--text-main);
  padding-bottom:120px;
  position:relative;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body.light-mode{
  --bg-main: linear-gradient(180deg,#f2f7ff,#dfeeff);
  --text-main: #0e1830;
  --text-soft: rgba(14,24,48,0.75);
  --panel: rgba(255,255,255,0.76);
  --panel-2: rgba(255,255,255,0.9);
  --panel-3: rgba(255,255,255,0.98);
  --border: rgba(12,28,70,0.12);
  --border-strong: rgba(10,132,255,0.2);
  --shadow: 0 20px 60px rgba(24,56,120,0.12);
  --shadow-strong: 0 30px 80px rgba(24,56,120,0.14);
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 12% 10%, rgba(37,214,255,0.08), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(10,132,255,0.08), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(37,214,255,0.05), transparent 36%);
  pointer-events:none;
  z-index:-2;
}

body::after{
  content:"";
  position:fixed;
  width:640px;
  height:640px;
  background:radial-gradient(circle, rgba(10,132,255,0.22), transparent 70%);
  top:-220px;
  right:-220px;
  z-index:-1;
  filter:blur(130px);
  pointer-events:none;
}

a{
  color:inherit;
}

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

.notice-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:10px 18px;
  background:rgba(37,214,255,0.14);
  border-bottom:1px solid rgba(37,214,255,0.22);
  font-size:14px;
}

.notice-close{
  background:transparent;
  box-shadow:none;
  padding:0 8px;
  font-size:22px;
  min-width:auto;
  color:var(--text-main);
}

.logo-wrap{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.app-icon-placeholder{
  width:46px;
  height:46px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:22px;
  color:white;
  background:var(--accent);
  box-shadow:0 12px 32px rgba(10,132,255,0.35);
  flex-shrink:0;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:18px 28px;
  background:rgba(255,255,255,0.045);
  border-bottom:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(14px);
  position:sticky;
  top:0;
  z-index:30;
}

.logo{
  font-size:30px;
  font-weight:700;
  line-height:1;
  letter-spacing:-0.02em;
}

.menu{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center;
  gap:2px;
}

.menu a,
.footer-links a,
.cookie-banner a{
  color:var(--text-main);
  text-decoration:none;
  opacity:0.9;
}

.menu a{
  margin-left:0;
  padding:10px 12px;
  border-radius:12px;
  font-size:14px;
  transition:background 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

.menu a:hover{
  background:rgba(255,255,255,0.08);
  opacity:1;
  transform:translateY(-1px);
}

.top-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.mini-btn{
  padding:10px 14px;
  border-radius:12px;
  font-size:14px;
  box-shadow:none;
  min-height:42px;
}

.header-cta-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:14px 24px;
  background:rgba(255,255,255,0.05);
  border-bottom:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);
}

.app-shell{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:24px;
  max-width:var(--container);
  margin:0 auto;
  padding:28px 24px;
}

.sidebar{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.sidebar-box,
.info-card,
.module-card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:22px;
  box-shadow:var(--shadow);
}

.sidebar-box{
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.06);
}

.sidebar-box h3{
  margin-top:0;
  margin-bottom:14px;
  font-size:18px;
}

.side-btn{
  width:100%;
  margin-bottom:10px;
  text-align:left;
  padding:12px 14px;
  border-radius:12px;
  border:none;
  background:rgba(255,255,255,0.08);
  color:var(--text-main);
  cursor:pointer;
  font-size:15px;
  font-weight:600;
}

.side-btn:last-child{
  margin-bottom:0;
}

.side-btn:hover{
  background:rgba(255,255,255,0.14);
}

.install-badge{
  display:flex;
  gap:12px;
  align-items:center;
  padding:14px;
  background:var(--panel-2);
  border:1px solid var(--border);
  border-radius:16px;
  margin-bottom:12px;
}

.install-badge p{
  margin:4px 0 0;
  font-size:13px;
  opacity:0.85;
}

.install-icon{
  font-size:28px;
}

.content-area{
  min-width:0;
}

.page-section{
  display:block;
}

.hidden{
  display:none !important;
}

.hero{
  text-align:center;
  margin-bottom:44px;
  padding:34px 10px 10px;
}

.hero h1{
  font-size:58px;
  margin:0 0 12px;
  letter-spacing:-0.03em;
  line-height:1.02;
}

.hero p{
  font-size:20px;
  max-width:820px;
  margin:0 auto 24px;
}

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

button{
  padding:14px 28px;
  font-size:16px;
  font-weight:700;
  background:var(--accent);
  border:none;
  color:white;
  cursor:pointer;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(10,132,255,0.35);
  transition:transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

button:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(10,132,255,0.4);
}

.secondary-btn{
  background:rgba(255,255,255,0.1);
  box-shadow:none;
  border:1px solid rgba(255,255,255,0.12);
}

.secondary-btn:hover{
  background:rgba(255,255,255,0.14);
}

.danger-btn{
  background:var(--danger);
  box-shadow:0 12px 30px rgba(217,45,69,0.25);
}

.cards{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:22px;
  margin-bottom:28px;
}

.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:20px;
  padding:28px;
  box-shadow:var(--shadow);
  cursor:pointer;
  transition:0.24s ease;
}

.card:hover{
  transform:translateY(-4px);
  background:var(--panel-2);
}

.card h2{
  margin:0 0 10px;
  font-size:30px;
  letter-spacing:-0.02em;
}

.card p{
  font-size:17px;
  line-height:1.6;
  margin:0;
}

.info-grid,
.dashboard-columns,
.workroom-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:22px;
}

.section-gap{
  margin-top:24px;
}

.inner-card,
.workroom-box{
  padding:22px;
  background:var(--panel-2);
  border:1px solid var(--border);
  border-radius:18px;
}

.module-card h2{
  margin-top:0;
  margin-bottom:10px;
  font-size:34px;
  letter-spacing:-0.02em;
}

.module-card h3{
  letter-spacing:-0.02em;
}

.tool-grid,
.pricing-grid,
.stats-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:24px;
}

.tool-box,
.price-card,
.stat-box{
  background:var(--panel-2);
  border:1px solid var(--border);
  border-radius:18px;
  padding:20px;
}

.tool-box h3,
.price-card h3,
.stat-box h3{
  margin-top:0;
}

.saved-projects-block{
  margin-top:28px;
}

.saved-projects{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin-top:16px;
}

.saved-project-card{
  background:var(--panel-2);
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
}

.saved-project-card h4{
  margin:0 0 8px;
  font-size:20px;
  letter-spacing:-0.02em;
}

.saved-project-card p{
  margin:0;
}

.project-status{
  display:inline-block;
  margin-top:10px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:bold;
  background:rgba(37,214,255,0.2);
}

.task-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:18px;
}

.task-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  background:var(--panel-2);
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px 16px;
}

.task-text{
  flex:1;
}

.task-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.task-btn{
  padding:8px 12px;
  font-size:13px;
  border-radius:10px;
  box-shadow:none;
}

.small-box{
  max-width:260px;
}

.team-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.team-card{
  display:flex;
  gap:14px;
  align-items:center;
  background:var(--panel-2);
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
}

.kanban-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.kanban-col{
  background:var(--panel-2);
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
}

.kanban-col h4{
  margin-top:0;
  margin-bottom:12px;
}

.kanban-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.kanban-card{
  background:rgba(255,255,255,0.08);
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px;
  font-size:14px;
}

.calendar-box{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.calendar-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-radius:12px;
  background:var(--panel-2);
  border:1px solid var(--border);
}

.featured{
  outline:2px solid rgba(37,214,255,0.7);
  position:relative;
  box-shadow:0 0 0 1px rgba(37,214,255,0.08), 0 24px 50px rgba(10,132,255,0.12);
}

.tag{
  display:inline-block;
  padding:7px 11px;
  font-size:12px;
  font-weight:700;
  border-radius:999px;
  background:rgba(37,214,255,0.2);
  margin-bottom:10px;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.price{
  font-size:34px;
  font-weight:bold;
  margin:12px 0;
  color:var(--text-main);
}

.price-list{
  padding-left:18px;
  margin:14px 0 18px;
  line-height:1.8;
}

.stat-number{
  display:block;
  font-size:30px;
  font-weight:bold;
  margin-bottom:8px;
  letter-spacing:-0.03em;
}

.stat-label{
  opacity:0.85;
  color:var(--text-soft);
}

.fake-user-card{
  display:flex;
  gap:14px;
  align-items:center;
}

.avatar{
  width:56px;
  height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bold;
  background:var(--accent);
  color:white;
  flex-shrink:0;
}

.activity-list{
  margin:0;
  padding-left:18px;
  line-height:1.9;
}

.dashboard-note,
.result-box{
  margin-top:24px;
  padding:18px;
  border-radius:16px;
  background:var(--panel-2);
  border:1px solid var(--border);
}

.input-field{
  width:100%;
  max-width:500px;
  display:block;
  margin:15px 0;
  padding:14px 16px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.08);
  color:var(--text-main);
  font-size:16px;
  box-sizing:border-box;
  transition:border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.input-field::placeholder{
  color:rgba(255,255,255,0.52);
}

body.light-mode .input-field::placeholder{
  color:rgba(14,24,48,0.45);
}

.input-field:focus{
  outline:none;
  border-color:rgba(37,214,255,0.65);
  box-shadow:0 0 0 4px rgba(37,214,255,0.12);
  background:rgba(255,255,255,0.11);
}

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

.forum-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.forum-posts{
  margin-top:24px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.forum-post{
  background:var(--panel-2);
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
}

.forum-post-name{
  font-weight:bold;
  margin-bottom:8px;
  color:#66dbff;
}

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

.footer{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  flex-wrap:wrap;
  padding:30px 28px 42px;
  max-width:var(--container);
  margin:0 auto;
  color:rgba(255,255,255,0.8);
  border-top:1px solid rgba(255,255,255,0.06);
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
}

.footer-links a{
  margin-left:0;
  font-size:14px;
  opacity:0.85;
  transition:opacity 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover{
  opacity:1;
  transform:translateY(-1px);
}

.sticky-cta{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:14px 18px;
  background:rgba(8,18,40,0.92);
  border:1px solid rgba(37,214,255,0.25);
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,0.35);
  z-index:40;
  backdrop-filter:blur(12px);
}

.cookie-banner{
  position:fixed;
  left:16px;
  right:16px;
  bottom:90px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:14px 18px;
  background:rgba(10,15,30,0.96);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:16px;
  z-index:45;
  box-shadow:0 20px 60px rgba(0,0,0,0.35);
  backdrop-filter:blur(12px);
}

.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:50;
  padding:20px;
  backdrop-filter:blur(10px);
}

.modal-box{
  width:100%;
  max-width:560px;
  background:#10192d;
  border:1px solid rgba(255,255,255,0.12);
  border-radius:20px;
  padding:28px;
  position:relative;
  box-shadow:0 30px 80px rgba(0,0,0,0.45);
  overflow:hidden;
}

.modal-box::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top left, rgba(37,214,255,0.18), transparent 60%);
  pointer-events:none;
}

.modal-box h2{
  margin-top:0;
  font-size:32px;
  letter-spacing:-0.02em;
}

.modal-box p{
  line-height:1.7;
  opacity:0.95;
}

body.light-mode .modal-box{
  background:#ffffff;
  color:#0e1830;
}

.modal-close{
  position:absolute;
  top:12px;
  right:12px;
  width:42px;
  height:42px;
  border-radius:50%;
  padding:0;
  font-size:24px;
  line-height:42px;
  box-shadow:none;
  background:rgba(255,255,255,0.1);
}

.modal-close:hover{
  transform:rotate(90deg);
}

.hero img{
  transition:all 0.4s ease;
}

.hero img:hover{
  transform:scale(1.02);
  box-shadow:0 40px 120px rgba(0,0,0,0.8);
}

.module-card,
.card,
.workroom-box,
.price-card,
.tool-box{
  position:relative;
  overflow:hidden;
  transition:all 0.3s ease;
}

.module-card::before,
.card::before,
.workroom-box::before,
.price-card::before,
.tool-box::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top left, rgba(10,132,255,0.25), transparent 70%);
  opacity:0;
  transition:opacity 0.4s ease;
  pointer-events:none;
}

.module-card:hover::before,
.card:hover::before,
.workroom-box:hover::before,
.price-card:hover::before,
.tool-box:hover::before{
  opacity:1;
}

.module-card:hover,
.card:hover,
.workroom-box:hover,
.price-card:hover,
.tool-box:hover{
  transform:translateY(-6px) scale(1.01);
  box-shadow:var(--shadow-strong);
}

.header-cta-bar button,
.sticky-cta button,
.top-actions .mini-btn{
  position:relative;
  overflow:hidden;
}

.header-cta-bar button::after,
.sticky-cta button::after,
.top-actions .mini-btn::after{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:80%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform:skewX(-20deg);
}

.header-cta-bar button:hover::after,
.sticky-cta button:hover::after,
.top-actions .mini-btn:hover::after{
  left:140%;
  transition:left 0.7s ease;
}

#loginModal .modal-box,
#upsellModal .modal-box{
  box-shadow:0 40px 120px rgba(0,0,0,0.55);
  border:1px solid rgba(37,214,255,0.16);
}

@media (max-width: 1280px){
  .hero h1{
    font-size:50px;
  }
}

@media (max-width: 1100px){
  .app-shell{
    grid-template-columns:1fr;
  }

  .sidebar{
    order:2;
  }

  .content-area{
    order:1;
  }
}

@media (max-width: 900px){
  .hero h1{
    font-size:44px;
  }

  .module-card h2{
    font-size:30px;
  }
}

@media (max-width: 800px){
  .topbar,
  .header-cta-bar{
    flex-direction:column;
    gap:15px;
    padding:20px;
  }

  .logo-wrap,
  .top-actions,
  .menu{
    width:100%;
    justify-content:center;
  }

  .menu{
    text-align:center;
  }

  .menu a,
  .footer-links a{
    display:inline-block;
    margin:4px 6px;
  }

  .hero{
    padding-top:20px;
  }

  .hero h1{
    font-size:38px;
  }

  .hero p{
    font-size:18px;
  }

  .cards,
  .info-grid,
  .tool-grid,
  .pricing-grid,
  .stats-grid,
  .dashboard-columns,
  .workroom-grid,
  .kanban-grid{
    grid-template-columns:1fr !important;
  }

  .footer,
  .task-item,
  .sticky-cta,
  .cookie-banner,
  .calendar-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .sticky-cta,
  .cookie-banner{
    bottom:16px;
  }

  .cookie-banner{
    bottom:94px;
  }

  .modal-box{
    padding:22px;
  }

  .modal-box h2{
    font-size:28px;
  }

  .footer{
    padding-left:20px;
    padding-right:20px;
  }

  .app-shell{
    padding:20px;
  }
}

@media (max-width: 560px){
  body{
    padding-bottom:150px;
  }

  .topbar{
    padding:16px;
  }

  .header-cta-bar{
    padding:14px 16px;
  }

  .app-shell{
    padding:16px;
    gap:18px;
  }

  .sidebar-box,
  .info-card,
  .module-card{
    padding:18px;
    border-radius:20px;
  }

  .inner-card,
  .workroom-box,
  .price-card,
  .tool-box,
  .stat-box{
    padding:16px;
  }

  .hero h1{
    font-size:32px;
  }

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

  .card{
    padding:20px;
  }

  .card h2{
    font-size:24px;
  }

  .module-card h2{
    font-size:26px;
  }

  .price{
    font-size:28px;
  }

  button{
    width:100%;
    justify-content:center;
  }

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

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

  .top-actions .mini-btn{
    width:100%;
  }

  .footer-links{
    flex-direction:column;
    align-items:flex-start;
  }

  .modal-close{
    width:38px;
    height:38px;
    line-height:38px;
  }
}

.command-bar{
  max-width:900px;
  margin:20px auto 0;
  padding:0 24px;
}

#globalSearch{
  width:100%;
  padding:16px 18px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.08);
  color:var(--text-main);
  font-size:16px;
  box-shadow:var(--shadow);
}

#globalSearch:focus{
  outline:none;
  border-color:rgba(37,214,255,0.65);
  box-shadow:0 0 0 4px rgba(37,214,255,0.12), var(--shadow);
}

.progress-bar{
  height:10px;
  background:rgba(255,255,255,0.08);
  border-radius:999px;
  overflow:hidden;
  margin:22px 0 26px;
  border:1px solid var(--border);
}

#progressFill{
  height:100%;
  width:0%;
  background:var(--accent);
  transition:width 0.4s ease;
  box-shadow:0 0 22px rgba(37,214,255,0.45);
}

.search-hit{
  outline:2px solid rgba(37,214,255,0.55);
  box-shadow:0 0 0 4px rgba(37,214,255,0.10), var(--shadow);
}

@media (max-width: 800px){
  .command-bar{
    padding:0 20px;
  }
}

@media (max-width: 560px){
  .command-bar{
    padding:0 16px;
  }
}
