/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for Premium Design System */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color Palette */
  --bg-color: #08080a;
  --bg-glow-1: rgba(99, 102, 241, 0.15); /* Indigo glow */
  --bg-glow-2: rgba(20, 184, 166, 0.12); /* Teal glow */
  
  --card-bg: rgba(18, 18, 24, 0.65);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(99, 102, 241, 0.4);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-primary: #6366f1;
  --accent-secondary: #14b8a6;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --accent-gradient-hover: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
  
  --nav-bg: rgba(8, 8, 10, 0.75);
  --glass-blur: blur(16px);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.25);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-color);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Background Ambient Glow Elements */
body::before, body::after {
  content: "";
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

body::before {
  top: -10vw;
  right: -10vw;
  background: var(--bg-glow-1);
}

body::after {
  top: 60vh;
  left: -20vw;
  background: var(--bg-glow-2);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0 4rem;
  position: relative;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button & Badge Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  opacity: 0.95;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--card-border-hover);
  transform: translateY(-2px);
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.badge-indigo {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-teal {
  background: rgba(20, 184, 166, 0.15);
  color: #2dd4bf;
  border: 1px solid rgba(20, 184, 166, 0.3);
}

/* Glassmorphic Navigation Bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: var(--nav-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  height: 70px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.logo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.logo span {
  color: var(--accent-secondary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-smooth);
}

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

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Hero Section */
#hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Premium Visual / Floating Dashboard Illustration */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glow-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--accent-gradient);
  filter: blur(60px);
  opacity: 0.25;
  z-index: 1;
  animation: pulse 8s infinite ease-in-out;
}

.mock-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.5rem;
  width: 320px;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  transform: rotate(-3deg) translateY(0);
  animation: float 6s infinite ease-in-out;
}

.mock-card-header {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-dot.red { background: #ef4444; }
.mock-dot.yellow { background: #eab308; }
.mock-dot.green { background: #22c55e; }

.mock-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.mock-bar.half { width: 50%; }
.mock-bar.three-quarters { width: 75%; }
.mock-bar.full { width: 100%; }

.mock-chart {
  height: 80px;
  margin: 1.5rem 0 1rem;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0) 100%);
  border-bottom: 2px solid var(--accent-primary);
  position: relative;
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 0.5rem;
}

.chart-bar {
  width: 15px;
  background: var(--accent-gradient);
  border-radius: 3px 3px 0 0;
  transition: var(--transition-smooth);
}

.mock-card-2 {
  position: absolute;
  bottom: -30px;
  right: -20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem;
  width: 180px;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  transform: rotate(6deg);
  animation: float-reverse 7s infinite ease-in-out;
}

.mock-stat {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.mock-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-12px); }
}

@keyframes float-reverse {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.25; }
  50% { transform: scale(1.15); opacity: 0.35; }
}

/* About Section */
.section-header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.highlight-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 1.8rem;
  border-radius: 12px;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
}

.highlight-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.highlight-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.skills-category {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
}

.skills-category:hover {
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-lg);
}

.skills-category h3 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.skill-name {
  font-weight: 600;
  color: var(--text-primary);
}

.skill-percentage {
  color: var(--text-secondary);
}

.skill-bar-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar {
  height: 100%;
  border-radius: 3px;
  background: var(--accent-gradient);
  width: 0; /* Animated dynamically with JS or CSS loading */
  transition: width 1.5s cubic-bezier(0.1, 0.7, 0.1, 1);
}

/* Projects Section */
.projects-filter {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--card-border);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--accent-primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  transition: var(--transition-smooth);
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-lg);
}

.project-card.hidden {
  display: none;
}

.project-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--card-border);
}

.project-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(20, 184, 166, 0.1) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.project-placeholder i {
  font-size: 2.5rem;
  color: var(--accent-secondary);
  margin-bottom: 1rem;
}

.project-placeholder span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.project-card:hover .project-placeholder {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(20, 184, 166, 0.2) 100%);
  transition: var(--transition-smooth);
}

