/* ==========================================================================
   INFINITIX INFOTECH - FLUTTER APP DEVELOPMENT SERVICE PAGE STYLESHEET
   File: asset/css/flutter-development.css
   Theme: Deep Obsidian (#040714), Flutter Cyan (#54c5f8), Flutter Blue (#02569b, #0175c2), Electric Violet (#a855f7)
   ========================================================================== */

/* Page Background Canvas */
.flutter-dev-page-body {
  background-color: #040714 !important;
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(84, 197, 248, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 15% 45%, rgba(1, 117, 194, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(168, 85, 247, 0.14) 0%, transparent 45%),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 30px 30px;
}

/* Headings & Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Poppins', sans-serif;
  color: #ffffff;
  letter-spacing: -0.025em;
}

.text-gradient-flutter {
  background: linear-gradient(135deg, #ffffff 0%, #54c5f8 50%, #0175c2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-violet {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Flutter Badge */
.flutter-dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: rgba(84, 197, 248, 0.12);
  border: 1px solid rgba(84, 197, 248, 0.35);
  border-radius: 50px;
  color: #54c5f8;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(12px);
}

/* HERO SECTION (CENTER ALIGNED) */
.flutter-dev-hero {
  padding: 150px 0 90px;
  text-align: center;
  position: relative;
}

.hero-flutter-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(84, 197, 248, 0.25), rgba(168, 85, 247, 0.2));
  border: 2px solid #54c5f8;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #54c5f8;
  font-size: 3rem;
  box-shadow: 0 0 40px rgba(84, 197, 248, 0.4);
  animation: logoPulse 4s ease-in-out infinite alternate;
}

@keyframes logoPulse {
  0% { transform: scale(1); box-shadow: 0 0 30px rgba(84, 197, 248, 0.4); }
  100% { transform: scale(1.08); box-shadow: 0 0 50px rgba(84, 197, 248, 0.7); }
}

.hero-heading-center {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle-center {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 2.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.btn-flutter-quote {
  background: linear-gradient(135deg, #0175c2 0%, #a855f7 100%);
  color: #ffffff !important;
  padding: 0.95rem 2.2rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(1, 117, 194, 0.4);
  transition: all 0.3s ease;
}

.btn-flutter-quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(1, 117, 194, 0.6);
  color: #ffffff;
}

.btn-flutter-wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  padding: 0.95rem 2rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.btn-flutter-wa:hover {
  transform: translateY(-3px);
  color: #ffffff;
}

.btn-flutter-consult {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  padding: 0.95rem 2rem;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.btn-flutter-consult:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

/* CROSS PLATFORM DEVICE ECOSYSTEM HERO GRAPHIC */
.device-ecosystem-wrapper {
  background: rgba(13, 19, 36, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(84, 197, 248, 0.25);
  border-radius: 30px;
  padding: 2.5rem 1.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.eco-device-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* SECTION: ONE CODEBASE INTERACTIVE DIAGRAM */
.one-codebase-card {
  background: rgba(13, 19, 36, 0.85);
  border: 1px solid rgba(84, 197, 248, 0.3);
  border-radius: 28px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.center-flutter-hub {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0175c2, #a855f7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin: 0 auto 2rem;
  box-shadow: 0 0 40px rgba(84, 197, 248, 0.6);
}

/* SECTION: WHY FLUTTER INFOGRAPHIC */
.why-flutter-info-card {
  background: rgba(13, 19, 36, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.2rem;
  transition: all 0.35s ease;
  height: 100%;
}

.why-flutter-info-card:hover {
  transform: translateY(-7px);
  border-color: #54c5f8;
  box-shadow: 0 20px 40px rgba(84, 197, 248, 0.2);
}

.flutter-icon-square {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(84, 197, 248, 0.25), rgba(168, 85, 247, 0.25));
  border: 1px solid #54c5f8;
  color: #54c5f8;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* SECTION: SERVICES HORIZONTAL CARDS */
.flutter-service-horizontal {
  background: rgba(13, 19, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 2rem;
  transition: all 0.35s ease;
  height: 100%;
}

.flutter-service-horizontal:hover {
  border-color: #54c5f8;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* SECTION: LIVE APP EXPERIENCE DEMO MOCKUPS */
.demo-device-frame {
  width: 220px;
  height: 440px;
  border-radius: 36px;
  background: #000000;
  border: 4px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  margin: 0 auto;
}

.demo-device-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTION: FEATURES ANIMATED GRID */
.flutter-feature-grid-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 160px;
}

.flutter-feature-grid-item:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: #54c5f8;
  transform: translateY(-5px);
}

/* SECTION: FLUTTER ARCHITECTURE LAYER DIAGRAM */
.arch-layer-box {
  background: rgba(13, 19, 36, 0.85);
  border: 1px solid rgba(84, 197, 248, 0.3);
  border-radius: 20px;
  padding: 1.8rem;
  margin-bottom: 1.25rem;
  position: relative;
  transition: all 0.3s ease;
}

.arch-layer-box:hover {
  border-color: #a855f7;
  transform: scale(1.01);
}

.arch-layer-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid #a855f7;
  color: #c084fc;
  font-size: 0.78rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

/* SECTION: TECH STACK CIRCLES */
.flutter-tech-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(13, 19, 36, 0.85);
  border: 2px solid rgba(84, 197, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.flutter-tech-circle:hover {
  border-color: #54c5f8;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(84, 197, 248, 0.5);
}

/* SECTION: PERFORMANCE BARS */
.perf-bar-wrap {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  height: 14px;
  overflow: hidden;
  margin-top: 0.6rem;
}

.perf-bar-fill {
  background: linear-gradient(90deg, #54c5f8, #a855f7);
  height: 100%;
  border-radius: 50px;
  width: 0%;
  transition: width 1.5s ease-in-out;
}

/* SECTION: COMPARISON TABLE */
.comp-matrix-wrapper {
  background: rgba(13, 19, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow-x: auto;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  color: #cbd5e1;
}

.comp-table th, .comp-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comp-table th {
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  font-weight: 700;
}

.highlight-flutter {
  background: rgba(84, 197, 248, 0.15);
  color: #ffffff !important;
  font-weight: 600;
}

/* FAQS ACCORDION */
.flutter-faq-item {
  background: rgba(13, 19, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.flutter-faq-button {
  background: transparent !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
}

.flutter-faq-button:not(.collapsed) {
  color: #54c5f8 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.flutter-faq-body {
  padding: 1.25rem 1.5rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* FINAL CTA BANNER */
.flutter-cta-banner {
  background: linear-gradient(135deg, rgba(84, 197, 248, 0.3) 0%, rgba(168, 85, 247, 0.25) 100%), rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(84, 197, 248, 0.45);
  border-radius: 28px;
  padding: 4.5rem 2.5rem;
  text-align: center;
}

/* Responsive Tweaks */
@media (max-width: 991px) {
  .flutter-dev-hero { padding: 120px 0 60px; }
  .demo-device-frame { width: 180px; height: 360px; }
}
