
/* ════════════════════════════════════════
   Cosmic Tortuga — Dark Space Theme
   ════════════════════════════════════════ */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a24;
  --text-primary: #e8e8f0;
  --text-secondary: #a0a0b0;
  --accent: #4fc3f7;
  --accent-hover: #29b6f6;
  --border: #2a2a35;
  --glow: rgba(79, 195, 247, 0.15);
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
}

/* ═════ Navigation ═════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 2.5rem;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  height: 42px;
  width: auto;
  border-radius: 4px;
}

.product-header {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  margin-bottom: 1.25rem;
}

.product-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}

.tagline {
  font-style: italic;
  color: var(--accent);
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* News */
.news-date {
  display: block;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

.news-item h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 0.75rem;
}

/* Contact */
.service-item a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.service-item a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

@media (max-width: 480px) {
  .product-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .product-logo {
    width: 72px;
    height: 72px;
  }
}

.nav-title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ═════ Hero ═════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(79, 195, 247, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 90, 246, 0.06) 0%, transparent 50%),
    var(--bg-primary);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #e8e8f0 0%, #4fc3f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-logo {
  width: 260px;
  height: auto;
  max-width: 80vw;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ═════ Page Header ═════ */
.page-header {
  padding: 8rem 2rem 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(79, 195, 247, 0.08) 0%, transparent 60%),
    var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #e8e8f0 0%, #4fc3f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ═════ Sections ═════ */
.section {
  padding: 5rem 2rem;
}

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

.section-cta {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 50%, var(--glow) 0%, transparent 70%),
    var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.section p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  max-width: 800px;
}

/* ═════ Cards / Grids ═════ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ═════ Services / Products ═════ */
.service-item,
.product-item {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.service-item:last-child,
.product-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-item h2,
.product-item h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.service-item p,
.product-item p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 800px;
}

/* ═════ Buttons ═════ */
.cta-button {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--bg-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(79, 195, 247, 0.25);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(79, 195, 247, 0.35);
}

/* ═════ Footer ═════ */
.footer {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ═════ Mobile ═════ */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .hero {
    padding-top: 8rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