.project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.project-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.project-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  border-radius: 4px;
  color: var(--text-secondary);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  width: fit-content;
}

.project-link:hover {
  color: var(--text-primary);
  transform: translateX(3px);
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p, .contact-item a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-item a:hover {
  color: var(--accent-secondary);
}

/* Glassmorphic Contact Form */
.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 3rem;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.15);
}

/* Custom form states */
.form-input:user-invalid {
  border-color: #f43f5e;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Footer Section */
footer {
  border-top: 1px solid var(--card-border);
  padding: 3rem 0;
  background-color: #050507;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.25rem;
}

.footer-logo span {
  color: var(--accent-secondary);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-social-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.footer-social-link:hover {
  color: var(--accent-secondary);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-wrapper {
    gap: 2rem;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 968px) {
  section {
    padding: 6rem 0 3rem;
  }
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
    margin-bottom: 2rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-color);
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    gap: 2rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--card-border);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .contact-form-card {
    padding: 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.pricing-price span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: "✓";
  color: var(--accent-secondary);
  font-weight: bold;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3), 0 12px 24px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: var(--transition-bounce);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.45), 0 0 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* Featured Portfolio Showcase */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-bounce);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(20, 184, 166, 0.45);
  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.12), 0 0 20px rgba(99, 102, 241, 0.08);
}

.portfolio-image-wrapper {
  background: rgba(10, 10, 18, 0.6);
  padding: 2.5rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

/* Browser Mockup Visuals */
.portfolio-mockup {
  width: 100%;
  max-width: 280px;
  height: 160px;
  background: #1e1e2f;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-mockup {
  transform: scale(1.05);
}

.mockup-header {
  height: 20px;
  background: #12121c;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header .mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.mockup-header .mock-dot.red { background: #ff5f56; }
.mockup-header .mock-dot.yellow { background: #ffbd2e; }
.mockup-header .mock-dot.green { background: #27c93f; }

.mockup-body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: transform 1.5s ease-in-out;
}

.portfolio-card:hover .mockup-body {
  transform: translateY(-40px);
}

.mockup-logo {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.mockup-text-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.mockup-text-line.full { width: 100%; }
.mockup-text-line.three-quarters { width: 75%; }
.mockup-text-line.half { width: 50%; }

.mockup-cta-btn {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
  margin-top: auto;
  color: #fff;
}

/* Individual mockup theme customizations */
.cafe-mockup .mockup-cta-btn { background: #c27d38; }
.cafe-mockup .mockup-logo { color: #f59e0b; }

.fitness-mockup { background: #0f172a; }
.fitness-mockup .mockup-cta-btn { background: #6366f1; }
.fitness-mockup .mockup-logo { color: #818cf8; }

.dental-mockup { background: #f8fafc; border: 1px solid #e2e8f0; }
.dental-mockup .mockup-header { background: #f1f5f9; border-bottom-color: #e2e8f0; }
.dental-mockup .mockup-logo { color: #0f172a; }
.dental-mockup .mockup-text-line { background: #e2e8f0; }
.dental-mockup .mockup-cta-btn { background: #0ea5e9; color: #fff; }

.portfolio-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.portfolio-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.portfolio-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex: 1;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.portfolio-tags .tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Workflow Steps */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.workflow-step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition-smooth);
  position: relative;
}

.workflow-step-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-4px);
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.workflow-step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.workflow-step-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  border-color: rgba(20, 184, 166, 0.35);
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--card-border);
  padding-top: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.testimonial-author h4 {
  font-size: 1rem;
  color: #fff;
}

.testimonial-author p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* FAQ Accordion Section */
.faq-accordion {
  max-width: 750px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-secondary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 300px; /* Expands smoothly */
  padding: 0 1.5rem 1.5rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Typewriter Cursor animation */
.txt-type > .txt {
  border-right: 0.15rem solid var(--accent-secondary);
  padding-right: 2px;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: var(--accent-secondary); }
}

/* Scroll Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

