:root {
  --primary-royal: #2457D6;
  --deep-royal: #173B91;
  --dark-navy: #0B1528;
  --navy-surface: #132238;
  --navy-border: #1E3352;
  --bright-cyan: #25BFE8;
  --teal-green: #18A889;
  --growth-green: #35B86B;
  --warning-orange: #F59E0B;
  --error-red: #EF4444;
  --light-bg: #F5F8FD;
  --light-surface: #FFFFFF;
  --light-border: #E2E8F0;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(36, 87, 214, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(36, 87, 214, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -10px rgba(23, 59, 145, 0.22);
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  color: var(--deep-royal);
  font-family: var(--font-heading);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(36, 87, 214, 0.25);
  background: transparent;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.brand-icon svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}

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

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-royal);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--deep-royal) 0%, var(--primary-royal) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(36, 87, 214, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(36, 87, 214, 0.4);
}

.btn-secondary {
  background: var(--light-surface);
  color: var(--deep-royal);
  border: 1px solid var(--light-border);
}

.btn-secondary:hover {
  background: #F8FAFC;
  border-color: var(--primary-royal);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, #1FB8E0, #25BFE8);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 191, 232, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 191, 232, 0.45);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 191, 232, 0.15) 0%, rgba(36, 87, 214, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(36, 87, 214, 0.08);
  color: var(--primary-royal);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(36, 87, 214, 0.18);
}

.pill-badge span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--growth-green);
  box-shadow: 0 0 8px var(--growth-green);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--deep-royal), var(--bright-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-royal);
  margin-bottom: 14px;
  text-transform: lowercase;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

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

/* Hero Mockup Card */
.mockup-wrapper {
  perspective: 1000px;
}

.mockup-card {
  background: var(--light-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
  transform: rotateY(-3deg) rotateX(2deg);
  transition: var(--transition);
}

.mockup-card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-8px);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotateY(-3deg); }
  50% { transform: translateY(-12px) rotateY(-2deg); }
}

.mockup-header {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy-surface) 100%);
  padding: 16px 20px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}

.mockup-body {
  padding: 24px;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.metric-box {
  background: #F8FAFD;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid #E6EEF8;
}

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 4px;
}

.metric-val.green {
  color: var(--growth-green);
}

.metric-val.blue {
  color: var(--primary-royal);
}

.invoice-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid #EEF2F6;
  margin-bottom: 8px;
  font-size: 13.5px;
}

.status-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
}

.status-badge.paid {
  background: rgba(53, 184, 107, 0.12);
  color: var(--growth-green);
}

.status-badge.gst {
  background: rgba(37, 191, 232, 0.12);
  color: var(--bright-cyan);
}

/* Sections General */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #FFFFFF;
}

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

.section-subtitle {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bright-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

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

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

.feature-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-royal), var(--bright-cyan));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(36, 87, 214, 0.25);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(36, 87, 214, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-royal);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.why-item {
  display: flex;
  gap: 18px;
  background: var(--light-surface);
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
  transition: var(--transition);
}

.why-item:hover {
  border-color: var(--primary-royal);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.why-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(53, 184, 107, 0.12);
  color: var(--growth-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}

.why-title {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

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

/* Desktop App Section */
.desktop-banner {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #152A4E 100%);
  border-radius: 28px;
  padding: 60px 48px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.desktop-banner::before {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 191, 232, 0.2) 0%, transparent 70%);
  filter: blur(50px);
}

.desktop-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.desktop-banner h2 {
  color: #FFFFFF;
  font-size: 38px;
  margin-bottom: 16px;
}

.desktop-banner p {
  color: #94A3B8;
  font-size: 16.5px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.desktop-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
}

.desktop-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.desktop-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #E2E8F0;
}

.desktop-feat svg {
  color: var(--bright-cyan);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Contact Support Box */
.support-card {
  background: var(--light-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.support-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(36, 87, 214, 0.08);
  color: var(--primary-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.support-email-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #F1F5F9;
  border: 1px dashed #CBD5E1;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  margin: 20px auto;
  max-width: 440px;
  font-family: monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--deep-royal);
}

/* Legal Pages (Terms & Privacy) */
.legal-header {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, var(--deep-royal) 0%, var(--primary-royal) 100%);
  color: #FFFFFF;
}

.legal-header h1 {
  color: #FFFFFF;
  font-size: 40px;
  margin-bottom: 12px;
}

.legal-header p {
  color: #CBD5E1;
  font-size: 16px;
}

.legal-body {
  padding: 60px 0 100px;
}

.legal-card {
  background: var(--light-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h2 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--deep-royal);
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section p, .legal-section li {
  font-size: 15.5px;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* Footer */
.footer {
  background: var(--dark-navy);
  color: #94A3B8;
  padding: 64px 0 32px;
  border-top: 1px solid var(--navy-border);
}

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

.footer-brand .brand {
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 14px;
  color: #64748B;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #94A3B8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--bright-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--navy-border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
}

/* Mobile Menu & Responsive */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 960px) {
  .hero-grid, .desktop-grid, .why-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 40px;
  }
  .mockup-wrapper {
    margin-top: 20px;
  }
}

@media (max-width: 680px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 32px;
  }
  .desktop-banner {
    padding: 36px 24px;
  }
  .legal-card {
    padding: 24px;
  }
}
