@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-base: #0D0F14;
  --color-base-dark: #0A0C11;
  --color-base-deep: #070810;
  --color-card-surface: #13161F;
  --color-primary: #4F6EF7;
  --color-primary-light: #6B8AFF;
  --color-navy: #0D0F14;
  --color-blue: #4F6EF7;
  --color-blue-dark: #6B8AFF;
  --color-white: #FFFFFF;
  --color-secondary: #E0E0E0;
  --color-muted: #BEBEBE;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-error: #EF4444;
  --color-success: #22C55E;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  background: var(--color-base);
}

body {
  font-family: var(--font-body);
  background: var(--color-base);
  color: var(--color-white);
  line-height: 1.6;
  antialiased: true;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--color-base-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-primary-light);
}

/* Containers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

/* Sections */
.section-navy {
  background: var(--color-navy);
  padding: 2rem 1.5rem;
}

@media (max-width: 640px) {
  .section-navy {
    padding: 2rem 1rem;
  }
}

@media (min-width: 1024px) {
  .section-navy {
    padding: 3rem;
  }
}

.section-deep {
  background: var(--color-base-deep);
  padding: 2rem 1.5rem;
}

@media (max-width: 640px) {
  .section-deep {
    padding: 2rem 1rem;
  }
}

@media (min-width: 1024px) {
  .section-deep {
    padding: 3rem;
  }
}

/* Navigation */
nav {
  background: rgba(13, 15, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
}

nav.scrolled {
  background: rgba(13, 15, 20, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-logo .logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-logo .name-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .nav-logo {
    gap: 0.125rem;
  }
  
  .nav-logo .logo-img,
  .nav-logo .name-img {
    height: 32px;
  }
}

.nav-links {
  display: none;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--color-blue);
}

.nav-link.active {
  color: var(--color-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-blue);
  transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(13, 15, 20, 0.98);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  min-width: 280px;
  margin-top: 0.5rem;
  display: none;
  flex-direction: column;
  padding: 0.5rem 0;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-item {
  padding: 0.75rem 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: block;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: rgba(79, 172, 254, 0.1);
  color: var(--color-blue);
  padding-left: 1.5rem;
}

.menu-toggle {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 24px;
  cursor: pointer;
  display: block;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(13, 15, 20, 0.98);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.mobile-menu.active {
  display: flex;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-base-deep) 0%, var(--color-navy) 100%);
  overflow: hidden;
}

@media (max-width: 640px) {
  .hero {
    min-height: 90vh;
  }
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .hero-content {
    padding: 2rem 1rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79, 110, 247, 0.1);
  border: 1px solid rgba(79, 110, 247, 0.3);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 12px;
  color: var(--color-blue);
  margin-bottom: 1.5rem;
}

.hero-dot {
  width: 6px;
  height: 6px;
  background: var(--color-blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  margin: 1rem 0;
  line-height: 1.1;
  background: linear-gradient(180deg, var(--color-white) 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-accent {
  color: var(--color-blue);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.7);
  margin: 1.5rem 0 2rem 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
}

@media (max-width: 640px) {
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 15px;
  }
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 110, 247, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 12px;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 16px;
}

/* Cards */
.card {
  background: var(--color-card-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

@media (max-width: 640px) {
  .card {
    padding: 1.5rem;
    border-radius: 10px;
  }
}

.card:hover {
  border-color: var(--color-blue);
  box-shadow: 0 8px 32px rgba(79, 110, 247, 0.15);
  transform: translateY(-4px);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

@media (max-width: 640px) {
  .grid {
    gap: 1.5rem;
  }
}

.grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79, 110, 247, 0.1);
  border: 1px solid rgba(79, 110, 247, 0.3);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 12px;
  color: var(--color-blue);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.3s ease;
}

@media (max-width: 640px) {
  input,
  textarea,
  select {
    padding: 1rem;
    font-size: 16px;
    border-radius: 10px;
  }
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-blue);
  background: rgba(79, 110, 247, 0.1);
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.15);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Select styling */
select {
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="rgb(79, 110, 247)" stroke-width="2"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

select option {
  background: var(--color-base-deep);
  color: var(--color-white);
  padding: 0.5rem;
}

select option:checked {
  background: linear-gradient(var(--color-blue), var(--color-blue));
  background-color: var(--color-blue) !important;
  color: var(--color-white) !important;
}

/* Footer */
footer {
  background: var(--color-base-deep);
  border-top: 1px solid var(--color-border);
  padding: 4rem 1.5rem 2rem;
  margin-top: 4rem;
}

@media (max-width: 640px) {
  footer {
    padding: 2rem 1rem 1.5rem;
  }
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.footer-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--color-blue);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: rgba(255, 255, 255, 0.6);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mt-8 { margin-top: 4rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 4rem; }

.px-2 { padding: 0 1rem; }
.px-4 { padding: 0 2rem; }
.py-2 { padding: 1rem 0; }
.py-4 { padding: 2rem 0; }
.py-8 { padding: 4rem 0; }

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.gap-2 {
  gap: 1rem;
}

.gap-4 {
  gap: 2rem;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
}

.whatsapp-fab svg {
  width: 55px;
  height: 55px;
  fill: white;
}

.whatsapp-fab .whatsapp-icon {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-up {
  animation: slideInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .whatsapp-fab {
    width: 75px;
    height: 75px;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .whatsapp-fab svg {
    width: 45px;
    height: 45px;
  }

  .whatsapp-fab .whatsapp-icon {
    width: 45px;
    height: 45px;
  }
}

/* Client Portfolio Filter Buttons */
.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(79, 172, 254, 0.15);
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.filter-btn.active {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: white;
}

/* Client Cards */
.client-card {
  background: var(--color-card-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.client-card:hover {
  border-color: var(--color-blue);
  background: rgba(79, 172, 254, 0.05);
  transform: translateY(-4px);
}

.client-card.hidden {
  display: none;
}
