/* ===================================================
   AARTHIKPRO – MODERN SAAS CSS
   Inspired by Zoho / Odoo / Freshworks
   Clean • Light • Professional • Scalable
   =================================================== */

/* ---------- VARIABLES ---------- */
:root {
  --primary: #2563eb;        /* SaaS Blue */
  --primary-dark: #1d4ed8;

  --accent: #ff7a00;         /* Orange accent */
  --danger: #e10600;

  --black: #0f172a;
  --text: #334155;
  --muted: #64748b;

  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e5e7eb;

  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-white);
  color: var(--text);
  line-height: 1.6;
}

/* ---------- GLOBAL ---------- */
a {
  text-decoration: none;
  color: inherit;
}

section {
  padding: 110px 6%;
}

h1, h2, h3 {
  color: var(--black);
  font-weight: 800;
}

p {
  font-size: 16px;
  color: var(--muted);
}

/* ---------- HEADER ---------- */
header {
  position: sticky;
  height: 72px;  
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 18px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 42px;                 /* 🔑 Control logo height */
  width: auto;                  /* Keep aspect ratio */
  display: block;
}

nav a {
  margin-left: 28px;
  font-weight: 500;
  color: var(--text);
}

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

.nav-btn {
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
}

/* ---------- HERO ---------- */
.hero {
  background: url("images/hero-dashboard.png") center / cover no-repeat;
  padding: 140px 6%;
}

/* Content container */
.hero-content {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* GLASS PANEL */
.hero-text {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.15);
}

/* Typography */
.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #0f172a;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 18px;
  color: #475569;
  margin-bottom: 28px;
  max-width: 520px;
}

/* Image card */
.hero-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.2);
}


/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-block;
  padding: 14px 34px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 12px 35px rgba(37,99,235,0.35);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(37,99,235,0.45);
}

.btn-outline {
  padding: 14px 34px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-weight: 600;
  margin-left: 16px;
}

/* ---------- ABOUT ---------- */
.about {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  text-align: center;
  padding: 120px 6%;
}

.about h2 {
  font-size: 36px;
  margin-bottom: 18px;
  color: #0f172a;
}

.about p {
  max-width: 860px;
  margin: 0 auto 32px;
  font-size: 18px;
  line-height: 1.75;
  color: #475569;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.about-points span {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}


/* ---------- FEATURES ---------- */
.features {
  background: var(--bg-light);
}

.feature-grid {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 36px;
  border: 1px solid #ff7a00;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
}

.card h3 {
  margin-bottom: 12px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 90px rgba(0,0,0,0.12);
}

/* ---------- POS ---------- */
.pos {
  padding: 120px 6%;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.pos-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

/* Content side */
.pos-content {
  position: relative;
}

.pos-tag {
  display: inline-block;
  background: rgba(56,189,248,0.12);
  color: #0284c7;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.pos-content h2 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
}

.pos-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #475569;
  max-width: 520px;
  margin-bottom: 26px;
}

/* Feature list */
.pos-list {
  list-style: none;
  padding: 0;
  margin-bottom: 34px;
}

.pos-list li {
  font-size: 16px;
  color: #334155;
  margin-bottom: 12px;
}

/* Image side */
.pos-image {
  position: relative;
}

.pos-image img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 45px 100px rgba(0,0,0,0.15);
  background: #fff;
  padding: 12px;
}

/* Subtle glow behind image */
.pos-image::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(56,189,248,0.18), transparent 70%);
  z-index: -1;
}

/* Responsive */
@media (max-width: 900px) {
  .pos-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pos-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .pos-list {
    display: inline-block;
    text-align: left;
  }
}


/* ---------- PRICING ---------- */
.pricing {
  padding: 120px 6%;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  text-align: center;
}

.pricing-wrapper {
  max-width: 820px;
  margin: auto;
}

.pricing-tag {
  display: inline-block;
  background: rgba(56,189,248,0.12);
  color: #0284c7;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing h2 {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.pricing-subtitle {
  font-size: 18px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 26px;
}

.pricing-note {
  background: #f1f5f9;
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 15px;
  color: #334155;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .pricing h2 {
    font-size: 34px;
  }
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 120px 6%;
  background: linear-gradient(180deg, #0f172a, #020617);
  color: #ffffff;
  text-align: center;
}

.contact-wrapper {
  max-width: 520px;
  margin: auto;
}

.contact-tag {
  display: inline-block;
  background: rgba(56,189,248,0.15);
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact p {
  font-size: 17px;
  color: #cbd5f5;
  margin-bottom: 30px;
}

.contact form {
  display: grid;
  gap: 14px;
}

.contact input {
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
}

.contact input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(56,189,248,0.35);
}

.contact button {
  margin-top: 10px;
  padding: 14px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(56,189,248,0.35);
}

/* Success / error message */
#formMessage {
  margin-top: 14px;
  font-size: 14px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #020617;
  color: #cbd5f5;
  padding: 70px 6% 30px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

/* Brand section */
.footer-brand h3 {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 360px;
}

/* Contact */
.footer-contact h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-contact a {
  color: #38bdf8;
  font-size: 15px;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Bottom bar */
.footer-bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: auto;
  }
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
  animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin: auto;
  }

  nav {
    display: none;
  }

  section {
    padding: 80px 6%;
  }

  .hero h1 {
    font-size: 40px;
  }
}
