/* ── Integral Cloud Solutions — Modern Stylesheet ─────────────────────── */

:root {
  /* Dark navy and gold palette */
  --navy-900: #050c1a;
  --navy-800: #0a1528;
  --navy-700: #0f1f3a;
  --navy-600: #1b3a6b;
  --navy-500: #234e8e;
  --gold-500: #d4a84b;
  --gold-400: #e2be64;
  --gold-300: #e8cc7a;
  --surface: #0d1829;
  --surface-alt: #111e33;
  --surface-card: #122036;
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);
  --gray-100: #f7f8fa;
  --gray-200: #edf0f4;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --white: #ffffff;
  --text: #e0e4eb;
  --text-muted: #8a94a6;
  --text-light: #5e6a7e;

  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 110px;
  --container-max: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
}

/* ── Reset ──────────────────────────────────────────────────────────── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--gold-400); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-300); }
img { max-width: 100%; height: auto; }

/* ── Layout ─────────────────────────────────────────────────────────── */

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }
.section { padding: var(--section-pad) 0; background: var(--surface); }
.section-alt { background: var(--surface-alt); }

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 52px;
  max-width: 600px;
  line-height: 1.8;
}
.section-cta { margin-top: 48px; text-align: center; }

/* ── Navigation ─────────────────────────────────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6, 14, 31, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.nav-logo:hover { color: var(--gold-400); }
.nav-toggle {
  display: none;
  background: none; border: none; color: var(--white);
  font-size: 1.5rem; cursor: pointer;
}
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.6);
  padding: 7px 14px; border-radius: 8px; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white); background: rgba(255,255,255,0.1);
}
.nav-cta {
  background: var(--gold-500) !important;
  color: var(--navy-900) !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
}
.nav-cta:hover { background: var(--gold-400) !important; transform: translateY(-1px); }

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  padding: 180px 0 120px;
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
/* Gradient mesh effect */
.hero::before {
  content: '';
  position: absolute; top: -50%; left: -20%; width: 80%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(35, 78, 142, 0.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -30%; right: -10%; width: 60%; height: 150%;
  background: radial-gradient(ellipse at center, rgba(212, 168, 75, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin-bottom: 44px;
  line-height: 1.85;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-block; padding: 15px 30px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-sm); transition: all 0.25s; cursor: pointer;
  border: none; text-align: center;
}
.btn-primary {
  background: var(--gold-500); color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(212, 168, 75, 0.3);
}
.btn-primary:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212, 168, 75, 0.4); }
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover { border-color: var(--gold-400); color: var(--gold-400); transform: translateY(-2px); }

/* On section backgrounds */
.section .btn-secondary {
  color: var(--text); border-color: rgba(255,255,255,0.2);
}
.section .btn-secondary:hover { color: var(--gold-400); border-color: var(--gold-400); }

