/* =============================================
   GOODPARTNER TECH CREATIVES — GLOBAL STYLES
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Crimson+Pro:ital,wght@0,400;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --teal: #00C4E8;
  --teal-dark: #00A0C0;
  --teal-light: #e0f7fc;
  --purple: #7C2FBF;
  --purple-dark: #5c1f95;
  --purple-light: #f0e6ff;
  --navy: #1A2340;
  --navy-mid: #243058;
  --gold: #F5A623;
  --gold-light: #fff8e7;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-100: #f1f3f7;
  --gray-200: #e2e6ef;
  --gray-400: #9aa3b8;
  --gray-600: #5a637a;
  --gray-800: #2d3348;
  --text: #1A2340;
  --text-light: #5a637a;
  --border: #e2e6ef;

  /* Logo gradient — purple → deep-purple → cyan (left to right) */
  --logo-gradient: linear-gradient(90deg, #9B30FF 0%, #5E1FCC 45%, #00C4E8 100%);
  --brand-gradient: linear-gradient(135deg, #7C2FBF 0%, #00C4E8 100%);
  --brand-gradient-v: linear-gradient(180deg, #7C2FBF 0%, #00C4E8 100%);

  --font-display: 'Sora', sans-serif;
  --font-body: 'Crimson Pro', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow: 0 4px 24px rgba(26,35,64,0.08);
  --shadow-lg: 0 12px 48px rgba(26,35,64,0.14);
  --shadow-teal: 0 8px 32px rgba(0,196,232,0.25);
  --shadow-purple: 0 8px 32px rgba(124,47,191,0.25);
  --glow-teal: 0 0 20px rgba(0,196,232,0.4);
  --glow-purple: 0 0 20px rgba(124,47,191,0.4);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

p { font-size: 1.1rem; color: var(--text-light); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 50px; border: none; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--brand-gradient);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,196,232,0.4), 0 4px 20px rgba(124,47,191,0.3); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.btn-outline-white {
  background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e89400);
  color: var(--navy); font-weight: 700;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,166,35,0.4); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(26,35,64,0.1);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-img {
  width: 44px; height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0,174,204,0.35));
  transition: filter 0.3s ease;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 10px rgba(0,174,204,0.65));
}
.nav-logo-text {
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  color: var(--navy); line-height: 1.1;
  display: flex; flex-direction: column;
}
.nav-logo-text .brand { color: var(--teal); }
.nav-logo-sub {
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--purple); text-transform: uppercase;
}
.nav-logo .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--teal), var(--purple));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 1rem; font-family: var(--font-display);
}
.nav-logo span.brand { color: var(--teal); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  font-family: var(--font-display); font-size: 0.88rem; font-weight: 500;
  color: var(--gray-600); padding: 8px 14px; border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: var(--teal-light); }

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown > a::after { content: '▾'; font-size: 0.75rem; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 280px; border: 1px solid var(--border);
  animation: fadeDown 0.2s ease;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: 8px; font-size: 0.85rem;
  color: var(--gray-800) !important; background: transparent !important;
}
.dropdown-menu a:hover { background: var(--off-white) !important; color: var(--teal) !important; }
.dropdown-menu a .dmicon { font-size: 1.1rem; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white); padding: 24px; overflow-y: auto; z-index: 999;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  color: var(--navy); padding: 14px 16px; border-radius: 10px;
  transition: var(--transition);
}
.mobile-menu a:hover { background: var(--off-white); color: var(--teal); }
.mobile-menu .mobile-section { font-size: 0.75rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px; padding: 16px 16px 4px; }

/* ---- HERO BASE ---- */
.page-hero {
  padding: 140px 24px 80px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a0d35 50%, #0d1f3a 100%);
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 30% 20%, rgba(124,47,191,0.28), transparent),
              radial-gradient(ellipse 60% 60% at 75% 80%, rgba(0,196,232,0.22), transparent),
              radial-gradient(ellipse 40% 40% at 50% 0%, rgba(155,48,255,0.15), transparent);
}
.page-hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.page-hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,196,232,0.12); border: 1px solid rgba(0,196,232,0.3);
  color: var(--teal); padding: 6px 16px; border-radius: 50px;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 20px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.2rem; max-width: 600px; margin: 0 auto; }

/* ---- SECTION STYLES ---- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.7); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header .label {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px; color: var(--teal);
  margin-bottom: 12px; display: block;
}
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; }

/* ---- CARDS ---- */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 32px;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }

