/* ==========================================================================
   TITIZ MEDIA & HEALTHTECH - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables & Theme Engine --- */
:root {
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Dark Mode Colors (Default) */
  --bg-main: #0B0F17;
  --bg-secondary: #111827;
  --bg-card: rgba(22, 31, 48, 0.65);
  --bg-card-hover: rgba(30, 43, 67, 0.85);
  --bg-glass: rgba(17, 24, 39, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 242, 254, 0.4);
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-sub: #CBD5E1;
  
  /* Accent Colors */
  --accent-cyan: #00F2FE;
  --accent-blue: #3B82F6;
  --accent-purple: #8B5CF6;
  --accent-gradient: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  --accent-glow: rgba(0, 242, 254, 0.25);
  
  /* Platform Colors */
  --instagram-color: #E1306C;
  --facebook-color: #1877F2;
  --whatsapp-color: #25D366;
  --youtube-color: #FF0000;
  
  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-main: #F8FAFC;
  --bg-secondary: #F1F5F9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.8);
  --border-color: rgba(15, 23, 42, 0.1);
  --border-hover: rgba(0, 180, 216, 0.5);
  
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-sub: #334155;
  
  --accent-cyan: #0099B8;
  --accent-blue: #2563EB;
  --accent-gradient: linear-gradient(135deg, #0083B0 0%, #00B4DB 100%);
  --accent-glow: rgba(0, 180, 216, 0.2);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.2);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* --- Glassmorphism Components --- */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.glass-panel:hover {
  border-color: var(--border-hover);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.75rem 0;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--accent-glow));
  transition: var(--transition);
}

[data-theme="light"] .logo-img {
  filter: brightness(0.2) drop-shadow(0 0 8px rgba(0,0,0,0.1));
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.logo-badge {
  font-size: 0.7rem;
  background: var(--accent-gradient);
  color: #000;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  margin-left: 0.2rem;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.icon-btn:hover {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.lang-btn {
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 0.75rem;
  width: auto;
  border-radius: var(--radius-full);
  gap: 0.3rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #0B0F17;
  box-shadow: 0 4px 20px var(--accent-glow);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--accent-glow);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 9rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Ambient Background Glow */
.hero-glow-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.grid-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 10px rgba(0, 242, 254, 0.1); }
  100% { box-shadow: 0 0 25px rgba(0, 242, 254, 0.3); }
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 2.5rem auto;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

/* Stats Counter Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Bento Grid Section (Hakkımda & Beceriler) --- */
.bento-section {
  padding: 6rem 0;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-bio {
  grid-column: span 7;
}

.bento-social {
  grid-column: span 5;
}

.bento-rd {
  grid-column: span 5;
}

.bento-design {
  grid-column: span 7;
}

.bento-platforms {
  grid-column: span 12;
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.bento-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.bento-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tag {
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-sub);
}

/* Platforms Grid Banner inside Bento */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.platform-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
}

.platform-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
}

.platform-card.instagram .platform-icon { color: var(--instagram-color); }
.platform-card.facebook .platform-icon { color: var(--facebook-color); }
.platform-card.whatsapp .platform-icon { color: var(--whatsapp-color); }
.platform-card.youtube .platform-icon { color: var(--youtube-color); }

.platform-info h4 {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}
.platform-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Hizmetler Section --- */
.services-section {
  padding: 6rem 0;
  position: relative;
  background: var(--bg-secondary);
}

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

.service-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: var(--transition);
}

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

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 20px var(--accent-glow);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-bottom: 0.5rem;
}

.service-features li i {
  color: var(--accent-cyan);
}

.service-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  transition: var(--transition);
}

.service-link-btn:hover {
  gap: 0.8rem;
}

/* --- Projeler / Portfolio Section --- */
.projects-section {
  padding: 6rem 0;
  position: relative;
}

.portfolio-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-gradient);
  color: #0B0F17;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--accent-glow);
}

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

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.project-img-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

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

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

.project-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(11, 15, 23, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

.project-stats-row {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
}

.project-stat-item {
  font-size: 0.8rem;
}

.project-stat-val {
  font-weight: 700;
  color: var(--accent-cyan);
  display: block;
}

.project-stat-lbl {
  color: var(--text-muted);
}

/* --- İletişim / Contact Section --- */
.contact-section {
  padding: 6rem 0;
  position: relative;
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-detail-list {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-detail-text h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 1.05rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: var(--accent-gradient);
  color: #000;
  transform: translateY(-3px);
}

.contact-form-card {
  padding: 3rem;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: rgba(255, 255, 255, 0.9);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

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

/* --- Floating WhatsApp CTA --- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: auto;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--whatsapp-color);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition);
  animation: pulse-whatsapp 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Footer --- */
.footer {
  padding: 4rem 0 2rem 0;
  background: var(--bg-main);
  border-top: 1px solid var(--border-color);
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Modals System --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(30px);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--accent-cyan);
  color: #000;
}

.modal-header-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 6rem;
  left: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--accent-cyan);
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slide-in-toast 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slide-in-toast {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --- Responsive Layout Breakpoints --- */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .bento-bio, .bento-social, .bento-rd, .bento-design { grid-column: span 12; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .mobile-toggle {
    display: block;
    z-index: 1000;
  }
  
  .hero-title { font-size: 2.3rem; }
  .hero-subtitle { font-size: 1rem; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .platform-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .whatsapp-float { bottom: 1.25rem; left: 1.25rem; right: auto; width: 52px; height: 52px; font-size: 1.7rem; }
}

/* Hide Netlify Badge & Toolbar */
iframe#netlify-drawer,
[data-netlify-drawers],
#netlify-toolbar,
.netlify-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
