/* Motionfy - Static Site Styles */

/* CSS Variables */
:root {
  --background: #0a0f1a;
  --foreground: #f8fafc;
  --primary: #2dd4bf;
  --primary-dark: #00d4aa;
  --muted: #94a3b8;
  --card: rgba(30, 41, 59, 0.5);
  --border: rgba(51, 65, 85, 0.3);
  --secondary: rgba(30, 41, 59, 0.5);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 48px;
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 24px 16px 0;
}

.navbar-inner {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-radius: 9999px;
  background: rgba(10, 15, 26, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.navbar-logo img {
  height: 100px;
  width: auto;
  mix-blend-mode: lighten;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 1024px) {
  .navbar-links {
    display: flex;
  }
}

.navbar-links a {
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.3s ease;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--foreground);
  background: var(--secondary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--background);
  font-weight: 600;
  font-size: 14px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: var(--background);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--foreground);
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  color: var(--primary);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  padding: 8px;
  background: var(--secondary);
  border: none;
  border-radius: 12px;
  color: var(--foreground);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 180px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(45, 212, 191, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card);
  border-radius: 9999px;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 64px;
  }
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-stats-avatars {
  display: flex;
}

.hero-stats-avatars span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--background);
  margin-left: -12px;
}

.hero-stats-avatars span:first-child {
  margin-left: 0;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 24px;
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: cover;
  background-color: var(--card);
}

.hero-image-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(10, 15, 26, 0.9);
  backdrop-filter: blur(12px);
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.hero-image-overlay .stat {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--card);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 48px;
  }
}

.section-header p {
  color: var(--muted);
  font-size: 18px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

/* Case Studies */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .case-studies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-study-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.case-study-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-study-card:hover img {
  transform: scale(1.1);
}

.case-study-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(10, 15, 26, 0.95), transparent);
}

.case-study-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  color: var(--background);
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.case-study-content h3 {
  font-size: 18px;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

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

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: var(--primary);
}

.team-card-image {
  aspect-ratio: 1;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-image img {
  transform: scale(1.1);
}

.team-card-content {
  padding: 24px;
}

.team-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--muted);
  font-size: 14px;
}

/* Stats */
.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item .icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  color: var(--primary);
}

.stat-item .value {
  font-size: 36px;
  font-weight: 700;
}

.stat-item .label {
  color: var(--muted);
  font-size: 14px;
}

/* Contact Form */
.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .contact-section {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--foreground);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--muted);
  font-size: 14px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(45, 212, 191, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 100px;
  margin-bottom: 24px;
  mix-blend-mode: lighten;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  max-width: 300px;
  margin-bottom: 24px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 12px;
  color: var(--muted);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--background);
}

.footer-links h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p,
.footer-bottom span {
  color: var(--muted);
  font-size: 14px;
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  padding: 24px;
}

.blog-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(45, 212, 191, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.blog-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}

/* Page Headers */
.page-header {
  padding: 200px 0 80px;
  text-align: left;
}

.page-header h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 64px;
  }
}

.page-header p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
}

/* Story Section */
.story-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .story-section {
    grid-template-columns: 1fr 1fr;
  }
}

.story-content h2 {
  font-size: 36px;
  margin-bottom: 24px;
}

.story-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

.story-image img {
  border-radius: 24px;
  width: 100%;
}

/* Timeline */
.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.timeline-item {
  padding: 16px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.timeline-item .year {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.timeline-item .event {
  font-size: 14px;
  color: var(--muted);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Map Section */
.map-section {
  height: 400px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  filter: invert(90%) hue-rotate(180deg);
}

.map-overlay {
  position: absolute;
  top: 32px;
  left: 32px;
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(12px);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.map-overlay h3 {
  margin-bottom: 8px;
}

.map-overlay p {
  color: var(--muted);
  font-size: 14px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 48px;
  }
}

.cta-section p {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-8 { margin-bottom: 32px; }
.mb-16 { margin-bottom: 64px; }
.mt-8 { margin-top: 32px; }
.hidden { display: none; }

@media (min-width: 768px) {
  .md-show { display: block; }
}
