:root {
  /* Brand Colors */
  --primary: #F5D63D;       /* Golden Yellow */
  --primary-hover: #EBC624;
  --secondary: #E0F2FE;     /* Light Blue */
  --accent: #FF9F1C;        /* Orange for accents */
  
  /* Text Colors */
  --text-main: #181711;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  /* Backgrounds */
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  
  /* Feature Icon Backgrounds */
  --icon-bg-yellow: #FEF3C7;
  --icon-bg-blue: #DBEAFE;
  --icon-bg-orange: #FFEDD5;
  --icon-bg-purple: #F3E8FF;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Spacing */
  --container-width: 1200px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Fredoka', 'Noto Sans SC', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Decoration */
.bg-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.6;
  border-radius: 50%;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  animation: float 20s infinite alternate;
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  animation: float 25s infinite alternate-reverse;
}

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

/* Navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 16px 24px;
}

.nav__container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo {
  width: 48px;
  height: 48px;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav__links a:hover {
  color: var(--text-main);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav__links a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1.1rem;
}

.btn--primary {
  background: var(--primary);
  color: var(--text-main);
  border: 2px solid var(--primary);
}

.btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn--outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid #E2E8F0;
}

.btn--outline:hover {
  border-color: var(--text-main);
  background: white;
}

.btn--white {
  background: white;
  color: var(--text-main);
}

/* Layout */
main {
  width: 100%;
}

.section {
  padding: 100px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section__title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: -10px;
  right: -10px;
  height: 12px;
  background: var(--primary);
  opacity: 0.3;
  z-index: -1;
  border-radius: 4px;
}

.section__desc {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Hero Section */
.hero {
  padding: 120px 24px 100px;
  text-align: center;
  position: relative;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: #FEF9C3;
  color: #854D0E;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid #FEF08A;
}

.hero__title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 700;
}

.highlight {
  position: relative;
  color: var(--accent);
  display: inline-block;
}

.highlight::after {
  content: '⚡';
  font-size: 2rem;
  position: absolute;
  top: -20px;
  right: -20px;
  transform: rotate(15deg);
}

.hero__desc {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.hero__status {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Features Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 214, 61, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}

.icon-bg-yellow { background: var(--icon-bg-yellow); }
.icon-bg-blue { background: var(--icon-bg-blue); }
.icon-bg-orange { background: var(--icon-bg-orange); }
.icon-bg-purple { background: var(--icon-bg-purple); }

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Demo Section */
.demo-section {
  padding-bottom: 60px;
}

.demo-box {
  background: linear-gradient(135deg, #F5D63D 0%, #FF9F1C 100%);
  border-radius: 40px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: white;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.demo-content {
  flex: 1;
  max-width: 500px;
  z-index: 2;
}

.demo-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #181711;
}

.demo-content p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  color: rgba(24, 23, 17, 0.8);
}

.demo-image {
  flex: 1;
  display: flex;
  justify-content: center;
  z-index: 2;
}

/* UI Mockup */
.ui-mockup {
  width: 300px;
  height: 200px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  padding: 16px;
  position: relative;
  transform: rotate(-3deg) scale(1.1);
  transition: var(--transition);
}

.ui-mockup:hover {
  transform: rotate(0) scale(1.15);
}

.mockup-header {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-row {
  height: 12px;
  background: #F1F5F9;
  border-radius: 6px;
  width: 100%;
}

.mockup-row.short { width: 60%; }

.mockup-fab {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(245, 214, 61, 0.5);
}

/* Dev Section */
.dev-section {
  text-align: center;
  background: white;
  margin-top: 40px;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.03);
}

.api-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.api-item {
  background: #F8FAFC;
  padding: 20px;
  border-radius: 12px;
  border: 1px dashed #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.api-item code {
  background: #1E293B;
  color: #4ADE80;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9rem;
}

.api-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.link-arrow {
  color: var(--primary-hover);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: white;
  padding: 60px 24px 24px;
  border-top: 1px solid #F1F5F9;
}

.footer__content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.2rem;
}

.footer-logo {
  width: 32px;
  height: 32px;
  filter: grayscale(100%);
  opacity: 0.6;
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--text-main);
}

.footer__bottom {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  padding-top: 24px;
  border-top: 1px solid #F8FAFC;
}

/* Responsive */
@media (max-width: 768px) {
  .nav__links { display: none; }
  
  .hero__title { font-size: 2.5rem; }
  
  .demo-box {
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
  }
  
  .demo-image {
    width: 100%;
  }
  
  .footer__content {
    flex-direction: column;
    gap: 32px;
  }
}
