/*!
Theme Name: Flip Mobile Neon
Theme URI: https://flipmobile.com
Author: Flip Mobile
Author URI: https://flipmobile.com
Description: A modern neon pink/green WordPress theme with white background for Flip Mobile eSIM and device store.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flip-mobile
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ===== FLIP MOBILE NEON THEME — WHITE BACKGROUND ===== */

:root {
  --fm-pink: #ff2d92;
  --fm-pink-light: #ff6bb3;
  --fm-pink-dark: #d91a6e;
  --fm-green: #39ff14;
  --fm-green-dark: #2bd90e;
  --fm-dark: #1a1a2e;
  --fm-gray: #6b7280;
  --fm-bg: #f0f8f0;
  --fm-bg-muted: #e8f0e8;
  --fm-border: #f0e0f0;
  --fm-radius: 16px;
  --fm-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a2e;
  background: #f0f8f0;
}

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

a { color: inherit; text-decoration: none; }

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

/* ===== HEADER / TOP BAR ===== */
.top-bar {
  background: var(--fm-pink);
  color: white;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  font-weight: 600;
}
.top-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.show-sm {
  display: none;
}
@media (min-width: 640px) {
  .show-sm {
    display: inline;
  }
}
.top-bar a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.top-bar a:hover { color: white; }

/* ===== SITE HEADER ===== */
.site-header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fm-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--fm-dark);
}
.site-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

/* ===== NAVIGATION ===== */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.site-nav a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fm-dark);
  transition: color var(--fm-transition);
  position: relative;
}
.site-nav a:hover {
  color: var(--fm-pink);
}
.site-nav .current-menu-item a,
.site-nav .current_page_item a {
  color: var(--fm-pink);
}

/* ===== CTA BUTTON ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--fm-pink);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform var(--fm-transition), box-shadow var(--fm-transition);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,45,146,0.3);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--fm-pink);
  color: var(--fm-pink);
  border-radius: 50px;
  padding: 0.65rem 1.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  background: transparent;
  cursor: pointer;
  transition: all var(--fm-transition);
}
.btn-outline:hover {
  background: var(--fm-pink);
  color: white;
}

/* ===== HERO ===== */
.hero-section {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,45,146,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,45,146,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.hero-logo {
  width: 160px;
  height: 160px;
  border-radius: 2rem;
  margin: 0 auto 2rem;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255,45,146,0.25);
}
.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,45,146,0.3);
  background: rgba(255,45,146,0.08);
  color: var(--fm-pink);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fm-pink);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== UFO LOGO ANIMATIONS ===== */
.ufo-orb {
  animation: ufo-hover 3s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes ufo-hover {
  0%, 100% { transform: translateX(-50%) translateY(0px) rotate(-2deg); }
  33%       { transform: translateX(-52%) translateY(-8px) rotate(1deg); }
  66%       { transform: translateX(-48%) translateY(-4px) rotate(-1deg); }
}
.ufo-beam {
  animation: ufo-beam-pulse 2s ease-in-out infinite;
}
@keyframes ufo-beam-pulse {
  0%, 100% { opacity: 0.15; }
  50%       { opacity: 0.6; }
}
.ufo-blink {
  animation: ufo-blink 1.4s ease-in-out infinite;
}
.ufo-blink2 {
  animation: ufo-blink 1.4s ease-in-out infinite 0.7s;
}
@keyframes ufo-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}
@keyframes ring-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 0.15; transform: scale(1.06); }
}

/* Nav logo glow hover */
.site-brand img {
  transition: box-shadow 0.3s, transform 0.3s;
}
.site-brand:hover img {
  transform: scale(1.07);
  box-shadow: 0 0 20px rgba(57,255,20,0.7), 0 0 40px rgba(255,45,146,0.3) !important;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.hero-title .pink { color: var(--fm-pink); }
.hero-title .green { color: var(--fm-green); }
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--fm-gray);
  max-width: 480px;
  margin: 0 auto 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== PROMO BANNER ===== */
