/* =============================================
   LETS CREATE SOLUTIONS — Main Stylesheet
   ============================================= */

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-dark: #070709;
  --border: rgba(255,255,255,0.07);
  --accent: #6c63ff;
  --accent-2: #a78bfa;
  --accent-glow: rgba(108, 99, 255, 0.25);
  --text: #f0f0f8;
  --text-muted: #8888aa;
  --text-faint: #44445a;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 40px rgba(0,0,0,0.45);
  --shadow-card: 0 2px 20px rgba(0,0,0,0.35);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent-2); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text); }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 60%, #f0abfc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

/* ---- SECTIONS ---- */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-sub {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: #7c73ff;
  color: #fff;
  box-shadow: 0 0 0 8px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
}

.btn-full { width: 100%; justify-content: center; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 10, 15, 0.95);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  background: linear-gradient(90deg, #fff 0%, var(--accent-2) 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
  transition: background-position 0.4s ease;
}

.nav-logo:hover .nav-logo-text {
  background-position: right center;
}

.hero-logo {
  display: block;
  height: 110px;
  width: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 24px rgba(108,99,255,0.4));
}

.footer-logo {
  display: block;
  height: 60px;
  width: auto;
  margin-bottom: 12px;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
}

.nav-cta:hover { background: #7c73ff !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,99,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,99,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 75%);
}

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

.orb-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -100px; left: -100px;
  animation: pulse 8s ease-in-out infinite;
}

.orb-2 {
  width: 500px; height: 500px;
  background: #a78bfa;
  bottom: -80px; right: -80px;
  animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.18; }
  50% { transform: scale(1.1); opacity: 0.25; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-content .eyebrow { color: var(--accent-2); }

.hero-content h1 { margin-bottom: 24px; }

@media (max-width: 700px) {
  .hero-content h1 { min-height: 3.6em; }
  .gradient-text { white-space: normal; width: 100% !important; min-height: 2.3em; }
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-size: 1rem; font-weight: 700; color: var(--text); }
.stat span { font-size: 0.8rem; color: var(--text-muted); }

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2.5s ease-in-out infinite;
}

.scroll-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ---- CARDS / SERVICES ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: rgba(108,99,255,0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.card-featured {
  border-color: rgba(108,99,255,0.3);
  background: linear-gradient(135deg, #12121a 0%, #15122a 100%);
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 12px;
  padding: 10px;
  color: var(--accent-2);
  transition: background var(--transition), border-color var(--transition);
}

.card:hover .card-icon {
  background: rgba(108,99,255,0.22);
  border-color: rgba(108,99,255,0.4);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; }

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.card-list li {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-left: 14px;
  position: relative;
}

.card-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.card-list a {
  color: var(--accent-2);
}

/* ---- APPS PORTFOLIO ---- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform 0.1s ease, box-shadow var(--transition);
  position: relative;
  will-change: transform;
}

.app-card:hover {
  border-color: rgba(108,99,255,0.5);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(108,99,255,0.2);
}

.card-gloss {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
  z-index: 2;
  transition: background 0.1s ease;
}

.app-preview {
  height: 220px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 14px 0;
  position: relative;
}

.app-preview-1 {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

.app-preview-easydone {
  background: linear-gradient(135deg, #0d2e1a, #1a4a2e, #0f3d2a);
}

.app-preview-umeword {
  background: linear-gradient(135deg, #1a1208, #2e1e08, #3d2a0a);
}

.app-preview-teamtrack {
  background: linear-gradient(135deg, #0d1f0d, #1a3a1a, #003300);
}

.app-preview-img {
  height: 130px;
  width: auto;
  object-fit: contain;
  border-radius: 20px;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.6));
  transition: transform var(--transition), filter var(--transition);
  flex-shrink: 0;
}

.app-card:hover .app-preview-img {
  transform: translateY(-6px) scale(1.05);
  filter: drop-shadow(0 18px 36px rgba(0,0,0,0.7));
}

.app-preview-easydone-pro {
  background: linear-gradient(135deg, #0c1f35, #1a3a5c, #0e2a47);
}

.app-preview-watersim {
  background: #0d1117;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.watersim-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  filter: none;
  transition: transform var(--transition), filter var(--transition);
}

.app-card:hover .watersim-img {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.app-preview-soon {
  background: linear-gradient(135deg, #0a0a0f, #12121a);
  align-items: center;
  justify-content: center;
}

.soon-icon { font-size: 3rem; }

.app-status-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  color: #d0d0f0;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 7px 12px;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: auto;
}

.app-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px #34d399;
  margin-right: 2px;
}

.app-status-sep {
  color: rgba(255,255,255,0.3);
  margin: 0 1px;
}

/* Legacy — keep for any old references */
.app-preview-label {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(108,99,255,0.85);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

/* Audience label above tags */
.app-audience {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.app-info { padding: 24px; }

.app-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tag {
  background: rgba(108,99,255,0.15);
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(108,99,255,0.25);
}

.tag-soon {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border-color: var(--border);
}

.app-info h3 { margin-bottom: 8px; font-size: 1.25rem; }
.app-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 14px; line-height: 1.55; }

/* Feature bullet list inside app cards */
.app-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.app-features li {
  color: var(--text-muted);
  font-size: 0.83rem;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.app-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  top: 1px;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-2);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 8px;
  background: rgba(108,99,255,0.08);
  transition: all var(--transition);
}

.app-link:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.app-card-soon { opacity: 0.7; }

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1rem; }

.about-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.badge {
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Code Block */
.code-block {
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.code-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #111119;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #27c93f; }

.code-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.75rem;
  color: var(--text-faint);
  font-family: monospace;
}

.code-body {
  padding: 24px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
  overflow-x: auto;
}

.c-keyword { color: #a78bfa; }
.c-string   { color: #34d399; }
.c-fn       { color: #60a5fa; }

/* ---- CONTACT ---- */
.contact-wrap { max-width: 680px; margin: 0 auto; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(108,99,255,0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-top: 12px;
}

.form-success {
  display: none;
  text-align: center;
  margin-top: 16px;
  padding: 12px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: 8px;
  color: #34d399;
  font-size: 0.9rem;
}

.form-success.visible { display: block; }

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 260px;
}

.footer-abn {
  font-size: 0.78rem !important;
  color: var(--text-faint) !important;
  margin-top: 6px !important;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links strong {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { gap: 32px; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cards-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-stats { gap: 20px; }
}
