/* ==============================
   RESET & BASE
   ============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: #ffffff;
}

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

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

ul {
  list-style: none;
}

/* ==============================
   CONTAINER & LAYOUT
   ============================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: #f7fafc;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: #1a202c;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #718096;
  margin-bottom: 48px;
}

/* ==============================
   HEADER
   ============================== */
.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  z-index: 100;
  padding: 16px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #5a67d8;
}

.brand-icon {
  font-size: 1.5rem;
}

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

.nav-links a {
  color: #4a5568;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #5a67d8;
}

.header-actions {
  display: flex;
  gap: 16px;
}

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-ghost {
  background: transparent;
  color: #5a67d8;
  border: 2px solid #e2e8f0;
}

.btn-ghost:hover {
  border-color: #5a67d8;
  background: #f7fafc;
}

.btn-white {
  background: #ffffff;
  color: #5a67d8;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
  margin-top: 24px;
}

/* ==============================
   HERO SECTION
   ============================== */
.hero {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #1a202c;
}

.text-gradient {
  background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1.125rem;
  color: #718096;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  margin-left: -12px;
}

.avatars img:first-child {
  margin-left: 0;
}

.hero-social-proof p {
  font-size: 0.875rem;
  color: #718096;
}

.hero-media {
  position: relative;
}

.hero-media > img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-card {
  position: absolute;
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 12px;
  max-width: 240px;
  animation: float 3s ease-in-out infinite;
}

.feature-card .icon {
  font-size: 1.5rem;
}

.feature-card strong {
  display: block;
  font-size: 0.875rem;
  color: #2d3748;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 0.75rem;
  color: #718096;
}

.card-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.card-2 {
  top: 35%;
  right: -40px;
  animation-delay: 0.5s;
}

.card-3 {
  bottom: 30%;
  left: -40px;
  animation-delay: 1s;
}

.card-4 {
  bottom: 10%;
  right: -20px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ==============================
   FEATURES SECTION
   ============================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-item {
  text-align: center;
  padding: 32px 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #2d3748;
}

.feature-item p {
  font-size: 0.875rem;
  color: #718096;
}

/* ==============================
   DASHBOARD SECTION
   ============================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.dashboard-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #5a67d8;
}

.dashboard-subtitle {
  font-size: 0.875rem;
  color: #718096;
  margin-bottom: 32px;
}

.balance-form {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-item {
  display: grid;
  grid-template-columns: 40px 1fr 120px auto;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.form-item:hover {
  background: #f7fafc;
  margin: 0 -12px;
  padding: 20px 12px;
  border-radius: 8px;
}

.form-item:last-child {
  border-bottom: none;
}

.form-icon {
  font-size: 1.5rem;
}

.form-label {
  font-size: 0.875rem;
  color: #4a5568;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 8px 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
  background: #ffffff;
  transition: all 0.2s ease;
  text-align: center;
}

.form-input:hover {
  border-color: #cbd5e0;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-unit {
  font-size: 0.875rem;
  color: #718096;
  font-weight: 500;
  min-width: 50px;
}

.form-value {
  font-weight: 600;
  color: #2d3748;
}

.result-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.result-header h4 {
  font-size: 1.25rem;
  color: #2d3748;
}

.update-time {
  font-size: 0.75rem;
  color: #a0aec0;
}

.score-section {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
}

.score-circle {
  position: relative;
  width: 200px;
  height: 200px;
}

.score-circle svg {
  width: 100%;
  height: 100%;
}

.score-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-number {
  font-size: 3rem;
  font-weight: 800;
  color: #f093fb;
}

.score-max {
  font-size: 1.5rem;
  color: #a0aec0;
}

.score-label {
  display: block;
  font-size: 0.875rem;
  color: #718096;
  margin-top: 8px;
}

.status-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.status-good {
  background: #c6f6d5;
  color: #22543d;
}

.score-status p {
  font-size: 0.875rem;
  color: #718096;
}

.priorities h5 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #2d3748;
}

.priority-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.priority-list li {
  font-size: 0.875rem;
  color: #4a5568;
  padding-left: 8px;
}

.insight-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.insight-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.insight-icon {
  font-size: 1.25rem;
}

.insight-card p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ==============================
   DAILY PLANNER
   ============================== */
.planner-header {
  margin-bottom: 48px;
}

.planner-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #5a67d8;
}

.planner-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #718096;
}

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

.planner-schedule h4 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: #2d3748;
}

.schedule-list {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.schedule-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.schedule-item:last-child {
  border-bottom: none;
}

.time {
  font-weight: 600;
  color: #5a67d8;
  font-size: 0.875rem;
}

.activity {
  color: #4a5568;
  font-size: 0.875rem;
}

.planner-illustration img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ==============================
   TIPS SECTION
   ============================== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tip-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

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

.tip-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.tip-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #2d3748;
}

.tip-card p {
  font-size: 0.875rem;
  color: #718096;
  margin-bottom: 16px;
}

.tip-link {
  color: #5a67d8;
  font-weight: 600;
  font-size: 0.875rem;
}

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

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonials-slider {
  display: grid;
  grid-template-columns: 40px 1fr 1fr 1fr 40px;
  gap: 24px;
  align-items: center;
}

.slider-btn {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-btn:hover {
  background: #5a67d8;
  color: #ffffff;
  border-color: #5a67d8;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-size: 0.875rem;
  color: #4a5568;
  margin-bottom: 24px;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  gap: 16px;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
  color: #2d3748;
}

.testimonial-author p {
  font-size: 0.875rem;
  color: #718096;
  margin-top: 4px;
}

.stars {
  font-size: 0.875rem;
  margin-top: 4px;
}

/* ==============================
   CTA SECTION
   ============================== */
.cta-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0;
  color: #ffffff;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 48px;
}

.cta-image {
  width: 280px;
  border-radius: 16px;
}

.cta-text h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-text p {
  font-size: 1.125rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.badge-icon {
  font-size: 2rem;
}

.security-badge strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.security-badge p {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  background: #1a202c;
  color: #ffffff;
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-copy {
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  font-size: 1.25rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-social a:hover {
  opacity: 1;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

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

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

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

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

  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.875rem;
  }

  .header-actions {
    gap: 8px;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }

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

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

  .section-title {
    font-size: 2rem;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}
