:root {
  --primary: #4060E0;
  --primary-glow: rgba(64, 96, 224, 0.3);
  --secondary: #A0E040;
  --secondary-glow: rgba(160, 224, 64, 0.3);
  --dark: #0F172A;
  --light: #F8FAFC;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --bg-main: #FFFFFF;
  --bg-alt: #F1F5F9;
  --glass: rgba(255, 255, 255, 0.8);
  --font-main: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.logo-image {
  height: 58px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
  line-height: 1;
}

.logo-subtext {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.logo .logo-text,
.logo .logo-subtext {
  display: none;
}

.logo.logo-fallback .logo-text,
.logo.logo-fallback .logo-subtext {
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, #f0f7ff, #ffffff);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.highlight {
  color: transparent;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

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

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px var(--primary-glow);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.full-width {
  width: 100%;
}

/* Services */
.services {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--secondary);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card p {
  color: var(--text-muted);
}

/* Why Us */
.why-us {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.why-us-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #dbe6ff;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.why-us-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #e8efff;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.why-us-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.why-us-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.why-us-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.1rem;
}

.why-us-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--secondary);
  font-weight: 800;
}

.why-us-footer {
  margin-top: 2rem;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.instagram-embed {
  background: white;
  border-radius: 20px;
  padding: 0.75rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.instagram-link-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  border: 1px solid #E2E8F0;
}

.instagram-link-card h3 {
  margin-bottom: 0.5rem;
}

.instagram-link-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.instagram-fallback {
  grid-column: 1 / -1;
  background: white;
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  border: 1px solid #E2E8F0;
}

.instagram-fallback h3 {
  margin-bottom: 0.5rem;
}

.instagram-fallback p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: white;
  padding: 4rem;
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-instagram-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.instagram-icon {
  color: #E1306C;
  display: inline-flex;
}

.contact-instagram-link {
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
}

.contact-instagram-link:hover {
  color: #E1306C;
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input, .form-group textarea {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

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

/* Footer */
.footer {
  padding: 3rem 0;
  text-align: center;
  background: var(--dark);
  color: white;
}

/* Background Shapes */
.hero-bg-shapes .shape {
  position: absolute;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.4;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary);
  bottom: 100px;
  left: -50px;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .nav {
    height: 72px;
  }

  .logo-image {
    height: 50px;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .why-us-card {
    padding: 2rem;
  }

  .why-us-title {
    font-size: 2rem;
  }

  .why-us-list li {
    font-size: 1rem;
  }
}

.instagram-frame {
  width: 100%;
  height: min(780px, calc(100vh - 220px));
  border: 0;
  border-radius: 14px;
  background: #fff;
}

.instagram-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.instagram-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .instagram-frame {
    height: min(520px, calc(100vh - 260px));
  }
}
