/* ============================================
   HALTON DIGITAL & AI - SHARED STYLES
   ============================================ */

:root {
  --ink: #0a0e27;
  --ink2: #1a1f3a;
  --surface: #131829;
  --border: rgba(255, 255, 255, 0.08);
  --border2: rgba(255, 255, 255, 0.12);
  --cyan: #00d9ff;
  --cyan2: #00a8cc;
  --amber: #ffc107;
  --text: #e8eef8;
  --muted: #a0a9c3;
  --error: #ff6b6b;
  --success: #51cf66;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, var(--ink) 0%, var(--surface) 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: #ffffff;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  color: #ffffff;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #ffffff;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  color: var(--text);
}

p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--cyan2);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 14, 39, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--cyan);
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

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

nav a.active {
  color: var(--cyan);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
}

.cta-btn {
  background: var(--cyan);
  color: var(--ink);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  background: var(--cyan2);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 217, 255, 0.3);
}

.cta-btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  padding: 0.65rem 1.4rem;
}

.cta-btn-outline:hover {
  background: rgba(0, 217, 255, 0.1);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 2rem;
}

.section-label {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease-out;
}

.hero h1 span {
  color: var(--cyan);
  display: block;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* ============================================
   CARDS & GRID
   ============================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: linear-gradient(135deg, var(--ink2) 0%, rgba(26, 31, 58, 0.5) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.card:hover {
  border-color: var(--cyan);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 217, 255, 0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 217, 255, 0.1);
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  background: var(--cyan);
  color: var(--ink);
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  font-size: 0.95rem;
}

.card-badge {
  display: inline-block;
  background: rgba(255, 193, 7, 0.2);
  color: var(--amber);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 1rem;
  border: 1px solid rgba(255, 193, 7, 0.4);
}

/* ============================================
   FEATURES & BENEFITS
   ============================================ */

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.feature-list li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.05) 0%, transparent 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.testimonial-quote {
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 500;
}

input, textarea, select {
  width: 100%;
  padding: 0.875rem;
  background: var(--ink2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--ink2);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--muted);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--cyan);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item strong {
  color: var(--cyan);
  min-width: 80px;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--cyan);
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  header {
    padding: 1rem;
  }

  .header-container {
    gap: 1rem;
  }

  nav {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .hero {
    padding: 6rem 1.5rem 2rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .cta-btn {
    width: 100%;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  nav {
    gap: 0.75rem;
    font-size: 0.8rem;
  }

  .section {
    padding: 3rem 1rem;
  }
}
