/*
    File: /css/style.css
    Website: domains.oze.au
    Description: Shared stylesheet
    Version: 2.5.8
    Date: 23 Jun 2026 | 9:22 AM AEST
    Author: Colin Dixon + Claude Opus 4.8
*/
:root {
    --primary-accent: #ffc107;
    --primary-blue: #3498db;
    --light-text: #f0f0f0;
    --dark-text: #212529;
    --btn-success: #28a745;
    --btn-secondary: #6c757d;
    --glass-bg-dark: rgba(10, 25, 41, 0.25);
    --glass-bg-light: rgba(255, 255, 255, 0.25);
    --glass-border-dark: rgba(255, 255, 255, 0.2);
    --glass-border-light: rgba(0, 0, 0, 0.2);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Roboto', sans-serif; line-height: 1.7;
    background-size: cover; background-position: center center; background-attachment: fixed;
    transition: color 0.4s ease;
}
body.dark { color: var(--light-text); background-image: url('../images/sunrise26may25.webp'); }
body.light { color: var(--dark-text); background-image: url('../images/background.webp'); }
.page-wrapper { max-width: 980px; margin: 20px auto; padding: 0 20px; text-align: center; position: relative; z-index: 1; }
.logo-container { text-align: center; margin-bottom: 25px; }
.logo-container img { max-width: 250px; height: auto; }
.logo-container a { display: inline-block; line-height: 0; }