/* ── Cards ──────────────────────────────────────────────────────────── */

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 36px; position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(212, 168, 75, 0.15);
  transform: translateY(-4px);
  border-color: rgba(212, 168, 75, 0.2);
}
.card-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 0.8px;
}
.badge-available { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.badge-soon { background: rgba(234, 179, 8, 0.15); color: #fbbf24; }
.badge-launch { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.card-title {
  font-family: var(--font-heading); font-size: 1.45rem;
  color: var(--white); margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.card-text { color: var(--text-muted); margin-bottom: 18px; font-size: 0.95rem; line-height: 1.7; }
.card-link {
  font-weight: 600; color: var(--gold-500); font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}
.card-link:hover { color: var(--navy-600); gap: 8px; }

/* ── Services Grid ──────────────────────────────────────────────────── */

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px;
}
.service-item {
  text-align: center; padding: 24px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.service-item:hover { background: rgba(212, 168, 75, 0.06); }
.service-icon { font-size: 2.2rem; margin-bottom: 14px; }
.service-item h3 {
  font-family: var(--font-heading); font-size: 1.15rem;
  color: var(--white); margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

/* ── Credentials ────────────────────────────────────────────────────── */

.credentials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px;
}
.credential {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; background: var(--surface-card);
  border-radius: var(--radius-sm); font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.credential:hover {
  background: var(--surface-alt); border-color: var(--border-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.credential-icon { font-size: 1.4rem; flex-shrink: 0; }
.credential-text { color: var(--text); }

/* ── CTA Full ───────────────────────────────────────────────────────── */

.section-cta-full {
  padding: 90px 0;
  background: var(--navy-800);
  color: var(--white);
  position: relative; overflow: hidden;
}
.section-cta-full::before {
  content: '';
  position: absolute; top: -40%; right: -10%; width: 50%; height: 180%;
  background: radial-gradient(ellipse at center, rgba(212, 168, 75, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.section-cta-full .container { position: relative; z-index: 1; }
.section-cta-full h2 {
  font-family: var(--font-heading); font-size: 2.2rem; margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-cta-full p {
  color: rgba(255,255,255,0.6); font-size: 1.1rem; margin-bottom: 36px;
  max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* ── Product Page Hero ──────────────────────────────────────────────── */

.product-hero {
  padding: 150px 0 90px;
  background: var(--navy-900);
  color: var(--white);
  position: relative; overflow: hidden;
}
.product-hero::before {
  content: '';
  position: absolute; top: -30%; left: -15%; width: 70%; height: 180%;
  background: radial-gradient(ellipse at center, rgba(35, 78, 142, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.product-hero .container { position: relative; z-index: 1; }
.product-hero .hero-badge {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  padding: 6px 18px; border-radius: 20px; margin-bottom: 22px;
  text-transform: uppercase; letter-spacing: 1px;
}
.product-hero h1 {
  font-family: var(--font-heading); font-size: 3rem; line-height: 1.15;
  margin-bottom: 18px; letter-spacing: -0.03em;
}
.product-hero .hero-subtitle {
  font-size: 1.1rem; max-width: 560px; line-height: 1.8;
  color: rgba(255,255,255,0.65);
}

/* ── Feature List ───────────────────────────────────────────────────── */

.feature-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px;
}
.feature-list li {
  padding: 16px 20px; background: var(--surface-card); border-radius: var(--radius-sm);
  font-size: 0.95rem; color: var(--text);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.feature-list li:hover { background: var(--surface-alt); border-color: var(--border-light); }
.feature-list li::before { content: "✓ "; color: var(--gold-500); font-weight: 700; }

/* ── About Page ─────────────────────────────────────────────────────── */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-grid h3 {
  font-family: var(--font-heading); font-size: 1.4rem;
  color: var(--white); margin-bottom: 14px; letter-spacing: -0.01em;
}
.about-grid p { color: var(--text-muted); margin-bottom: 18px; line-height: 1.75; }

/* ── Contact Form ───────────────────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-weight: 600; margin-bottom: 8px;
  color: var(--text-muted); font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 18px; border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem;
  color: var(--text); background: var(--surface-card); transition: all 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.btn-submit {
  background: var(--gold-500); color: var(--navy-900);
  padding: 15px 34px; font-size: 1rem; font-weight: 600;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  font-family: var(--font-body); transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(212, 168, 75, 0.3);
}
.btn-submit:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212, 168, 75, 0.4); }

/* ── Footer ─────────────────────────────────────────────────────────── */

.footer {
  background: var(--navy-900); color: rgba(255,255,255,0.55);
  padding: 72px 0 36px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; font-weight: 600; letter-spacing: 0.02em; }
.footer-tagline { font-size: 0.88rem; margin-bottom: 14px; line-height: 1.7; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,0.5); font-size: 0.88rem; }
.footer a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.04); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px; font-size: 0.82rem;
}
.footer-trademark { margin-top: 8px; font-size: 0.75rem; color: rgba(255,255,255,0.28); }

/* ── Animations ─────────────────────────────────────────────────────── */

.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* ── Mobile ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .hero { padding: 130px 0 72px; }
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.7rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(6, 14, 31, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .product-hero h1 { font-size: 2.2rem; }
}