.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  background: var(--teal-light);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- TAGS / BADGES ---- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 50px; font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
}
.tag-teal { background: var(--teal-light); color: var(--teal-dark); }
.tag-purple { background: var(--purple-light); color: var(--purple); }
.tag-gold { background: var(--gold-light); color: #b37400; }
.tag-navy { background: rgba(26,35,64,0.08); color: var(--navy); }

/* ---- FEATURE LIST ---- */
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 1rem; color: var(--text-light);
}
.feature-list li::before {
  content: '✓'; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; font-family: var(--font-display);
  margin-top: 2px;
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 96px 24px; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 30% 50%, rgba(0,174,204,0.15), transparent),
              radial-gradient(ellipse 50% 60% at 80% 20%, rgba(123,63,160,0.15), transparent);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.15rem; max-width: 580px; margin: 0 auto 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- FOOTER ---- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
  color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px;
}
.footer-col a {
  display: block; font-size: 0.9rem; color: rgba(255,255,255,0.6);
  padding: 5px 0; transition: var(--transition);
}
.footer-col a:hover { color: var(--teal); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; margin-bottom: 10px; }
.footer-contact-item span { color: var(--teal); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--teal); }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.82rem; color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ---- STATS ROW ---- */
.stats-row {
  display: flex; gap: 0;
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border);
}
.stat-item {
  flex: 1; padding: 28px 24px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-item .num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: var(--navy); display: block;
}
.stat-item .lbl { font-size: 0.85rem; color: var(--gray-400); font-family: var(--font-display); }

/* ---- TESTIMONIAL ---- */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border); position: relative;
}
.testimonial-card::before {
  content: '"'; font-size: 5rem; color: var(--teal-light);
  font-family: Georgia, serif; position: absolute; top: 12px; left: 24px;
  line-height: 1;
}
.testimonial-card p { padding-top: 24px; font-style: italic; font-size: 1.05rem; }
.testimonial-author { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--purple));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-family: var(--font-display);
}
.testimonial-author .name { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.testimonial-author .role { font-size: 0.82rem; color: var(--gray-400); }
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 8px; }

/* ---- SERVICE PAGE SPECIFICS ---- */
.service-features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.service-feature-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--off-white); border-radius: var(--radius); padding: 20px;
  border: 1px solid var(--border); transition: var(--transition);
}
.service-feature-item:hover { border-color: var(--teal); background: var(--teal-light); }
.service-feature-item .icon { font-size: 1.5rem; flex-shrink: 0; }
.service-feature-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.service-feature-item p { font-size: 0.88rem; }

.pricing-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  border: 2px solid var(--border); text-align: center; transition: var(--transition);
  position: relative; overflow: hidden;
}
.pricing-card.popular {
  border-color: var(--teal);
  box-shadow: var(--shadow-teal);
}
.pricing-card .popular-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--teal); color: white;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 50px; text-transform: uppercase;
}
.price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--navy); }
.price span { font-size: 1rem; color: var(--gray-400); font-weight: 400; }

/* ---- BLOG ---- */
.blog-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  height: 220px; background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative; overflow: hidden;
}
.blog-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(26,35,64,0.4));
}
.blog-card-body { padding: 28px; }
.blog-card-body .tag { margin-bottom: 12px; }
.blog-card-body h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p { font-size: 0.95rem; margin-bottom: 20px; }
.blog-meta { display: flex; align-items: center; gap: 16px; font-size: 0.82rem; color: var(--gray-400); font-family: var(--font-display); }

/* ---- CONTACT FORM ---- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
  padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--border);
  font-family: var(--font-body); font-size: 1rem; color: var(--navy);
  background: var(--white); transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,174,204,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ---- ANIMATIONS ---- */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0,174,204,0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(0,174,204,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0,174,204,0); }
}

.animate-fade-up { animation: fadeUp 0.6s ease forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-row { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .service-features-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .section { padding: 64px 0; }
}

/* ---- LOGO IMAGE STYLES ---- */
.nav-logo-img {
  width: 44px; height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0,196,232,0.4));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 12px rgba(0,196,232,0.7)) drop-shadow(0 0 6px rgba(124,47,191,0.5));
  transform: scale(1.05);
}
.nav-logo-text {
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  color: var(--navy); line-height: 1.15;
  display: flex; flex-direction: column;
}
.nav-logo-text .brand { color: var(--teal); }
.nav-logo-sub {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--purple); text-transform: uppercase; line-height: 1;
}

/* Gradient text utility — used for headings that echo logo */
.gradient-text {
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glow card variant — matches logo neon style */
.glow-card {
  border: 1px solid rgba(0,196,232,0.2);
  box-shadow: 0 0 0 1px rgba(124,47,191,0.1), var(--shadow);
  transition: var(--transition);
}
.glow-card:hover {
  border-color: rgba(0,196,232,0.45);
  box-shadow: 0 0 20px rgba(0,196,232,0.15), 0 0 40px rgba(124,47,191,0.1), var(--shadow-lg);
}

/* CTA section update — deeper dark matching logo bg */
.cta-section {
  background: linear-gradient(135deg, #0d0a1a 0%, #1a0d35 50%, #0a1a2e 100%) !important;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(124,47,191,0.25), transparent),
    radial-gradient(ellipse 50% 70% at 80% 50%, rgba(0,196,232,0.2), transparent);
}
.cta-section > * { position: relative; z-index: 1; }

@media (max-width: 768px) {
  .nav-logo-img { width: 36px; height: 36px; }
  .nav-logo-text { font-size: 0.95rem; }
}