.card-style {
    border-radius: 12px; padding: 35px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.3);
    margin-bottom: 40px;
}
@supports (backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px)) {
    .card-style { backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
}
body.dark .card-style { background-color: var(--glass-bg-dark); border: 1px solid var(--glass-border-dark); }
body.light .card-style { background-color: var(--glass-bg-light); border: 1px solid var(--glass-border-light); }

header h1 { font-family: 'Poppins', sans-serif; font-size: 3.2em; margin-bottom: 15px; }
header p { font-size: 1.3em; margin: 0 auto; max-width: 680px; }
body.dark header h1, body.dark header p { text-shadow: 1px 1px 4px rgba(0,0,0,0.6); }
/* Home page — globe renders above cards so boost card opacity + text contrast */
body#home-page.dark .card-style { background-color: rgba(5, 15, 35, 0.58); }
body#home-page.light .card-style { background-color: rgba(255, 255, 255, 0.58); }
body#home-page.dark header h1 { text-shadow: 0 2px 14px rgba(0,0,0,1), 0 0 40px rgba(0,0,0,0.9); }
body#home-page.dark header p  { text-shadow: 0 1px 8px rgba(0,0,0,0.95), 0 0 20px rgba(0,0,0,0.8); }
body#home-page .action-button { box-shadow: 0 2px 12px rgba(0,0,0,0.6); }
body.light header h1 { color: #2c3e50; }
body.light header p { color: #34495e; }
h2.section-title { font-family: 'Poppins', sans-serif; font-size: 2em; margin-bottom: 8px; }
.section-sub { opacity: 0.85; margin-bottom: 28px; }

.action-button {
    display: inline-block; text-decoration: none; font-size: 1.1em; font-weight: 700;
    padding: 15px 35px; border-radius: 50px; transition: all 0.3s var(--ease);
    margin: 10px; min-width: 220px; border: 2px solid; cursor: pointer;
    background: transparent; font-family: inherit;
}
.action-button:hover { transform: translateY(-2px); }
body.light .btn-primary { background-color: var(--dark-text); color: var(--light-text); border-color: var(--dark-text); }
body.light .btn-primary:hover { background-color: #555; border-color: #555; }
body.light .btn-secondary { color: var(--dark-text); border-color: var(--dark-text); }
body.light .btn-secondary:hover { background-color: rgba(0,0,0,0.05); }
body.light .btn-tertiary { color: #b8860b; border-color: #b8860b; }
body.light .btn-tertiary:hover { background-color: #b8860b; color: white; }
body.dark .btn-primary { background-color: var(--light-text); color: var(--dark-text); border-color: var(--light-text); }
body.dark .btn-primary:hover { background-color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.8); }
body.dark .btn-secondary { color: var(--light-text); border-color: var(--light-text); }
body.dark .btn-secondary:hover { background-color: rgba(255,255,255,0.1); }
body.dark .btn-tertiary { color: var(--primary-accent); border-color: var(--primary-accent); }
body.dark .btn-tertiary:hover { background-color: var(--primary-accent); color: var(--dark-text); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 16px; text-align: left; margin-top: 10px; }
.plan { position: relative; display: flex; flex-direction: column; border-radius: 12px; padding: 28px 24px; border: 1px solid var(--glass-border-dark); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
body.dark .plan { background: rgba(10, 25, 41, 0.2); }
body.light .plan { background: rgba(255, 255, 255, 0.2); border-color: var(--glass-border-light); }
.plan.featured { box-shadow: 0 0 0 2px var(--primary-accent), 0 10px 30px rgba(0,0,0,0.35); }
.plan:hover { transform: translateY(-3px); box-shadow: 0 0 22px rgba(52, 152, 219, 0.4), 0 8px 24px rgba(0,0,0,0.28); border-color: rgba(52, 152, 219, 0.5); }
.plan.featured:hover { box-shadow: 0 0 0 2px var(--primary-accent), 0 0 22px rgba(52, 152, 219, 0.4), 0 10px 30px rgba(0,0,0,0.35); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary-accent); color: #212529; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 14px; border-radius: 50px; }
.plan h3 { font-family: 'Poppins', sans-serif; font-size: 1.5em; text-align: center; margin-bottom: 2px; }
.plan .price { text-align: center; font-size: 2.5em; font-weight: 700; line-height: 1.1; }
.plan .price span { font-size: 0.36em; opacity: 0.7; font-weight: 400; }
.plan .annual { text-align: center; opacity: 0.7; font-size: 0.9em; margin-bottom: 18px; }
.plan-desc { font-size: 0.9em; opacity: 0.9; margin: 0 0 20px; line-height: 1.55; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; }
.plan li { padding: 6px 0 6px 26px; position: relative; font-size: 0.95em; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--btn-success); font-weight: 700; }
.plan .order { margin-top: auto; text-align: center; }
.plan .order .action-button { width: 100%; min-width: 0; margin: 0; }
.plan .order stripe-buy-button { display: block; }
.stripe-fallback { font-size: 0.78em; opacity: 0.7; margin: 10px 0 0; line-height: 1.4; }

/* Billing toggle */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 16px 0 28px; }
.toggle-label { font-size: 0.95em; font-weight: 500; }
.save-badge { display: inline-block; background: var(--btn-success); color: #fff; font-size: 0.72em; font-weight: 700; letter-spacing: 0.04em; padding: 2px 8px; border-radius: 50px; vertical-align: middle; margin-left: 4px; }
.toggle-switch { position: relative; width: 48px; height: 26px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider { position: absolute; inset: 0; background: rgba(255,255,255,0.2); border-radius: 26px; cursor: pointer; transition: background 0.3s; }
.toggle-slider::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.toggle-switch input:checked + .toggle-slider { background: var(--primary-accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); box-shadow: 0 0 8px rgba(255,193,7,0.6); }

.addons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; text-align: center; margin-top: 10px; }
.addon { padding: 18px 14px 20px; border-radius: 10px; border: 1px solid var(--glass-border-dark); cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); display: flex; flex-direction: column; align-items: center; }
body.dark .addon { background: rgba(10, 25, 41, 0.2); }
body.light .addon { background: rgba(255, 255, 255, 0.2); border-color: var(--glass-border-light); }
.addon:hover { transform: translateY(-3px); box-shadow: 0 0 22px rgba(52, 152, 219, 0.4), 0 8px 24px rgba(0,0,0,0.28); border-color: rgba(52, 152, 219, 0.5); }
.addon h4 { font-family: 'Poppins', sans-serif; margin-bottom: 4px; }
.addon .ap { font-size: 1.5em; font-weight: 700; }
.addon .ap span { font-size: 0.5em; opacity: 0.7; font-weight: 400; }
/* Payment preview modal */
.pay-price-box { border: 2px solid var(--primary-accent); border-radius: 12px; padding: 22px 20px 18px; margin-bottom: 20px; text-align: center; }
.pay-price { font-size: 3em; font-weight: 700; line-height: 1; }
.pay-price span { font-size: 0.35em; opacity: 0.7; font-weight: 400; }
.pay-billing { margin-top: 6px; font-size: 0.85em; color: var(--btn-success); font-weight: 600; }

/* Extra-transparent card so the globe animation shows through */
body.dark .card-airy { background-color: rgba(10, 25, 41, 0.12); }
body.light .card-airy { background-color: rgba(255, 255, 255, 0.14); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; text-align: left; margin-top: 14px; }
.testimonial { margin: 0; padding: 24px 22px; border-radius: 10px; border: 1px solid var(--glass-border-dark); display: flex; flex-direction: column; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
body.dark .testimonial { background: rgba(10, 25, 41, 0.10); }
body.light .testimonial { background: rgba(255, 255, 255, 0.12); border-color: var(--glass-border-light); }
.testimonial:hover { transform: translateY(-3px); box-shadow: 0 0 22px rgba(52, 152, 219, 0.4), 0 8px 24px rgba(0,0,0,0.28); border-color: rgba(52, 152, 219, 0.5); }
.testimonial blockquote { position: relative; margin: 0 0 18px; padding-left: 26px; font-size: 0.95em; line-height: 1.65; font-style: italic; opacity: 0.95; }
.testimonial blockquote::before { content: "\201C"; position: absolute; left: 0; top: -6px; color: var(--primary-accent); font-size: 2em; font-weight: 700; line-height: 1; }
.testimonial figcaption { margin-top: auto; font-size: 0.85em; line-height: 1.45; }
.testimonial figcaption strong { display: block; margin-bottom: 2px; }
.testimonial figcaption span { display: block; opacity: 0.7; }
.testimonials-more { text-align: center; margin-top: 24px; }
.testimonials-more a { color: var(--primary-blue); text-decoration: none; font-weight: 500; }
.testimonials-more a:hover { opacity: 0.8; }
.testimonials-more i { margin-right: 6px; }

/* Legal footer links */
.footer-legal { margin-top: 10px; font-size: 0.8em; opacity: 0.65; }
.footer-legal span { margin: 0 5px; }
.legal-link { background: none; border: none; color: inherit; cursor: pointer; font-size: inherit; font-family: inherit; text-decoration: underline; padding: 0; }
.legal-link:hover { opacity: 1; }

/* Legal modal */
.legal-modal { max-width: 620px; }
.legal-body { max-height: 65vh; overflow-y: auto; }
.legal-body h4 { font-family: 'Poppins', sans-serif; font-size: 0.95em; margin: 16px 0 4px; }
.legal-body p { font-size: 0.88em; opacity: 0.88; margin-bottom: 0; line-height: 1.6; }

/* in-content links */
.card-style p a:not(.action-button), .card-style li a:not(.action-button) { color: var(--primary-blue); text-decoration: none; font-weight: 500; }
.card-style p a:not(.action-button):hover { opacity: 0.8; }

footer p { margin-bottom: 12px; }
footer a { font-weight: bold; text-decoration: none; color: inherit; }
.footer-credit { font-size: 0.85em; margin-top: 25px; opacity: 0.9; }
.footer-credit p { margin: 0; line-height: 1.5; }
.footer-bottom { margin-top: 25px; }
.copyright { display: inline-flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 0; }
.footer-logo-link { display: inline-flex; line-height: 0; }
.footer-logo { height: 20px; width: auto; opacity: 0.85; transition: opacity 0.25s ease, transform 0.25s ease; }
.footer-logo-link:hover .footer-logo { opacity: 1; transform: translateY(-2px); }
.build-stamp { font-size: 0.72rem; letter-spacing: 0.05em; opacity: 0.5; font-variant-numeric: tabular-nums; margin-top: 6px; }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1000; display: none; justify-content: center; align-items: center; }
.modal-content { max-width: 550px; width: 95%; padding: 0; border-radius: 12px; transform: scale(0.9); transition: transform 0.3s ease-out; }
.modal-overlay.active { display: flex; }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 25px; border-bottom: 1px solid var(--glass-border-dark); }
body.light .modal-header { border-bottom-color: var(--glass-border-light); }
.modal-title { font-family: 'Poppins', sans-serif; font-size: 1.4em; }
.close-button { background: none; border: none; font-size: 1.8em; cursor: pointer; }
body.dark .close-button { color: var(--light-text); }
body.light .close-button { color: var(--dark-text); }
.modal-body { padding: 25px; text-align: left; }
.modal-body p { margin-bottom: 15px; font-size: 0.95em; line-height: 1.6; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border-radius: 5px; border: 1px solid #ccc; font-family: 'Roboto', sans-serif; font-size: 1em; }
body.dark .form-group input, body.dark .form-group textarea { background: #1e2d3b; border-color: #445; color: var(--light-text); }
#thankYouModal .modal-body pre { background: rgba(0,0,0,0.2); padding: 15px; border-radius: 5px; white-space: pre-wrap; word-wrap: break-word; font-size: 0.9em; margin-bottom: 20px; }
body.light #thankYouModal .modal-body pre { background: rgba(255,255,255,0.7); }
.modal-buttons { display: flex; gap: 15px; justify-content: flex-end; flex-wrap: nowrap; }
.button-enquiry { background-color: var(--primary-blue); color: white; }
.button-success { background-color: var(--btn-success); color: white; }
.button-clipboard { background-color: var(--btn-secondary); color: white; }

.toggle-theme { position: fixed; top: 1rem; right: 1rem; z-index: 1001; padding: 10px 15px; border-radius: 25px; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.3s ease; }
body.dark .toggle-theme { background-color: rgba(0,0,0,0.4); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
body.light .toggle-theme { background-color: rgba(255,255,255,0.8); color: #333; border: 1px solid rgba(0,0,0,0.2); }

@media (max-width: 768px) {
    header h1 { font-size: 2.2em; }
    header p { font-size: 1.1em; }
    .action-button { display: block; width: 90%; margin: 15px auto; }
    .modal-content { width: 90%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; } }
