/* Classly Web Site CSS - bavagir.com/classly */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #0A0A0C;
  --bg-secondary: #121216;
  --bg-card: rgba(22, 22, 28, 0.7);
  --bg-card-hover: rgba(30, 30, 40, 0.8);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --accent-primary: #6366F1;
  --accent-gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
  --accent-glow: rgba(99, 102, 241, 0.35);
  
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-purple: #8B5CF6;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Background Ambient Lights */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: float 18s ease-in-out infinite alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: #6366F1;
}

.blob-2 {
  bottom: 10%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: #EC4899;
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 30%;
  width: 35vw;
  height: 35vw;
  background: #8B5CF6;
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
  100% { transform: translate(-30px, -40px) scale(0.95); }
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition-fast);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFF;
}

.brand-icon {
  width: 38px;
  height: 38px;
  max-width: 38px;
  max-height: 38px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  background: #FFF;
  flex-shrink: 0;
}

.brand-icon img,
.brand img {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: #FFF;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gradient);
  color: #FFF;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 30px var(--accent-glow);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #FFF;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* Mobile Nav Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFF;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  color: #A5B4FC;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  max-width: 900px;
  margin: 0 auto 24px;
}

.hero-subtitle {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Mockup Showcase */
.mockup-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.mockup-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(30px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
}

@media (max-width: 768px) {
  .mockup-card {
    grid-template-columns: 1fr;
  }
}

.mockup-screen {
  background: #000;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-header h4 {
  font-size: 20px;
}

.app-badge {
  font-size: 11px;
  font-weight: 800;
  background: var(--accent-gradient);
  padding: 4px 10px;
  border-radius: 8px;
}

.schedule-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 4px solid var(--accent-primary);
}

.schedule-item.item-green { border-left-color: var(--color-success); }
.schedule-item.item-purple { border-left-color: var(--color-purple); }

.item-info h5 {
  font-size: 15px;
  font-weight: 700;
}

.item-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.time-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Features Grid */
.features {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-tag {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(20px);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(99, 102, 241, 0.12);
  color: #818CF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* Interactive Pomodoro Widget */
.pomodoro-widget-section {
  padding: 100px 0;
}

.widget-card {
  background: linear-gradient(135deg, rgba(22, 22, 30, 0.9) 0%, rgba(15, 15, 22, 0.95) 100%);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  backdrop-filter: blur(30px);
}

@media (max-width: 860px) {
  .widget-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

.timer-display {
  text-align: center;
  background: #000;
  border-radius: 28px;
  padding: 40px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.timer-mode {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #EC4899;
  margin-bottom: 12px;
}

.timer-clock {
  font-family: 'Outfit', sans-serif;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.timer-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.btn-timer {
  background: var(--accent-gradient);
  border: none;
  color: #FFF;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-timer-reset {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  color: #FFF;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  color: #FFF;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 15px;
  display: none;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Legal Content Page (Privacy / Terms) */
.legal-page {
  padding-top: 150px;
  padding-bottom: 100px;
}

.legal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(20px);
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .legal-box {
    padding: 28px;
  }
}

.legal-box h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.legal-content h2 {
  font-size: 22px;
  margin: 32px 0 16px;
  color: #FFF;
}

.legal-content p, .legal-content ul {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  background: var(--bg-secondary);
  position: relative;
  z-index: 10;
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .nav-links {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
}

.footer-info p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: #FFF;
}

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

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: #FFF;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  color: var(--text-muted);
  font-size: 14px;
}
