/* ═══════════════════════════════════════════════════════════
   ARTANA PREMIUM — Design System v2.0
   Typography: Plus Jakarta Sans + Cormorant Garamond
   Palette: Deep Navy + Cyan + Forest Green + Off-White
═══════════════════════════════════════════════════════════ */

:root {
  /* Colors */
  --navy-900: #0a0f1a;
  --navy-800: #0d1424;
  --navy-700: #111b2e;
  --navy-600: #162238;
  --navy-500: #1c2a42;
  
  --cyan-500: #00d4e8;
  --cyan-400: #33e0f0;
  --cyan-300: #66ebf5;
  --cyan-600: #00a8b8;
  
  --green-500: #22c55e;
  --green-400: #4ade80;
  --green-600: #16a34a;
  
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--navy-900);
  color: var(--gray-100);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════════ */

.font-serif {
  font-family: var(--font-serif);
}

.text-display {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.text-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.text-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.text-body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-300);
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-400);
}

.text-accent {
  color: var(--cyan-500);
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: 1200px;
}

.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-dark {
  background: var(--navy-800);
}

.section-darker {
  background: var(--navy-900);
}

/* ═══════════════════════════════════════════════════════════
   GLASSMORPHISM
═══════════════════════════════════════════════════════════ */

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: var(--transition-base);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--cyan-500);
  color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--cyan-400);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 212, 232, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--cyan-500);
  color: var(--cyan-500);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-300);
  padding: var(--space-3) var(--space-6);
}

.btn-ghost:hover {
  color: var(--cyan-500);
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-4) 0;
  transition: var(--transition-base);
}

.nav.scrolled {
  background: rgba(10, 15, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-3) 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav-logo {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-300);
  position: relative;
  padding: var(--space-2) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-500);
  transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

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

.nav-cta {
  background: var(--cyan-500);
  color: var(--navy-900);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--cyan-400);
  transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-base);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-900);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    z-index: 999;
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(0, 212, 232, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 212, 232, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 232, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(0, 212, 232, 0.1);
  border: 1px solid rgba(0, 212, 232, 0.2);
  color: var(--cyan-500);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-6);
  width: fit-content;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--cyan-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero-title .accent {
  color: var(--cyan-500);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-300);
  max-width: 540px;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: flex;
  gap: var(--space-12);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cyan-500);
  line-height: 1;
  font-family: var(--font-serif);
  font-style: italic;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-2);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.hero-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  animation: float 6s ease-in-out infinite;
}

.hero-card:nth-child(2) { animation-delay: -1.5s; }
.hero-card:nth-child(3) { animation-delay: -3s; }
.hero-card:nth-child(4) { animation-delay: -4.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.hero-card-desc {
  font-size: 0.875rem;
  color: var(--gray-400);
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════════════════════ */

.marquee {
  background: var(--cyan-500);
  padding: var(--space-4) 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: var(--space-12);
  animation: marquee 40s linear infinite;
}

.marquee-item {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-900);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════════════════════ */

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan-500);
  margin-bottom: var(--space-4);
}

.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--cyan-500);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.section-title .accent {
  color: var(--cyan-500);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--gray-300);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT CARDS
═══════════════════════════════════════════════════════════ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

.product-card {
  background: var(--navy-700);
  border: 1px solid var(--navy-500);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-500), var(--green-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
}

.product-card:hover {
  border-color: var(--cyan-500);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
}

.product-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.product-desc {
  font-size: 0.9375rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--cyan-500);
  font-weight: 600;
  font-size: 0.9375rem;
}

.product-link:hover {
  gap: var(--space-3);
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
}

.testimonial-quote {
  font-size: 4rem;
  color: var(--cyan-500);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-4);
  font-family: var(--font-serif);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--navy-600);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-200);
}

.testimonial-name {
  font-weight: 600;
  color: var(--navy-800);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--gray-500);
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   TEAM
═══════════════════════════════════════════════════════════ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-2xl);
  background: var(--navy-600);
  margin-bottom: var(--space-4);
  overflow: hidden;
}

.team-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.team-role {
  font-size: 0.9375rem;
  color: var(--cyan-500);
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════════ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  background: var(--navy-600);
  overflow: hidden;
  position: relative;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-6);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */

.footer {
  background: var(--navy-800);
  padding: var(--space-20) 0 var(--space-8);
  border-top: 1px solid var(--navy-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer-desc {
  color: var(--gray-400);
  line-height: 1.7;
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: var(--space-6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  color: var(--gray-400);
  transition: var(--transition-base);
}

.footer-link:hover {
  color: var(--cyan-500);
  padding-left: var(--space-2);
}

.footer-bottom {
  border-top: 1px solid var(--navy-600);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: var(--gray-500);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Parallax */
.parallax {
  will-change: transform;
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--cyan-500);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}