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

:root {
  --bg-main: #f9f7f3;
  --bg-cream: #faf8f5;
  --text-dark: #3a3a3a;
  --text-light: #6b6b6b;
  --accent-coral: #f5a89e;
  --accent-gold: #fdb750;
  --accent-blush: #f5c69f;
  --accent-rose: #e8b4a0;
  --glass-light: rgba(255, 255, 255, 0.18);
  --glass-medium: rgba(255, 255, 255, 0.25);
  --glow-warm: rgba(255, 200, 100, 0.25);
  --glow-coral: rgba(245, 168, 158, 0.2);

  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(135deg, #f9f7f3 0%, #faf8f5 50%, #f5f1ec 100%);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-light);
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

/* Glass Cards Base Style */
.glass-card {
  background: var(--glass-light);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05),
              inset 0 1px 1px rgba(255, 255, 255, 0.3),
              0 0 40px var(--glow-warm);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.glass-card:hover {
  background: var(--glass-medium);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1),
              inset 0 1px 1px rgba(255, 255, 255, 0.4),
              0 0 60px var(--glow-coral);
  transform: translateY(-8px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-coral), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-coral));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-dark);
}

.nav-link:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .navbar-nav {
    gap: 16px;
  }

  .nav-link {
    font-size: 12px;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  overflow: hidden;
}

.hero-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(245, 168, 158, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(253, 183, 80, 0.12) 0%, transparent 50%);
  animation: gradientShift 15s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes gradientShift {
  0%, 100% {
    background: radial-gradient(circle at 20% 50%, rgba(245, 168, 158, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(253, 183, 80, 0.12) 0%, transparent 50%);
  }
  50% {
    background: radial-gradient(circle at 30% 60%, rgba(245, 168, 158, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(253, 183, 80, 0.15) 0%, transparent 50%);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 40px 24px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--text-dark), var(--accent-rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-accent {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-coral));
  margin: 0 auto 32px;
  border-radius: 2px;
  animation: scaleIn 0.8s ease-out 0.2s both;
}

@keyframes scaleIn {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  background: var(--glass-light);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08),
              inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-coral));
  transition: left 0.5s ease;
  z-index: -1;
}

.cta-button:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(245, 168, 158, 0.3),
              inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.cta-button:hover::before {
  left: 0;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 80px 24px 40px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 16px;
  }
}

/* About Section */
.about {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-card {
  max-width: 600px;
  text-align: center;
}

.about-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-coral), var(--accent-gold));
  box-shadow: 0 0 40px rgba(245, 168, 158, 0.3);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.about-card h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.about-card p {
  font-size: 18px;
  margin-bottom: 24px;
  line-height: 1.8;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.skill-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--glass-light);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.skill-badge:hover {
  background: var(--glass-medium);
  border-color: rgba(253, 183, 80, 0.4);
  box-shadow: 0 0 20px rgba(253, 183, 80, 0.2);
  transform: translateY(-2px);
}

/* Section Styling */
section {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, var(--text-dark), var(--accent-rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleReveal 0.8s ease-out;
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }
}

/* Featured Work Section */
.featured-work {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-container {
  display: flex;
  justify-content: center;
}

.featured-card {
  max-width: 700px;
  position: relative;
  overflow: hidden;
}

.featured-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.featured-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-overlay h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.featured-overlay p {
  font-size: 16px;
  margin-bottom: 16px;
}

.featured-tags {
  display: flex;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(253, 183, 80, 0.15);
  border: 1px solid rgba(253, 183, 80, 0.3);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Projects Gallery */
.projects {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: cardEnter 0.6s ease-out;
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card:nth-child(2) {
  animation-delay: 0.1s;
}

.project-card:nth-child(3) {
  animation-delay: 0.2s;
}

.project-card:nth-child(4) {
  animation-delay: 0.3s;
}

.project-image {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-description {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Specialties Section */
.specialties {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.specialty-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: cardEnter 0.6s ease-out;
}

.specialty-card:nth-child(2) {
  animation-delay: 0.1s;
}

.specialty-card:nth-child(3) {
  animation-delay: 0.2s;
}

.specialty-card:nth-child(4) {
  animation-delay: 0.3s;
}

.specialty-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 20px rgba(253, 183, 80, 0.2));
}

.specialty-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.specialty-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Process Section */
.process {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  align-items: center;
  margin-top: 40px;
  position: relative;
}

.process-step {
  text-align: center;
  animation: cardEnter 0.6s ease-out;
}

.process-step:nth-child(3) {
  animation-delay: 0.1s;
}

.process-step:nth-child(5) {
  animation-delay: 0.2s;
}

.process-step:nth-child(7) {
  animation-delay: 0.3s;
}

.step-number {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.process-step p {
  font-size: 14px;
  color: var(--text-light);
}

.process-arrow {
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  display: none;
}

@media (min-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .process-arrow {
    display: block;
    grid-column: span 1;
  }

  .process-step {
    grid-column: span 1;
  }
}

/* Testimonials Section */
.testimonials {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: cardEnter 0.6s ease-out;
}

.testimonial-card:nth-child(2) {
  animation-delay: 0.1s;
}

.testimonial-card:nth-child(3) {
  animation-delay: 0.2s;
}

.testimonial-text {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-dark);
}

.testimonial-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  text-align: right;
}

/* Tools Section */
.tools {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  animation: cardEnter 0.6s ease-out;
}

.tool-item:nth-child(n+2) {
  animation-delay: calc((var(--index, 1) - 1) * 0.1s);
}

.tool-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  filter: drop-shadow(0 6px 16px rgba(253, 183, 80, 0.2));
}

.tool-item p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

/* Contact Section */
.contact {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-light);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-coral));
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245, 168, 158, 0.3);
}

/* Footer */
.footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--glass-light);
  backdrop-filter: blur(8px);
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-content p {
  font-size: 14px;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-coral));
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-dark);
}

.footer-links a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .navbar-container {
    flex-direction: column;
    gap: 12px;
  }

  .navbar-nav {
    gap: 16px;
  }

  section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .glass-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    gap: 16px;
  }

  section {
    padding: 40px 12px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 14px;
  }
}

/* Scroll animations */
@supports (animation: none) {
  .project-card,
  .specialty-card,
  .testimonial-card,
  .tool-item,
  .process-step {
    opacity: 0;
    animation: cardEnter 0.6s ease-out forwards;
  }
}

/* Loading and transition states */
body.loading {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}
