/* ==========================================================================
   Smart Phone Deals AU — shared stylesheet
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: #0D0D1A; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }

:root {
  --blue:        #003087;
  --blue-mid:    #0047CC;
  --blue-light:  #E8F0FF;
  --o2-blue:     #0099FF;
  --o2-teal:     #00C8D7;
  --accent:      #00C8D7;
  --accent-dark: #00A0AD;
  --white:       #FFFFFF;
  --off-white:   #F4F8FF;
  --gray:        #5A6080;
  --gray-light:  #F0F4FF;
  --border:      #D8E4FF;
  --text:        #0D0D1A;
  --text-muted:  #5A6080;
  --radius:      16px;
  --radius-sm:   10px;
  --radius-pill: 50px;
  --shadow-card: 0 4px 24px rgba(0,48,135,0.10);
  --shadow-hover:0 10px 40px rgba(0,48,135,0.18);
  --shadow:      0 4px 24px rgba(0,48,135,0.10);
}

/* NAV */
nav { position: sticky; top: 0; z-index: 200; background: var(--blue); display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 6%; box-shadow: 0 2px 16px rgba(0,48,135,0.25); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { width: 38px; height: 38px; background: var(--o2-teal); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.nav-logo-text { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.2rem; color: #fff; letter-spacing: -0.3px; }
.nav-logo-text span { color: var(--o2-teal); }
.nav-phone { display: flex; align-items: center; gap: 8px; background: var(--o2-teal); color: var(--blue); font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 0.95rem; padding: 0.6rem 1.4rem; border-radius: var(--radius-pill); text-decoration: none; transition: background 0.2s, transform 0.15s; white-space: nowrap; }
.nav-phone:hover { background: var(--accent-dark); color: #fff; transform: scale(1.03); }

/* HERO */
.hero { background: linear-gradient(135deg, var(--blue) 0%, #001A5C 60%, #003087 100%); color: #fff; padding: 5rem 6% 4.5rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(0,200,215,0.18) 0%, transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -60px; left: 10%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,153,255,0.13) 0%, transparent 70%); border-radius: 50%; }
.hero-inner { max-width: 700px; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(0,200,215,0.18); border: 1px solid rgba(0,200,215,0.4); border-radius: var(--radius-pill); padding: 5px 14px; font-size: 0.78rem; font-weight: 600; color: var(--o2-teal); margin-bottom: 1.4rem; letter-spacing: 0.5px; text-transform: uppercase; }
.hero h1 { font-family: 'Outfit', sans-serif; font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.1rem; letter-spacing: -1px; }
.hero h1 span { color: var(--o2-teal); }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.78); margin-bottom: 2.2rem; max-width: 550px; line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--o2-teal); color: var(--blue); font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.05rem; padding: 0.9rem 2rem; border-radius: var(--radius-pill); text-decoration: none; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; padding: 0.85rem 1.8rem; border-radius: var(--radius-pill); border: 2px solid rgba(255,255,255,0.35); text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.hero-phone-strip { margin-top: 2.5rem; display: flex; align-items: center; gap: 14px; }
.hero-phone-strip .phone-label { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.big-phone-link { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--o2-teal); text-decoration: none; letter-spacing: -0.5px; }
.big-phone-link:hover { color: #fff; }

/* TRUST BAR */
.trust-bar { background: var(--off-white); border-bottom: 1.5px solid var(--border); padding: 1.1rem 6%; display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.83rem; font-weight: 600; color: var(--gray); }
.trust-item svg { color: var(--o2-teal); flex-shrink: 0; }

/* CALL BANNER */
.call-banner { background: linear-gradient(90deg, var(--blue) 0%, var(--blue-mid) 100%); padding: 1.6rem 6%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.call-banner-text h3 { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 0.2rem; }
.call-banner-text p { font-size: 0.83rem; color: rgba(255,255,255,0.65); }
.call-banner-phone { display: flex; align-items: center; gap: 12px; }
.call-banner-phone a { display: inline-flex; align-items: center; gap: 10px; background: var(--o2-teal); color: var(--blue); font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 1.2rem; padding: 0.75rem 2rem; border-radius: var(--radius-pill); text-decoration: none; transition: background 0.2s; letter-spacing: -0.3px; }
.call-banner-phone a:hover { background: var(--accent-dark); color: #fff; }
.call-banner-phone .hours { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* SECTIONS */
section { padding: 4.5rem 6%; }
.section-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--o2-teal); margin-bottom: 0.6rem; }
.section-title { font-family: 'Outfit', sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--text); margin-bottom: 0.6rem; letter-spacing: -0.5px; }
.section-sub { font-size: 0.95rem; color: var(--text-muted); max-width: 540px; line-height: 1.7; }

/* PLANS GRID */
.plans-section { background: var(--off-white); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.plan-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; transition: box-shadow 0.25s, transform 0.2s, border-color 0.2s; display: flex; flex-direction: column; position: relative; }
.plan-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--o2-blue); }
.plan-card.featured { border-color: var(--o2-teal); border-width: 2px; box-shadow: 0 8px 32px rgba(0,200,215,0.18); }
.plan-badge { position: absolute; top: -13px; left: 1.5rem; background: var(--o2-teal); color: var(--blue); font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 0.72rem; padding: 3px 12px; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: 0.5px; }
.plan-provider { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--o2-blue); margin-bottom: 0.5rem; }
.plan-name { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--text); margin-bottom: 0.75rem; }
.plan-price { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 900; color: var(--blue); letter-spacing: -1px; margin-bottom: 0.2rem; }
.plan-price sup { font-size: 1rem; vertical-align: super; }
.plan-price span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.plan-term { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.plan-features { list-style: none; margin-bottom: 1.5rem; flex: 1; }
.plan-features li { display: flex; align-items: center; gap: 9px; font-size: 0.87rem; color: var(--text-muted); padding: 0.4rem 0; border-bottom: 1px solid var(--gray-light); }
.plan-features li:last-child { border-bottom: none; }
.plan-features li svg { color: var(--o2-teal); flex-shrink: 0; }
.plan-cta { display: block; text-align: center; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 0.92rem; padding: 0.75rem 1.5rem; border-radius: var(--radius-pill); text-decoration: none; transition: background 0.2s, color 0.2s, transform 0.15s; }
.plan-cta.solid { background: var(--blue); color: #fff; }
.plan-cta.solid:hover { background: var(--blue-mid); transform: translateY(-1px); }
.plan-cta.outline { background: transparent; border: 2px solid var(--border); color: var(--blue); }
.plan-cta.outline:hover { border-color: var(--o2-teal); color: var(--o2-teal); }

/* HOW IT WORKS */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.step { text-align: center; }
.step-num { width: 52px; height: 52px; background: var(--blue-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 1.3rem; color: var(--blue); }
.step h4 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 0.4rem; }
.step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* WHY US */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.why-card { background: var(--gray-light); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.why-icon { width: 44px; height: 44px; background: var(--blue-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.why-card h4 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.97rem; color: var(--text); margin-bottom: 0.35rem; }
.why-card p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }

/* FAQ */
.faq-section { background: var(--off-white); }
.faq-list { max-width: 720px; margin: 2rem auto 0; }
.faq-item { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 0.75rem; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 1.1rem 1.4rem; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q:hover { color: var(--blue); }
.faq-a { display: none; padding: 0 1.4rem 1.1rem; font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-arrow { transition: transform 0.2s; flex-shrink: 0; }

/* BIG CTA SECTION */
.cta-section { background: linear-gradient(135deg, var(--blue) 0%, #001A5C 100%); color: #fff; text-align: center; padding: 5rem 6%; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,200,215,0.12) 0%, transparent 65%); border-radius: 50%; }
.cta-section h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; margin-bottom: 0.75rem; letter-spacing: -0.5px; position: relative; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 0.97rem; margin-bottom: 2rem; position: relative; }
.big-phone { display: inline-flex; align-items: center; gap: 12px; background: var(--o2-teal); color: var(--blue); font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 1.8rem; padding: 1rem 2.5rem; border-radius: var(--radius-pill); text-decoration: none; transition: background 0.2s, transform 0.2s; letter-spacing: -0.5px; position: relative; }
.big-phone:hover { background: var(--accent-dark); color: #fff; transform: scale(1.03); }
.cta-hours { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 1rem; position: relative; }

/* PAGE HERO (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--blue) 0%, #001A5C 100%); color: #fff; padding: 3.5rem 6% 3rem; }
.page-hero h1 { font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; margin-bottom: 0.5rem; letter-spacing: -0.5px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* CONTENT (legal pages) */
.content { max-width: 860px; margin: 0 auto; padding: 4rem 6%; }
.content h2 { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--blue); margin: 2rem 0 0.6rem; }
.content h2:first-child { margin-top: 0; }
.content p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.75rem; line-height: 1.75; }
.content ul { margin: 0.5rem 0 0.75rem 1.2rem; }
.content ul li { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.35rem; line-height: 1.65; }
.content a { color: var(--blue-mid); }
.last-updated { display: inline-block; background: var(--blue-light); color: var(--blue); font-size: 0.8rem; font-weight: 700; padding: 4px 14px; border-radius: var(--radius-pill); margin-bottom: 2rem; }

/* CONTACT PAGE */
.contact-section { padding: 4rem 6%; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; max-width: 1000px; margin: 0 auto; align-items: start; }
.contact-info h2 { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 0.5rem; }
.contact-info p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.75rem; line-height: 1.65; }
.contact-card { background: var(--gray-light); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1rem; display: flex; align-items: flex-start; gap: 14px; }
.contact-card-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card-body h4 { font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 800; color: var(--text); margin-bottom: 0.2rem; }
.contact-card-body p { font-size: 0.86rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.contact-card-body a { color: var(--blue-mid); font-weight: 700; text-decoration: none; font-size: 0.95rem; }
.contact-card-body a:hover { text-decoration: underline; }
.call-highlight { background: var(--blue); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; text-align: center; }
.call-highlight p { color: rgba(255,255,255,0.72); font-size: 0.82rem; margin-bottom: 0.6rem; }
.call-highlight a { display: inline-flex; align-items: center; gap: 9px; background: var(--o2-teal); color: var(--blue); font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.15rem; padding: 0.8rem 1.8rem; border-radius: var(--radius-pill); text-decoration: none; transition: background 0.2s; }
.call-highlight a:hover { background: var(--accent-dark); color: #fff; }
.call-highlight .hours { color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-top: 0.6rem; margin-bottom: 0; }
.contact-form-box { background: var(--gray-light); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-form-box h3 { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--text); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.68rem 0.95rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 0.92rem; color: var(--text); background: #fff; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue-mid); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.submit-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--blue); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1rem; padding: 0.85rem 2rem; border-radius: var(--radius-pill); border: none; cursor: pointer; margin-top: 0.5rem; transition: background 0.2s, transform 0.15s; }
.submit-btn:hover { background: var(--blue-mid); transform: translateY(-1px); }
.success-banner { display: none; background: #E6FFF5; border: 1.5px solid #5CE0B0; border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-top: 1rem; color: #0A5C3A; font-weight: 700; font-size: 0.9rem; text-align: center; }
.form-note { font-size: 0.76rem; color: var(--text-muted); text-align: center; margin-top: 0.75rem; }

/* DATA RIGHTS PAGE */
.info-box { background: #E6FFF5; border: 1.5px solid #5CE0B0; border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.info-box p { color: #0A5C3A; font-size: 0.9rem; margin: 0; font-weight: 600; }
.rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0; }
.right-card { background: var(--gray-light); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.right-card h4 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.88rem; color: var(--blue); margin-bottom: 0.3rem; }
.right-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.opt-out-form { background: #F4F8FF; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 2rem; margin: 2rem 0; }
.opt-out-form h3 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--blue); margin-bottom: 1.25rem; }
.opt-out-form .submit-btn { width: auto; display: inline-flex; }
.success-msg { display: none; background: #E6FFF5; border: 1.5px solid #5CE0B0; border-radius: 10px; padding: 1rem 1.25rem; margin-top: 1rem; color: #0A5C3A; font-weight: 700; font-size: 0.9rem; }
.list-tight { margin: 0.5rem 0 0.75rem 1.2rem; }
.list-tight li { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.35rem; }

/* FOOTER */
footer { background: #001040; color: rgba(255,255,255,0.5); padding: 1.8rem 6%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.8rem; font-weight: 500; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; margin-left: 1.25rem; }
footer a:hover { color: var(--o2-teal); }

/* RESPONSIVE */
@media (max-width: 700px) {
  nav { padding: 0.8rem 4%; }
  section { padding: 3rem 4%; }
  .hero { padding: 3.5rem 4% 3rem; }
  .call-banner { flex-direction: column; align-items: flex-start; padding: 1.4rem 4%; }
  .trust-bar { gap: 1.2rem; padding: 1rem 4%; justify-content: flex-start; }
  .contact-section { padding: 2.5rem 4%; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .content { padding: 2.5rem 4%; }
  .form-row { grid-template-columns: 1fr; }
  .rights-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
  footer a { margin-left: 0; margin-top: 0.3rem; }
  .big-phone { font-size: 1.3rem; padding: 0.85rem 1.8rem; }
}
