/* Base */
:root {
  --bg: #000000;
  --bg-card: #0a0a0a;
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --border: #1a1a1a;
  --shadow: 0 4px 20px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; height: auto; }

.container-full {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

@media (max-width: 768px) {
  .container-full { padding: 0 1.5rem; }
}

/* Header specific container adjustment */
.site-header .container-full {
  padding-left: 5rem;
}

@media (max-width: 768px) {
  .site-header .container-full { padding-left: 1.5rem; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: var(--primary);
  color: white;
  padding: .5rem .75rem;
  border-radius: .5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.85);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  position: relative;
  gap: 3rem;
}
.brand-logo {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}
.brand-logo img {
  height: 50px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .brand-logo img {
    height: 40px;
  }
}
.nav { 
  display: none;
  margin-right: auto;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav a:first-child {
  margin-left: 0;
}
.nav a:hover { color: var(--text); }

.nav-burger { cursor: pointer; }
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle { display: none; }
.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-burger { display: none; }
}

/* Mobile nav panel */
@media (max-width: 899px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: rgba(0,0,0,0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem 4rem;
  }
  .nav a { display: block; padding: .75rem 0; margin: 0; }
  .nav-toggle:checked ~ .nav { display: block; }
}

/* Hero */
.hero {
  padding: 6rem 0 4rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content {
  max-width: 600px;
}
.hero-image {
  display: flex;
  justify-content: flex-end;
}
.hero-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin: 0 0 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  color: var(--text-muted);
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}
.btn-secondary {
  color: var(--text);
  background: var(--primary-hover);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}
.section-title {
  margin: 0 0 3rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-icon {
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.service-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.section-subtitle {
  color: #d1d5db; /* light gray text for dark background */
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-subtitle .highlight {
  background: linear-gradient(90deg, #00b4d8, #48cae4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.learn-more {
  color: #00b4d8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.learn-more:hover {
  color: var(--primary-hover);
}

/* Results Section */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}
.result-item {
  text-align: left;
}
.result-label {
  color: #00b4d8;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.result-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  line-height: 1;
}
.result-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.results-section {
  background-color: #0f172a;
  color: #f8fafc;
  padding: 80px 20px;
  text-align: center;
}

.results-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.results-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.6;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  justify-content: center;
}

.result-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.result-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.25);
}

.result-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 10px rgba(56,189,248,0.5);
}

.result-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.8rem;
}

.result-note {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.results-cta {
  margin-top: 3.5rem;
  font-size: 1.1rem;
  color: #e2e8f0;
}

.results-cta .cta-link {
  display: inline-block;
  margin-top: 0.6rem;
  background-color: #38bdf8;
  color: #0f172a;
  padding: 0.7rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.results-cta .cta-link:hover {
  background-color: #0ea5e9;
}


/* Portfolio Section */
.portfolio-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.tab-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--text);
}
.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.portfolio-img {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.portfolio-card:hover .portfolio-img img {
  transform: scale(1.05);
}
.portfolio-info {
  padding: 1.25rem;
}
.portfolio-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.portfolio-metric {
  color: #00b4d8;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

/* Testimonials Section */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2.5rem;
  max-width: 800px;
}
.testimonial-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
}
.testimonial-content blockquote {
  margin: 0;
}
.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}
.testimonials-section {
  background-color: #020617;
  color: #f8fafc;
  padding: 80px 20px;
  text-align: center;
}

.testimonials-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.testimonial-card {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.25);
}

.testimonial-quote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e2e8f0;
  font-style: italic;
  margin-bottom: 1rem;
}

.author-info {
  font-size: 0.95rem;
  color: #94a3b8;
}

.author-name {
  font-weight: 600;
  color: #38bdf8;
}

/* CTA Section */

.cta-section {
  background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
  color: #f8fafc;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56,189,248,0.15), transparent 70%);
  transform: translateX(-50%);
  z-index: 0;
}

.cta-container {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
}

.cta-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-subtext {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons a {
  display: inline-block;
  margin: 0.5rem;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
  border: 2px solid #3b82f6;
  color: #3b82f6;
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-3px);
}

.cta-trust {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.cta-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, rgba(37,99,235,0.05), transparent);
}
.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding: 3rem 0;
  flex-wrap: wrap;
}
.cta-content {
  flex: 1;
  min-width: 300px;
}
.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.cta-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 280px;
}
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}
.footer-nav-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: var(--text);
}
.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-col li {
  margin-bottom: 0.75rem;
}
.footer-nav-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-nav-col a:hover {
  color: var(--text);
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 4rem 0 3rem; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image { justify-content: center; order: -1; }
  .hero-image img { max-width: 100%; }
  .hero-title { font-size: 2rem; }
  .section { padding: 3rem 0; }
  .section-title { margin-bottom: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; gap: 2rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonial-content { flex-direction: column; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .cta-buttons { width: 100%; }
  .footer-nav-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
