/* ===============================================
   BASE VARIABLES & RESET
=============================================== */
:root {
  /* Colors - Dark/White/Metallic theme */
  --bg-dark: #050505;
  --bg-darker: #000000;
  --bg-panel: #0d0d0d;
  --bg-panel-light: #161616;
  
  --text-main: #f0f0f0;
  --text-muted: #999999;
  --text-dark: #333333;
  --white: #ffffff;
  
  /* Metallic Accents */
  --silver-light: #e0e0e0;
  --silver-mid: #a0a0a0;
  --silver-dark: #444444;
  
  /* Gradients */
  --metallic-gradient: linear-gradient(135deg, var(--silver-light) 0%, var(--silver-mid) 40%, var(--silver-dark) 100%);
  --metallic-gradient-text: linear-gradient(to right, #ffffff 0%, #a0a0a0 100%);
  --glass-bg: rgba(20, 20, 20, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  /* Layout */
  --container-width: 1280px;
  --section-padding: 100px 0;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===============================================
   TYPOGRAPHY
=============================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.75rem;
}

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

/* ===============================================
   UTILITY CLASSES
=============================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient {
  background: var(--metallic-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 800px;
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 2px;
  color: var(--silver-mid);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 2px;
  background: var(--metallic-gradient);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  font-family: var(--font-primary);
  text-decoration: none;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--metallic-gradient);
  color: var(--bg-dark);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(220, 220, 220, 0.15);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--bg-dark);
}

/* Glass Panels */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}

/* ===============================================
   NAVIGATION
=============================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 2px;
}

.logo-accent {
  color: var(--silver-mid);
  font-weight: 300;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--white);
  transition: var(--transition-normal);
}

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  flex-direction: column;
}

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

/* Responsive Menu */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1.5rem;
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.5s ease-in-out;
  }
  
  .nav-links.active {
    clip-path: circle(150% at 100% 0);
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ===============================================
   ANIMATIONS & REVEALS
=============================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-dark) 70%);
  background-image: 
    linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.95)),
    /* Wireframe grid emulation */
    linear-gradient(var(--glass-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  background-position: center;
  z-index: -1;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  color: var(--silver-light);
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* ===============================================
   SECTION: ABOUT
=============================================== */
.section-padding {
  padding: var(--section-padding);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 2rem;
  color: var(--white);
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--silver-dark);
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--metallic-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-slow);
}

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

.info-card .card-icon {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--silver-dark);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.info-card h3 {
  margin-bottom: 1rem;
  color: var(--white);
}

/* ===============================================
   SECTION: VALUES
=============================================== */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
}

.value-item {
  flex: 1 1 30%;
  min-width: 250px;
  padding: 2rem;
  border-radius: 8px;
  border-left: 2px solid var(--silver-dark);
  transition: var(--transition-normal);
}

.value-item:hover {
  border-left-color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.value-item h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.value-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===============================================
   SECTION: SERVICES
=============================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  padding: 2.5rem 2rem;
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-light);
  border-radius: 8px;
  position: relative;
  transition: var(--transition-normal);
}

.service-card:hover {
  background: var(--bg-panel-light);
  border-color: var(--silver-dark);
  transform: translateY(-5px);
}

.service-number {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2rem;
  color: var(--silver-mid);
  margin-bottom: 1.5rem;
  display: inline-block;
  border-bottom: 2px solid var(--silver-dark);
  padding-bottom: 0.5rem;
}

.service-card h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===============================================
   SECTION: AUDIENCES & VALUE PROP
=============================================== */
.audiences-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.table-container {
  overflow-x: auto;
  margin-top: 2rem;
}

.audience-table {
  width: 100%;
  border-collapse: collapse;
}

.audience-table th {
  text-align: left;
  padding: 1rem;
  color: var(--white);
  font-family: var(--font-display);
  border-bottom: 1px solid var(--silver-mid);
}

.audience-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.95rem;
}

.audience-table tr:last-child td {
  border-bottom: none;
}

.audience-table td strong {
  color: var(--white);
  font-weight: 600;
}

.value-prop-card {
  padding: 3rem;
  border-radius: 12px;
}

.prop-item {
  margin-bottom: 2rem;
}

.prop-item h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.bold-statement {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  padding: 1.5rem 0;
}

.bold-statement p {
  color: inherit;
  margin-bottom: 0;
  font-size: inherit;
}

.metallic-divider {
  border: none;
  height: 1px;
  background: var(--metallic-gradient);
  margin: 2rem 0;
  opacity: 0.5;
}

.business-model-list {
  list-style: none;
  padding: 0;
}

.business-model-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.business-model-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--silver-mid);
}

.business-model-list strong {
  color: var(--white);
}

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

/* ===============================================
   SECTION: PORTFOLIO & TESTIMONIALS
=============================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-card {
  padding: 3rem 2rem;
  border-top: 3px solid var(--silver-dark);
  transition: var(--transition-normal);
}

.portfolio-card:hover {
  border-top-color: var(--white);
  transform: translateY(-5px);
}

.portfolio-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.portfolio-card .subtitle {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.portfolio-card p:not(.subtitle) {
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  padding: 2.5rem;
  position: relative;
  border-left: 3px solid var(--silver-dark);
}

.testimonial-card .quote {
  font-size: 1.1rem;
  color: var(--white);
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--silver-mid);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* ===============================================
   SECTION: CONTACT
=============================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.contact-form-container {
  padding: 3rem;
}

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

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--silver-mid);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--silver-dark);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-primary);
  transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--white);
  background: var(--bg-panel);
}

.w-100 {
  width: 100%;
  margin-top: 1rem;
}

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

/* ===============================================
   SECTION: FOOTER
=============================================== */
.footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--silver-mid);
}

.footer-links h4, .footer-contact h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-btn {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
}

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

/* ===============================================
   PREMIUM MOBILE OPTIMIZATIONS
=============================================== */
@media (max-width: 900px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .hero {
    padding-top: 120px;
    text-align: center;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin: 0 auto 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  .about-grid, .footer-grid, .audiences-grid, .contact-grid, .portfolio-grid {
    gap: 2.5rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
    margin-bottom: 1.5rem;
  }
  
  .info-card, .service-card, .portfolio-card, .testimonial-card, .contact-form-container {
    padding: 2.25rem 1.5rem;
  }
  
  .value-prop-card, .portfolio-showcase {
    padding: 2rem 1.5rem;
  }
  
  .service-number {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .footer {
    padding: 4rem 0 2rem;
  }
}

@media (max-width: 900px) {
  .about-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
