/* ═══════════════════════════════════════════════════════
   WOCOM Jamaica — Global Stylesheet
   Design: Dialpad-inspired white/clean + purple accents
   ═══════════════════════════════════════════════════════ */

:root {
  --deep-blue: #090F3A;
  --purple: #7B2FF2;
  --purple-dark: #5A1FBD;
  --purple-light: #DBC6FF;
  --purple-bg: #F3EDFF;
  --purple-hover: #9600EE;
  --white: #ffffff;
  --tan: #F5F0EB;
  --light-tan: #FAF8F5;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --border: #E5E7EB;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--deep-blue); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ──────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.nav-logo img { height: 36px; }
.nav-center { display: flex; align-items: center; gap: 28px; }
.nav-center a { font-size: 14px; font-weight: 600; color: var(--deep-blue); transition: color .2s; position: relative; }
.nav-center a:hover, .nav-center a.active { color: var(--purple); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-mobile { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-mobile svg { width: 24px; height: 24px; stroke: var(--deep-blue); }

/* ── BUTTONS ──────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font); font-weight: 700; border-radius: 10px; cursor: pointer; transition: all .2s; text-decoration: none; white-space: nowrap; border: 2px solid transparent; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-md { padding: 12px 24px; font-size: 15px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-outline { background: transparent; color: var(--deep-blue); border-color: var(--deep-blue); }
.btn-outline:hover { background: var(--deep-blue); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--deep-blue); }
.btn-fill { background: var(--purple); color: var(--white); border-color: var(--purple); }
.btn-fill:hover { background: var(--purple-dark); border-color: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(123,47,242,.25); }
.btn-fill-white { background: var(--white); color: var(--deep-blue); border-color: var(--white); }
.btn-fill-white:hover { background: var(--gray-100); }
.btn-text-link { font-size: 14px; font-weight: 700; color: var(--deep-blue); text-decoration: underline; text-underline-offset: 4px; transition: color .2s; display: inline-flex; align-items: center; gap: 4px; }
.btn-text-link:hover { color: var(--purple); }
.btn-text-link .arrow { font-size: 12px; }

/* ── SECTION UTILITIES ────────────────── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--purple); margin-bottom: 16px; }
.section-title { font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.12; letter-spacing: -1px; margin-bottom: 20px; }
.section-title-italic { font-style: italic; }
.section-sub { font-size: 18px; color: var(--gray-600); max-width: 640px; line-height: 1.7; margin-bottom: 40px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── TABS ─────────────────────────────── */
.tabs-bar { display: inline-flex; background: var(--gray-100); border-radius: 50px; padding: 4px; }
.tab-btn { padding: 10px 28px; border-radius: 50px; font-size: 15px; font-weight: 600; color: var(--gray-500); background: transparent; border: none; cursor: pointer; font-family: var(--font); transition: all .25s; }
.tab-btn.active { background: var(--deep-blue); color: var(--white); box-shadow: 0 2px 8px rgba(9,15,58,.15); }
.tab-btn:not(.active):hover { color: var(--deep-blue); }

/* ── CARDS ────────────────────────────── */
.card { background: var(--gray-50); border-radius: 16px; padding: 36px 32px; border: 1px solid var(--border); transition: box-shadow .3s, transform .3s; }
.card:hover { box-shadow: 0 8px 32px rgba(123,47,242,.06); transform: translateY(-2px); }
.card-purple-left { border-left: 4px solid var(--purple); }

/* ── CHECKMARK LIST ───────────────────── */
.check-list { list-style: none; }
.check-list li { font-size: 14px; color: var(--gray-700); line-height: 1.5; padding: 10px 0 10px 36px; position: relative; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 12px; width: 22px; height: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none'%3E%3Ccircle cx='11' cy='11' r='10' fill='%23F3EDFF' stroke='%23C4B5FD' stroke-width='1'/%3E%3Cpath stroke='%237B2FF2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6.5 11.5l3 3L15.5 8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: contain; }

/* ── GRADIENT TEXT ─────────────────────── */
.gradient-text { background: linear-gradient(135deg, #ff6b6b, #ee5a24, #f9ca24, #7B2FF2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-purple { background: linear-gradient(135deg, var(--purple), #a855f7, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── FOOTER ───────────────────────────── */
.footer { background: var(--deep-blue); color: var(--white); padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 34px; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 260px; margin-bottom: 18px; }
.footer-contact a { display: block; font-size: 13px; color: rgba(255,255,255,.65); padding: 3px 0; transition: color .2s; }
.footer-contact a:hover { color: var(--purple-light); }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.5); padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--purple-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.35); text-transform: uppercase; font-weight: 600; letter-spacing: 1px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { width: 28px; height: 28px; border-radius: 4px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.footer-socials a:hover { background: rgba(123,47,242,.4); }
.footer-socials svg { width: 14px; height: 14px; fill: #fff; }

/* ── DARK SECTIONS (AI page) ──────────── */
.dark-section { background: var(--deep-blue); color: var(--white); }
.dark-hero { background: linear-gradient(180deg, #1a0a3e 0%, #0d0628 40%, var(--deep-blue) 100%); position: relative; overflow: hidden; }
.dark-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 50% 0%, rgba(123,47,242,.3) 0%, transparent 60%); pointer-events: none; }
.dark-hero .container { position: relative; z-index: 1; }

/* ── FAQ ACCORDION ────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; background: none; border: none; padding: 24px 0; font-family: var(--font); font-size: 17px; font-weight: 700; color: var(--deep-blue); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color .2s; }
.faq-question:hover { color: var(--purple); }
.faq-question svg { width: 20px; height: 20px; transition: transform .3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-answer-inner { padding: 0 0 24px; font-size: 15px; color: var(--gray-600); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 500px; }

/* ── FORM ELEMENTS ────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--deep-blue); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 10px;
  font-family: var(--font); font-size: 15px; color: var(--deep-blue); background: var(--white);
  transition: border-color .2s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--purple); }
.form-textarea { min-height: 120px; resize: vertical; }

/* ── LOGIN ────────────────────────────── */
.login-card { max-width: 440px; margin: 0 auto; background: var(--white); border-radius: 20px; padding: 48px 40px; border: 1px solid var(--border); box-shadow: 0 8px 40px rgba(0,0,0,.06); }

/* ── SCROLLING LOGO MARQUEE ───────────── */
.logo-marquee{overflow:hidden;position:relative;width:100%;padding:24px 0}
.logo-marquee::before,.logo-marquee::after{content:'';position:absolute;top:0;bottom:0;width:80px;z-index:2}
.logo-marquee::before{left:0;background:linear-gradient(90deg,var(--white),transparent)}
.logo-marquee::after{right:0;background:linear-gradient(270deg,var(--white),transparent)}
.logo-track{display:flex;align-items:center;gap:64px;width:max-content;animation:marquee 50s linear infinite}
.logo-track img{height:44px;flex-shrink:0;transition:transform .2s}
.logo-track img:hover{transform:scale(1.08)}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ── PHONE SELECTOR ──────────────────── */
.phone-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:32px}
.phone-tab{padding:12px 24px;border-radius:50px;border:2px solid var(--border);font-size:14px;font-weight:700;font-family:var(--font);cursor:pointer;transition:all .25s;background:var(--white);display:flex;align-items:center;gap:8px}
.phone-tab:hover{border-color:var(--purple-light)}
.phone-tab.active{background:var(--purple);color:var(--white);border-color:var(--purple)}
.phone-tab .tab-icon{font-size:18px}
.phone-display{display:none;animation:fadeUp .4s ease}
.phone-display.active{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.phone-gallery{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.phone-gallery img{border-radius:16px;width:100%;cursor:pointer;transition:transform .3s;background:var(--gray-50);object-fit:contain}
.phone-gallery img:hover{transform:scale(1.03)}
.phone-main-img{border-radius:24px;width:100%;background:var(--gray-50);object-fit:contain;max-height:400px}
.phone-spec{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:14px}
.phone-spec svg{flex-shrink:0}
@keyframes fadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-center { display: none; }
  .nav-mobile { display: block; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .phone-display.active { grid-template-columns: 1fr; }
  .phone-gallery { grid-template-columns: 1fr 1fr; }
  .phone-tabs { justify-content: center; }
}

/* ═══ Scrolling Logo Marquee ═══ */
.logo-marquee{overflow:hidden;position:relative;padding:32px 0}
.logo-marquee::before,.logo-marquee::after{content:'';position:absolute;top:0;width:120px;height:100%;z-index:2;pointer-events:none}
.logo-marquee::before{left:0;background:linear-gradient(to right,var(--white),transparent)}
.logo-marquee::after{right:0;background:linear-gradient(to left,var(--white),transparent)}
.logo-track{display:flex;align-items:center;gap:64px;animation:scroll-logos 50s linear infinite;width:max-content}
.logo-track img{height:44px;flex-shrink:0;transition:transform .2s}
.logo-track img:hover{transform:scale(1.08)}
@keyframes scroll-logos{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.logo-marquee:hover .logo-track{animation-play-state:paused}

/* ═══ Phone Showcase Cards ═══ */
.phone-showcase{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px}
.phone-card{background:var(--white);border:2px solid var(--border);border-radius:20px;padding:24px;text-align:center;cursor:pointer;transition:all .3s}
.phone-card:hover,.phone-card.selected{border-color:var(--purple);box-shadow:0 8px 32px rgba(123,47,242,.1);transform:translateY(-3px)}
.phone-card.selected{background:var(--purple-bg)}
.phone-card img{max-height:160px;margin:0 auto 16px;object-fit:contain}
.phone-card h4{font-size:16px;font-weight:700;margin-bottom:4px}
.phone-card .phone-price{font-size:18px;font-weight:800;color:var(--purple)}
.phone-card .phone-desc{font-size:13px;color:var(--gray-500);margin-top:8px;line-height:1.5}

/* ═══ Multi-Step Signup ═══ */
.step-progress{display:flex;align-items:center;justify-content:center;gap:0;margin-bottom:48px}
.step-dot{width:36px;height:36px;border-radius:50%;border:2px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:var(--gray-400);background:var(--white);transition:all .3s;position:relative;z-index:1}
.step-dot.active{border-color:var(--purple);background:var(--purple);color:var(--white)}
.step-dot.done{border-color:var(--purple);background:var(--purple-bg);color:var(--purple)}
.step-line{width:80px;height:2px;background:var(--border)}
.step-line.active{background:var(--purple)}
.signup-panel{display:none}.signup-panel.active{display:block}
.addon-card{background:var(--white);border:2px solid var(--border);border-radius:16px;padding:20px;display:flex;align-items:center;gap:16px;cursor:pointer;transition:all .25s}
.addon-card:hover{border-color:var(--purple-light)}
.addon-card.selected{border-color:var(--purple);background:var(--purple-bg)}
.addon-card img{width:80px;height:80px;object-fit:contain;flex-shrink:0;border-radius:8px;mix-blend-mode:multiply;background:#fff}
.addon-card .addon-info{flex:1}
.addon-card .addon-name{font-size:15px;font-weight:700}
.addon-card .addon-price{font-size:14px;color:var(--purple);font-weight:700}
.addon-card .addon-desc{font-size:12px;color:var(--gray-500);margin-top:4px}
.addon-qty{display:flex;align-items:center;gap:8px}
.addon-qty button{width:32px;height:32px;border-radius:8px;border:1px solid var(--border);background:var(--white);font-size:16px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center}
.addon-qty button:hover{background:var(--purple-bg);border-color:var(--purple)}
.addon-qty span{font-size:16px;font-weight:700;min-width:24px;text-align:center}
.order-summary{background:var(--gray-50);border-radius:20px;padding:32px;border:1px solid var(--border);position:sticky;top:96px}
.summary-line{display:flex;justify-content:space-between;padding:8px 0;font-size:14px;border-bottom:1px solid var(--border)}
.summary-line:last-child{border-bottom:none}
.summary-total{display:flex;justify-content:space-between;padding:16px 0 0;font-size:18px;font-weight:800;border-top:2px solid var(--deep-blue);margin-top:8px}

/* Form select */
.form-select{width:100%;padding:12px 16px;border:2px solid var(--border);border-radius:10px;font-family:var(--font);font-size:14px;font-weight:500;background:var(--white);outline:none;transition:border-color .2s;appearance:none;-webkit-appearance:none;cursor:pointer}
.form-select:focus{border-color:var(--purple)}
