/* =============================================================================
   File: assets/css/main.css
   Project: Artistic Bytes Website
   Version: 1.6.0
   Status: Refined Shared Stylesheet
   Author: SkySage + SpaceSage
   =============================================================================
   Purpose:
   Shared styling for all public website pages.

   Design Goals:
   - modern, premium, tech-forward
   - strong readability
   - mobile-friendly
   - future-proof design tokens
   - scalable utility classes for later expansion
   - polished startup-style header and page rhythm

   TODO (NEXT):
   - add theme switcher if needed
   - split into modular files when project grows
   - add dedicated product page styles
   - add animation utilities
   - add subtle hero glow / motion accents
   ========================================================================== */

   :root {
    --color-bg: #0b0b0f;
    --color-surface: #12131a;
    --color-surface-2: #1a1c24;
    --color-text: #f5f7fa;
    --color-text-muted: #a7afbf;
    --color-line: rgba(255, 255, 255, 0.08);
  
    --color-accent: #7c5cff;
    --color-accent-2: #34d5ff;
    --color-accent-3: #9b8cff;
  
    --color-success: #3ddc97;
    --color-warning: #ffb84d;
    --color-danger: #ff6b6b;
  
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
  
    --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.28);
    --container-width: 1180px;
  
    --transition-fast: 180ms ease;
    --transition-medium: 260ms ease;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background:
      radial-gradient(circle at top right, rgba(124, 92, 255, 0.18), transparent 20%),
      radial-gradient(circle at bottom left, rgba(52, 213, 255, 0.10), transparent 24%),
      var(--color-bg);
  }
  
  img {
    display: block;
    max-width: 100%;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  .container {
    width: min(100% - 2rem, var(--container-width));
    margin-inline: auto;
  }
  
  /* ==========================================================================
     HEADER / NAV
     ========================================================================== */
  
  .site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(11, 11, 15, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  .nav-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 1rem;
  }
  
  .brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
  }
  
  .brand__logo-badge {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.25),
      0 0 0 6px rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  }
  
  .brand:hover .brand__logo-badge {
    transform: translateY(-1px);
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.28),
      0 0 0 6px rgba(124, 92, 255, 0.06);
  }
  
  .brand__logo {
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
  }
  
  .brand__text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }
  
  .brand__title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }
  
  .brand__subtitle {
    font-size: 0.74rem;
    color: var(--color-text-muted);
  }
  
  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    border-radius: 999px;
  }
  
  .nav-link {
    padding: 0.85rem 1rem;
    border-radius: 999px;
    color: var(--color-text-muted);
    transition:
      background var(--transition-fast),
      color var(--transition-fast),
      transform var(--transition-fast);
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.06);
  }
  
  .nav-link:hover {
    transform: translateY(-1px);
  }
  
  .nav-link--button {
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  }
  
  .nav-link--button:hover,
  .nav-link--button.active {
    color: white;
    filter: brightness(1.04);
  }
  
  .nav-toggle {
    display: none;
    width: 52px;
    height: 52px;
    padding: 0;
    cursor: pointer;
    border-radius: 14px;
    border: 1px solid var(--color-line);
    background: rgba(255, 255, 255, 0.04);
  }
  
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: white;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }
  
  /* ==========================================================================
     HERO
     ========================================================================== */
  
  .hero {
    position: relative;
    padding: 6rem 0 3rem;
    overflow: hidden;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.22), transparent 68%);
    filter: blur(20px);
    pointer-events: none;
  }
  
  .hero::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(52, 213, 255, 0.14), transparent 68%);
    filter: blur(20px);
    pointer-events: none;
  }
  
  .hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
  }
  
  .eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-2);
  }
  
  .hero__title,
  .page-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 4vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }
  
  .hero__text,
  .page-intro {
    max-width: 62ch;
    font-size: 1.08rem;
    color: var(--color-text-muted);
  }
  
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 2rem 0 1.5rem;
  }
  
  .hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .hero__tags span {
    padding: 0.65rem 0.95rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-line);
    border-radius: 999px;
  }
  
  .glass-card,
  .content-card,
  .feature-card,
  .product-card,
  .cta-panel,
  .manifesto-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
      rgba(18, 19, 26, 0.72);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .hero__card {
    padding: 1.5rem;
  }
  
  .hero__announce {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.6rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-line);
    border-radius: 999px;
  }
  
  .hero__announce-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    flex: 0 0 8px;
    border-radius: 50%;
    background-color: #8ff0bf;
    box-shadow: 0 0 14px rgba(143, 240, 191, 0.9);
  }
  
  .hero__card-top,
  .status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.6rem;
  }
  
  .hero__card-logo-badge {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    overflow: hidden;
  }
  
  .hero__card-logo {
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
  }
  
  .status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #8ff0bf;
    background: rgba(61, 220, 151, 0.12);
    border: 1px solid rgba(61, 220, 151, 0.28);
    border-radius: 999px;
  }
  
  /* ==========================================================================
     BUTTONS
     ========================================================================== */
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 1.2rem;
    font-weight: 700;
    border-radius: 14px;
    transition:
      transform var(--transition-fast),
      filter var(--transition-fast),
      box-shadow var(--transition-fast);
  }
  
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  }
  
  .btn--primary {
    color: white;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  }
  
  .btn--secondary {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-line);
  }
  
  /* ==========================================================================
     PAGE LAYOUT
     ========================================================================== */
  
  .page-shell {
    padding-bottom: 3rem;
  }
  
  .page-hero {
    padding: 4rem 0 2rem;
  }
  
  .section {
    padding: 2rem 0 4rem;
  }
  
  .section--alt {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
  }
  
  .section-heading {
    max-width: 740px;
    margin-bottom: 2rem;
  }
  
  .section-heading h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.1;
  }
  
  .section-heading p {
    color: var(--color-text-muted);
  }
  
  /* ==========================================================================
     GRIDS / CARDS
     ========================================================================== */
  
  .card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  
  .content-grid,
  .manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  
  .feature-card,
  .product-card,
  .content-card {
    padding: 1.5rem;
    transition:
      transform var(--transition-medium),
      border-color var(--transition-medium),
      box-shadow var(--transition-medium);
  }
  
  .product-card--large {
    min-height: 100%;
  }
  
  .manifesto-card {
    padding: 1.75rem;
    transition:
      transform var(--transition-medium),
      border-color var(--transition-medium),
      box-shadow var(--transition-medium);
  }
  
  .feature-card h3,
  .product-card h2,
  .product-card h3,
  .content-card h2,
  .manifesto-card h2 {
    margin-top: 0;
  }
  
  .feature-card p,
  .product-card p,
  .content-card p,
  .manifesto-card p {
    color: var(--color-text-muted);
  }
  
  .manifesto-card:hover,
  .feature-card:hover,
  .product-card:hover,
  .content-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 92, 255, 0.26);
    box-shadow:
      0 18px 50px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(124, 92, 255, 0.06);
  }
  
  /* ==========================================================================
     INFO LISTS
     ========================================================================== */
  
  .info-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .info-list li {
    padding: 0.7rem 0;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-line);
  }
  
  .info-list li:last-child {
    border-bottom: 0;
  }
  
  .info-list strong {
    color: var(--color-text);
  }
  
  /* ==========================================================================
     CTA
     ========================================================================== */
  
  .cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
    transition:
      transform var(--transition-medium),
      border-color var(--transition-medium),
      box-shadow var(--transition-medium);
  }
  
  /* ==========================================================================
     STUDIO PAGE / PREMIUM VISUAL POLISH
     ========================================================================== */
  
  .page-hero--glow {
    position: relative;
    overflow: hidden;
  }
  
  .page-hero--glow::before {
    content: "";
    position: absolute;
    inset: auto -10% -30% auto;
    width: 320px;
    height: 320px;
    pointer-events: none;
    filter: blur(10px);
    background: radial-gradient(circle, rgba(124, 92, 255, 0.24), transparent 68%);
  }
  
  .page-hero--glow::after {
    content: "";
    position: absolute;
    inset: -10% auto auto -10%;
    width: 260px;
    height: 260px;
    pointer-events: none;
    filter: blur(10px);
    background: radial-gradient(circle, rgba(52, 213, 255, 0.16), transparent 68%);
  }
  
  .section-accent-line {
    width: 92px;
    height: 4px;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  }
  
  /* ==========================================================================
     FOOTER
     ========================================================================== */
  
  .site-footer {
    padding-top: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--color-line);
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.5rem;
  }
  
  .footer-grid p,
  .footer-list li,
  .footer-list a {
    color: var(--color-text-muted);
  }
  
  .footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .footer-list li {
    margin-bottom: 0.65rem;
  }
  
  .footer-bottom {
    margin-top: 2rem;
    padding: 1.5rem 0 2rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-line);
  }
  
  /* ==========================================================================
     RESPONSIVE
     ========================================================================== */
  
  @media (max-width: 980px) {
    .hero__grid,
    .card-grid,
    .content-grid,
    .manifesto-grid,
    .footer-grid,
    .cta-panel {
      grid-template-columns: 1fr;
    }
  
    .cta-panel {
      align-items: flex-start;
    }
  
    .site-nav {
      position: absolute;
      top: calc(100% + 0.75rem);
      right: 1rem;
      left: 1rem;
      display: none;
      flex-direction: column;
      align-items: stretch;
      padding: 1rem;
      border: 1px solid var(--color-line);
      border-radius: 20px;
      background: rgba(18, 19, 26, 0.96);
      box-shadow: var(--shadow-soft);
    }
  
    .site-nav.open {
      display: flex;
    }
  
    .nav-link {
      width: 100%;
    }
  
    .nav-toggle {
      display: block;
    }
  }
  
  @media (max-width: 680px) {
    .hero {
      padding-top: 3.5rem;
    }
  
    .hero__title,
    .page-hero h1 {
      font-size: clamp(2rem, 10vw, 3rem);
      line-height: 1.1;
    }
  
    .brand__subtitle {
      display: none;
    }
  
    .brand__logo-badge {
      width: 50px;
      height: 50px;
    }
  
    .brand__logo {
      width: 80%;
      height: 80%;
    }
  
    .hero__card-logo-badge {
      width: 80px;
      height: 80px;
      border-radius: 16px;
    }
  
    .hero__card-logo {
      width: 80%;
      height: 80%;
    }
  
    .hero__actions {
      flex-direction: column;
    }
  
    .btn {
      width: 100%;
    }
  }