/* =============================================
   9ye Sites — Matching 9yeyun.xyz Style
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400&family=Sora:wght@100;200;300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #0B0F1A;
  --bg-dark2: #111827;
  --bg-section: #0f172a;
  --text-primary: #FFFFFF;
  --text-secondary: #A0AEC0;
  --accent: #76ffc2;
  --accent-dark: #11374a;
  --card-bg: rgba(255,255,255,0.03);
  --card-border: rgba(255,255,255,0.08);
  --font-body: 'Source Sans Pro', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-display: 'Sora', sans-serif;
  --max-width: 1200px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-secondary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 300;
  line-height: 1.2;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 400; }

.text-body { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; }

/* --- Animations --- */
.fadeIn {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fadeIn.animated { opacity: 1; transform: translateY(0); }

.thegem-heading-animate.lines-slide-up .thegem-heading-word,
.thegem-heading-animate.lines-slide-up-random .thegem-heading-word {
  display: inline-block; opacity: 0; transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease; margin-right: 0.3em;
}
.thegem-heading-animate.lines-slide-up.animated .thegem-heading-word,
.thegem-heading-animate.lines-slide-up-random.animated .thegem-heading-word {
  opacity: 1; transform: translateY(0);
}

.thegem-heading-animate.typewriter .thegem-heading-letter {
  display: inline-block; opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.thegem-heading-animate.typewriter.animated .thegem-heading-letter {
  opacity: 1; transform: translateY(0);
}

/* --- HEADER --- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease; padding: 20px 0;
}
.header.sticked {
  background: rgba(11, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 12px 0;
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 30px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--text-primary); letter-spacing: 2px; text-transform: uppercase;
}
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 400;
  color: var(--text-secondary); letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 0; position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--accent); border-radius: 1px; transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--accent) !important; color: var(--accent-dark) !important;
  padding: 8px 24px !important; border-radius: 4px; font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #5eeaaa !important; color: var(--accent-dark) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 5px;
}
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); transition: all 0.3s; }

.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
  background: var(--bg-dark2); z-index: 1001; padding: 60px 30px;
  display: flex; flex-direction: column; gap: 20px;
  transition: right 0.4s ease; box-shadow: -5px 0 30px rgba(0,0,0,0.5);
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-secondary);
  padding: 10px 0; border-bottom: 1px solid var(--card-border); transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; color: var(--text-primary); font-size: 1.8rem; cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(118, 255, 194, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #0B0F1A 0%, #111827 100%);
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(118, 255, 194, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(17, 52, 74, 0.4) 0%, transparent 50%);
  pointer-events: none;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(118, 255, 194, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 255, 194, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2; max-width: var(--max-width);
  margin: 0 auto; padding: 120px 30px 80px; width: 100%;
}
.hero-content .pre-heading {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  color: var(--accent); letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 20px; opacity: 0; animation: fadeSlideUp 0.8s ease 0.3s forwards;
}
.hero-content h1 { margin-bottom: 24px; opacity: 0; animation: fadeSlideUp 0.8s ease 0.5s forwards; }
.hero-content .hero-subtitle {
  font-size: 1.1rem; color: var(--text-secondary); max-width: 600px;
  margin-bottom: 40px; line-height: 1.8; opacity: 0; animation: fadeSlideUp 0.8s ease 0.7s forwards;
}
.hero-buttons {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeSlideUp 0.8s ease 0.9s forwards;
}

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s ease 1.5s forwards;
}
.hero-scroll span { font-size: 0.7rem; color: var(--text-secondary); letter-spacing: 2px; text-transform: uppercase; }
.scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); animation: scrollBounce 2s infinite;
}

@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(8px); }
  60% { transform: rotate(45deg) translateY(4px); }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; padding: 14px 32px;
  border-radius: 4px; border: none; cursor: pointer; transition: all 0.3s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-dark); }
.btn-primary:hover {
  background: #5eeaaa; color: var(--accent-dark);
  transform: translateY(-2px); box-shadow: 0 8px 25px rgba(118, 255, 194, 0.3);
}
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { width: 18px; height: 18px; transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

/* --- SECTION COMMON --- */
.section { padding: 100px 30px; max-width: var(--max-width); margin: 0 auto; }
.section-full { padding: 100px 0; width: 100%; }
.section-dark { background: var(--bg-section); }
.section-header { margin-bottom: 60px; }
.section-header.left { text-align: left; }
.section-header.center { text-align: center; }
.section-header .section-label {
  font-size: 0.8rem; font-weight: 600; color: var(--accent);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 20px; }
.section-header p { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; }
.section-header.center p { margin: 0 auto; }

/* --- STATS BLOCK --- */
.stats-block { background: var(--bg-dark2); padding: 80px 30px; }
.stats-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px;
}
.stat-item {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.stat-item.animated { opacity: 1; transform: translateY(0); }
.stat-number {
  font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 200; color: var(--accent); line-height: 1; margin-bottom: 10px;
}
.stat-label { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; }

/* --- CARDS GRID --- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-grid { grid-template-columns: repeat(3, 1fr) !important; }
.card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 8px; padding: 40px 30px; transition: all 0.4s ease;
  opacity: 0; transform: translateY(30px);
}
.card.animated { opacity: 1; transform: translateY(0); }
.card:hover {
  border-color: var(--accent); background: rgba(118, 255, 194, 0.03);
  transform: translateY(-5px);
}
.card-icon {
  width: 60px; height: 60px; background: rgba(118, 255, 194, 0.1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--accent);
}
.card h3 { font-size: 1.1rem; font-weight: 400; color: var(--text-primary); margin-bottom: 12px; }
.card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* --- PRICING --- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start;
}
.pricing-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 8px; padding: 40px 30px; transition: all 0.4s ease;
  opacity: 0; transform: translateY(30px);
}
.pricing-card.animated { opacity: 1; transform: translateY(0); }
.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.recommended {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(118, 255, 194, 0.1);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 20px; font-size: 0.7rem; font-weight: 600;
  color: var(--accent-dark); background: var(--accent); border-radius: 4px;
  letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
}
.pricing-card { position: relative; }
.pricing-header { text-align: center; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--card-border); }
.pricing-header .section-label { margin-bottom: 8px; }
.pricing-price { margin: 12px 0; }
.price-amount {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 200; color: var(--text-primary); line-height: 1;
}
.price-period {
  font-size: 0.85rem; color: var(--text-secondary); margin-left: 8px; opacity: 0.7;
}
.pricing-desc { font-size: 0.9rem; color: var(--text-secondary); }
.pricing-features { margin-bottom: 30px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: 0.9rem; color: var(--text-secondary);
}
.pricing-features .check { color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.pricing-card .btn-outline {
  border: 1px solid rgba(255,255,255,0.15);
}

/* --- FAQ --- */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 8px; margin-bottom: 12px; overflow: hidden;
  transition: all 0.4s ease; opacity: 0; transform: translateY(30px);
}
.faq-item.animated { opacity: 1; transform: translateY(0); }
.faq-item:hover { border-color: rgba(118, 255, 194, 0.2); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  color: var(--text-primary); text-align: left; background: none; border: none;
  cursor: pointer; transition: color 0.3s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon { color: var(--text-secondary); transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding: 0 24px 20px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8;
}

/* --- CONTACT METHODS --- */
.contact-methods {
  display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; max-width: 800px; margin: 0 auto;
}
.contact-method {
  display: flex; align-items: center; gap: 16px;
  padding: 24px; background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 8px; transition: all 0.4s ease; flex: 1; min-width: 220px;
  opacity: 0; transform: translateY(30px);
}
.contact-method.animated { opacity: 1; transform: translateY(0); }
.contact-method:hover { border-color: var(--accent); transform: translateY(-5px); }
.contact-method-icon {
  width: 50px; height: 50px; background: rgba(118, 255, 194, 0.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.contact-method strong {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--text-primary); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px;
}
.contact-method p { font-size: 0.9rem; color: var(--text-secondary); }

/* --- FOOTER --- */
.footer {
  background: #050810; padding: 60px 30px 30px;
  border-top: 1px solid var(--card-border);
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 40px; margin-bottom: 40px;
}
.footer-brand .footer-logo {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: var(--text-primary); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.footer-brand .footer-logo span { color: var(--accent); }
.footer-brand p { font-size: 0.85rem; color: var(--text-secondary); max-width: 300px; line-height: 1.7; }
.footer-contact p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 8px; }
.footer-contact a { color: var(--accent); }
.footer-bottom {
  max-width: var(--max-width); margin: 0 auto; padding-top: 30px;
  border-top: 1px solid var(--card-border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-secondary); opacity: 0.6; }

/* --- Stagger Delays --- */
.card:nth-child(1), .pricing-card:nth-child(1), .faq-item:nth-child(1), .contact-method:nth-child(1) { transition-delay: 0ms; }
.card:nth-child(2), .pricing-card:nth-child(2), .faq-item:nth-child(2), .contact-method:nth-child(2) { transition-delay: 100ms; }
.card:nth-child(3), .pricing-card:nth-child(3), .faq-item:nth-child(3), .contact-method:nth-child(3) { transition-delay: 200ms; }
.card:nth-child(4), .faq-item:nth-child(4) { transition-delay: 300ms; }
.stat-item:nth-child(1) { transition-delay: 0ms; }
.stat-item:nth-child(2) { transition-delay: 200ms; }
.stat-item:nth-child(3) { transition-delay: 400ms; }
.stat-item:nth-child(4) { transition-delay: 600ms; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card:last-child { grid-column: span 2; max-width: 400px; margin: 0 auto; width: 100%; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .stats-inner { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr !important; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card:last-child { grid-column: span 1; max-width: none; }
  .contact-methods { flex-direction: column; }
  .section { padding: 60px 20px; }
  .section-full { padding: 60px 0; }
  .hero-content { padding: 120px 20px 60px; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   Google Translate — Dark Theme Beautify
   ============================================= */

/* Container at bottom-right */
#google_translate_element {
  font-family: 'Source Sans Pro', sans-serif !important;
}

/* Hide the top banner completely */
body > .goog-te-banner-frame,
body > .VIpgJd-ZVi9od-ORHb-OEVmcd,
iframe.goog-te-banner-frame {
  display: none !important;
}
body {
  top: 0 !important;
  position: static !important;
}

/* Horizontal separator layout — language links */
.goog-te-gadget {
  color: #a0aec0 !important;
  font-size: 13px !important;
}

.goog-te-gadget a {
  color: #a0aec0 !important;
  text-decoration: none !important;
  padding: 3px 7px !important;
  border-radius: 4px !important;
  transition: color 0.2s, background 0.2s !important;
}

.goog-te-gadget a:hover,
.goog-te-gadget a.goog-te-menu-value-hover {
  color: #76ffc2 !important;
  background: rgba(118,255,194,0.08) !important;
}

.goog-te-gadget a.goog-te-menu-value-selected {
  color: #76ffc2 !important;
  font-weight: 600 !important;
}

/* Separator "|" color */
.goog-te-gadget span {
  color: rgba(255,255,255,0.2) !important;
}

/* Remove "Powered by" */
.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
}

/* Prevent Google from pushing body down */
body {
  top: 0 !important;
  position: static !important;
}
