/* ==========================================================================
   SOFTYE POS LITE - MODERN LIGHT / WHITE THEME LANDING PAGE STYLES
   ========================================================================== */

:root {
  --bg-dark: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --border-color: #E2E8F0;
  --border-hover: rgba(16, 185, 129, 0.5);
  
  --primary: #059669;
  --primary-glow: rgba(5, 150, 105, 0.2);
  --primary-dark: #047857;
  --accent-cyan: #0284C7;
  --accent-blue: #2563EB;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;

  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-glow: 0 10px 30px rgba(16, 185, 129, 0.15);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 40px -10px rgba(5, 150, 105, 0.18);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background: radial-gradient(circle at 50% -10%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 90% 40%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(2, 132, 199, 0.05) 0%, transparent 40%),
              var(--bg-dark);
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

.btn-nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10B981, #047857);
  color: #FFF;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.25s ease;
}

.btn-nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #059669 0%, #0284C7 50%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 540px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #10B981, #047857);
  color: #FFF;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 26px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Mockup Frame */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.mockup-card {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease;
}

.mockup-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.mockup-img {
  width: 100%;
  height: auto;
  max-width: 480px;
  border-radius: var(--radius-md);
  display: block;
}

.floating-badge {
  position: absolute;
  z-index: 2;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  animation: float 4s ease-in-out infinite;
}

.floating-badge-top {
  top: -15px;
  right: -10px;
}

.floating-badge-bottom {
  bottom: 20px;
  left: -20px;
  animation-delay: 2s;
}

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

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ECFDF5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.badge-text-val {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.badge-text-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Features Grid */
.features-section {
  padding: 100px 0;
  position: relative;
}

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

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

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

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

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Interactive Math Calculator Section */
.calc-demo-section {
  padding: 80px 0;
}

.calc-demo-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.08);
}

.calc-widget {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
  max-width: 380px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.calc-display-box {
  background: #0F172A;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  text-align: right;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-label {
  font-size: 10px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.calc-input-text {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  min-height: 32px;
  overflow-x: auto;
  white-space: nowrap;
}

.calc-preview-text {
  font-size: 14px;
  font-weight: 700;
  color: #34D399;
  margin-top: 4px;
}

.calc-keys-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.calc-btn {
  height: 48px;
  background: #FFFFFF;
  color: #0F172A;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

.calc-btn:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}

.calc-btn-op {
  background: #ECFDF5;
  color: #059669;
  border-color: #A7F3D0;
}

.calc-btn-op:hover {
  background: #D1FAE5;
}

.calc-btn-equal {
  background: #059669;
  color: #FFF;
  border-color: #047857;
}

.calc-btn-equal:hover {
  background: #047857;
}

/* Steps Section */
.steps-section {
  padding: 100px 0;
}

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

.step-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  color: rgba(5, 150, 105, 0.2);
  margin-bottom: 12px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Download CTA Box */
.cta-section {
  padding: 80px 0 120px;
}

.cta-box {
  background: linear-gradient(135deg, #ECFDF5 0%, #E0F2FE 100%);
  border: 1px solid #A7F3D0;
  border-radius: 32px;
  padding: 60px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(5, 150, 105, 0.15);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  background: #FFFFFF;
  padding: 40px 0;
  font-size: 14px;
  color: var(--text-dim);
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid, .calc-demo-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid, .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 38px;
  }
  .features-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .calc-demo-card {
    padding: 24px;
  }
}
