/* ==========================================================================
   Duyuzen Modern SaaS Design
   Author: ANTIGRAVITY
   ========================================================================== */

/* --- Variables & Design Tokens --- */
:root {
  /* Colors */
  --primary: #3b82f6;
  /* Modern Blue */
  --primary-light: #eff6ff;
  --primary-dark: #2563eb;

  --secondary: #f97316;
  /* Soft Orange */

  /* Feature Colors */
  --blue: #3b82f6;
  --bg-blue-light: #dbeafe;
  --orange: #f97316;
  --bg-orange-light: #ffedd5;
  --green: #22c55e;
  --bg-green-light: #dcfce7;
  --purple: #a855f7;
  --bg-purple-light: #f3e8ff;
  --pink: #ec4899;
  --bg-pink-light: #fce7f3;
  --yellow: #eab308;
  --bg-yellow-light: #fef9c3;
  --cyan: #06b6d4;
  --bg-cyan-light: #cffafe;
  --teal: #14b8a6;
  --bg-teal-light: #ccfbf1;
  --wp-green: #25D366;
  /* WhatsApp Green */

  /* Text & Background */
  --text-dark: #0f172a;
  --text-gray: #475569;
  --text-light: #94a3b8;
  --bg-main: #ffffff;
  --bg-slate: #f8fafc;

  /* Utils */
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.4);

  /* Transition */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-gray);
  background-color: var(--bg-main);
  line-height: 1.8;
  overflow-x: hidden;
}

p {
  margin-bottom: 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.section {
  padding: 5rem 0;
}

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

.mr-2 {
  margin-right: 0.5rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.op-50 {
  opacity: 0.5;
}

/* Colors Utility Classes */
.text-primary {
  color: var(--primary);
}

.text-white {
  color: #fff;
}

.text-blue {
  color: var(--blue);
}

.text-orange {
  color: var(--orange);
}

.text-green {
  color: var(--green);
}

.text-purple {
  color: var(--purple);
}

.text-pink {
  color: var(--pink);
}

.text-yellow {
  color: var(--yellow);
}

.text-cyan {
  color: var(--cyan);
}

.text-teal {
  color: var(--teal);
}

.bg-light {
  background-color: var(--bg-slate);
}

.bg-blue-light {
  background-color: var(--bg-blue-light);
}

.bg-orange-light {
  background-color: var(--bg-orange-light);
}

.bg-green-light {
  background-color: var(--bg-green-light);
}

.bg-purple-light {
  background-color: var(--bg-purple-light);
}

.bg-pink-light {
  background-color: var(--bg-pink-light);
}

.bg-yellow-light {
  background-color: var(--bg-yellow-light);
}

.bg-cyan-light {
  background-color: var(--bg-cyan-light);
}

.bg-teal-light {
  background-color: var(--bg-teal-light);
}

.bg-green {
  background-color: var(--wp-green);
}

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

.gradient-bg {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

.section-desc {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-gray);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  gap: 0.5rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
}

.btn-white {
  background-color: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  background-color: var(--bg-slate);
  transform: translateY(-2px);
}

/* --- Icons --- */
.icon-sm {
  width: 1.25rem;
  height: 1.25rem;
}

.lucide {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
}

.large-icon {
  width: 5rem;
  height: 5rem;
}

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

.header.scrolled,
.inner-page .header {
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.95);
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  /* Offset for header */
  overflow: hidden;
  background: linear-gradient(to bottom, #f0f7ff 0%, #ffffff 100%);
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.shape-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--bg-blue-light);
  animation: blobBounce 20s infinite alternate;
}

.shape-2 {
  bottom: -10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: var(--bg-orange-light);
  animation: blobBounce 25s infinite alternate-reverse;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-blue-light);
  color: var(--primary);
  border-radius: var(--border-radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-gray);
  max-width: 90%;
}

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

/* Hero "Image" Area - Glassmorphism Display */
.hero-image-wrapper {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-glass {
  width: 100%;
  height: 80%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 400 300"><defs><pattern id="p" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="2" fill="%233b82f6" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23p)"/></svg>');
}

/* Floating Stats in Hero */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: absolute;
}

.stat-card {
  min-width: 180px;
}

.float-animation-1 {
  top: 10%;
  left: -10%;
  animation: float 6s ease-in-out infinite;
}

.float-animation-2 {
  bottom: 20%;
  right: -5%;
  animation: float 7s ease-in-out infinite reverse;
}

.icon-stat {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--bg-slate);
  padding: 0.5rem;
  border-radius: 50%;
}

.stat-number {
  display: block;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* Animations */
@keyframes blobBounce {
  0% {
    transform: scale(1) translate(0, 0);
  }

  33% {
    transform: scale(1.1) translate(10%, -10%);
  }

  66% {
    transform: scale(0.9) translate(-5%, 15%);
  }

  100% {
    transform: scale(1) translate(0, 0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

/* Scroll Reveal Classes */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="slide-up"] {
  transform: translateY(30px);
}

[data-animate="fade-in"] {
  transform: scale(0.95);
}

.animate-active {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

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

.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 1);
}

.service-icon-wrapper {
  width: 4rem;
  height: 4rem;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

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

.service-text {
  font-size: 0.95rem;
}

/* --- About Section --- */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-subtitle {
  color: var(--primary);
  margin-bottom: 1rem;
}

.check-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.7;
}

.check-list i {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* --- CTA Section --- */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.cta-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* --- Footer --- */
.footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.footer-heading {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

/* --- Fixed WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--wp-green);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem 0.5rem 0.5rem;
  color: white;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
  text-decoration: none;
}

.whatsaap-icon-container {
  width: 45px;
  height: 45px;
  background-color: white;
  color: var(--wp-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.whatsapp-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  white-space: nowrap;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
  background-color: #1ea952;
}

/* --- Responsive Layout --- */
@media (max-width: 992px) {

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    gap: 1.5rem;
    align-items: center;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
  }

  .nav-link {
    white-space: nowrap;
    display: inline-block;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-container,
  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-image-wrapper {
    height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {

  .hero-title {
    font-size: 2.5rem;
  }

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

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

  .whatsapp-text {
    display: none;
  }

  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0;
    width: 60px;
    height: 60px;
    justify-content: center;
  }

  .whatsaap-icon-container {
    width: 100%;
    height: 100%;
    background-color: transparent;
    color: white;
  }

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

  .about-container {
    display: flex;
    flex-direction: column-reverse;
  }
}