.promo-banner {
  background: var(--fm-pink);
  color: white;
  padding: 0.75rem 0;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.promo-banner a { color: rgba(255,255,255,0.85); text-decoration: underline; }

/* ===== SECTIONS ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.section-header h2 .pink { color: var(--fm-pink); }
.section-header p {
  color: var(--fm-gray);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== PLAN CARDS ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.plan-card {
  background: white;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  overflow: hidden;
  transition: box-shadow var(--fm-transition), transform var(--fm-transition);
}
.plan-card:hover {
  box-shadow: 0 8px 30px rgba(255,45,146,0.1);
  transform: translateY(-4px);
  border-color: rgba(255,45,146,0.3);
}
.plan-card.featured {
  border: 2px solid var(--fm-pink);
  box-shadow: 0 4px 20px rgba(255,45,146,0.1);
}
.plan-card .card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--fm-bg-muted);
}
.plan-card .card-header {
  padding: 1.25rem;
}
.plan-card .card-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.plan-card .card-header .meta {
  font-size: 0.85rem;
  color: var(--fm-gray);
}
.plan-card .card-body {
  padding: 0 1.25rem 1.25rem;
}
.plan-card .price {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}
.plan-card .description {
  font-size: 0.9rem;
  color: var(--fm-gray);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.plan-card .features {
  list-style: none;
  margin-bottom: 1.25rem;
}
.plan-card .features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.plan-card .features li::before {
  content: '✓';
  color: var(--fm-pink);
  font-weight: 700;
  flex-shrink: 0;
}
.plan-card .card-footer {
  padding: 0 1.25rem 1.25rem;
}
.plan-card .card-footer .btn {
  width: 100%;
  display: block;
  text-align: center;
}
.plan-card .badge-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.badge {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-pink { background: var(--fm-pink); color: white; }
.badge-green { background: var(--fm-green); color: var(--fm-dark); }
.badge-outline {
  border: 1px solid var(--fm-border);
  color: var(--fm-pink);
  background: rgba(255,45,146,0.05);
}

/* ===== DEVICE CARDS ===== */
.device-card {
  background: white;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  overflow: hidden;
  transition: all var(--fm-transition);
}
.device-card:hover {
  border-color: rgba(255,45,146,0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.device-card .device-image {
  padding: 1.5rem;
  background: linear-gradient(180deg, var(--fm-bg-muted) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  position: relative;
}
.device-card .device-image img {
  max-height: 220px;
  width: auto;
  object-fit: contain;
  transition: transform var(--fm-transition);
}
.device-card:hover .device-image img {
  transform: scale(1.05);
}
.device-card .device-info {
  padding: 1.25rem;
}
.device-card .device-info h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.device-card .device-info .specs {
  font-size: 0.85rem;
  color: var(--fm-gray);
  margin-bottom: 0.75rem;
}
.device-card .device-info .features-list {
  list-style: none;
  margin-bottom: 1rem;
}
.device-card .device-info .features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--fm-gray);
  margin-bottom: 0.4rem;
}
.device-card .device-info .features-list li::before {
  content: '✓';
  color: var(--fm-green);
  font-weight: 700;
}
.device-card .price-tag {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--fm-pink);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
}
.device-card .lock-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}
.lock-badge.locked {
  background: rgba(255,255,255,0.85);
  color: var(--fm-gray);
}
.lock-badge.unlocked {
  background: rgba(57,255,20,0.15);
  color: var(--fm-green);
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fm-gray);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 2px solid var(--fm-border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
  color: var(--fm-dark);
  transition: border-color var(--fm-transition), box-shadow var(--fm-transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--fm-pink);
  box-shadow: 0 0 0 3px rgba(255,45,146,0.1);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #c4b5c4;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--fm-bg-muted);
  color: var(--fm-dark);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--fm-border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--fm-border);
}
.footer-brand .site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--fm-dark);
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--fm-gray);
  max-width: 280px;
}
.footer-brand .phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fm-pink);
  font-weight: 700;
  margin: 1rem 0;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  color: var(--fm-dark);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
  color: var(--fm-gray);
  font-size: 0.9rem;
  transition: color var(--fm-transition);
}
.footer-col ul li a:hover { color: var(--fm-pink); }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--fm-gray);
}
.footer-bottom a { color: var(--fm-gray); }
.footer-bottom a:hover { color: var(--fm-pink); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2.75rem; }
}
@media (max-width: 768px) {
  /* Desktop nav hidden on mobile — replaced by slide-in panel */
  .site-nav { display: none !important; }
  /* Show hamburger button on mobile */
  .menu-toggle { display: flex !important; }
  /* Hide desktop Shop Now button on mobile */
  .header-inner > a.btn-primary { display: none; }
  .plans-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-title { font-size: 2.25rem; }
}

/* ===== WOOCOMMERCE OVERRIDES ===== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--fm-pink) !important;
  color: white !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(255,45,146,0.25) !important;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border-radius: 10px !important;
  border: 2px solid var(--fm-border) !important;
  padding: 0.75rem 1rem !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--fm-pink) !important;
  box-shadow: 0 0 0 3px rgba(255,45,146,0.1) !important;
  outline: none !important;
}
