/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Colors - Silver/Black Theme */
  --color-bg: #050505;
  --color-surface: rgba(20, 20, 20, 0.6);
  --color-surface-hover: rgba(40, 40, 40, 0.4);
  --color-text: #F5F5F5;
  --color-text-muted: #A0A0A0;
  --color-primary: #FFFFFF;
  --color-accent: #E0E0E0;
  /* Silver Accent */
  --color-border: rgba(255, 255, 255, 0.08);

  /* Gradients */
  --gradient-glow: radial-gradient(circle at top center, rgba(150, 150, 150, 0.15) 0%, transparent 60%);
  --gradient-card: linear-gradient(145deg, rgba(30, 30, 30, 0.4) 0%, rgba(10, 10, 10, 0.4) 100%);
  --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-text: linear-gradient(90deg, #FFFFFF 0%, #A0A0A0 100%);
  --gradient-silver: linear-gradient(135deg, #E0E0E0 0%, #808080 100%);

  /* Spacing */
  --spacing-container: 1200px;
  --spacing-section: 8rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--spacing-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: var(--spacing-section) 0;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--color-primary);
  color: #000000;
  border: 1px solid var(--color-primary);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-primary);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes glowPulse {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.5;
  }
}

@keyframes nudge {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.btn-nudge {
  animation: nudge 2s infinite ease-in-out;
  /* Removed delay to ensure visibility immediately */
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(16px);
  /* Strong glass effect */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 48px;
  /* Adjusted for logo file */
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link:hover {
  color: var(--color-primary);
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-bg);
  background-image: var(--gradient-glow);
  padding-top: 80px;
  overflow: hidden;
  position: relative;
}

/* Background Abstract Shape */
#hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  z-index: 2;
  position: relative;
}

.hero-logo-large {
  width: 140px;
  height: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
  animation: float 6s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(3.5rem, 9vw, 6rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--gradient-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

/* Glass shine effect on hover */
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: 0.5s;
}

.service-card:hover::after {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: var(--color-surface-hover);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 2rem;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.05);
  /* Icon background */
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-title {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.service-list {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.service-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: #FFFFFF;
  box-shadow: 0 0 8px #FFFFFF;
  border-radius: 50%;
}

/* Why Choose Us - Redesigned */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.why-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 3rem;
  border-radius: var(--radius-md);
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.15);
}

.why-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  font-family: 'Space Grotesk', sans-serif;
  opacity: 0.3;
}

.why-card h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  border: 1px solid var(--color-border);
  height: 400px;
  display: flex;
  flex-direction: column;
}

.portfolio-image {
  flex: 1;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  position: relative;
}

/* Overlay gradient on image */
.portfolio-image::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, #111, transparent);
}

.portfolio-content {
  padding: 2rem;
  background: #111;
  border-top: 1px solid var(--color-border);
}

.stat-highlight {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-silver);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

/* Process */
.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 5rem;
  position: relative;
  flex-wrap: wrap;
  gap: 2rem;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  min-width: 220px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: #000;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 2rem;
  transition: var(--transition-smooth);
  box-shadow: 0 0 0 8px var(--color-bg);
  /* Mask line */
}

.step-item:hover .step-number {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15), 0 0 0 8px var(--color-bg);
}

/* Contact */
.contact-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: rgba(20, 20, 20, 0.4);
  backdrop-filter: blur(10px);
  padding: 4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

footer {
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  background: #000;
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --spacing-section: 5rem;
  }

  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .process-steps::before {
    display: none;
  }

  .process-steps {
    flex-direction: column;
    gap: 3rem;
  }

  .step-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
  }

  .step-number {
    margin: 0;
    min-width: 60px;
  }

  .contact-container {
    padding: 2rem;
  }
}