/* ============================================================
   MY AI WORKER BRISBANE — Stylesheet
   Color palette derived from logo:
   - Primary Red:    #c0392b (main brand color)
   - Dark Red:       #922b21 (darker shade for gradients)
   - Light Red:      #e74c3c (lighter shade)
   - Accent Cyan:    #00CFFD (energy glow)
   - Gold/Yellow:    #F9A825 (logo text highlights)
   - Dark BG:        #2c1008 (footer/dark sections)
   - White:          #ffffff
   - Light Gray:     #f4f6fb
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2d2d3a;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #2c1008;
}

a {
    color: #00CFFD;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: #00a8d6; }

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

ul { list-style: none; }

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

.required { color: #D63031; }

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 8px;
    white-space: nowrap;
}

.btn-cta {
    background: linear-gradient(135deg, #D63031 0%, #e74c3c 100%);
    color: #fff;
    border-color: #D63031;
    box-shadow: 0 4px 15px rgba(214, 48, 49, 0.35);
}
.btn-cta:hover {
    background: linear-gradient(135deg, #c0392b 0%, #D63031 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 48, 49, 0.45);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: #fff;
}

.btn-outline-dark {
    background: transparent;
    color: #c0392b;
    border-color: #c0392b;
}
.btn-outline-dark:hover {
    background: #c0392b;
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 38px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---- SECTIONS ---- */
.section {
    padding: 90px 0;
}

.bg-light {
    background: #f4f6fb;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.4rem;
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #6b7280;
    max-width: 640px;
    margin: 0 auto;
}

/* ---- GRIDS ---- */
.grid {
    display: grid;
    gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ---- CARDS ---- */
.card {
    background: #fff;
    border-radius: 14px;
    padding: 36px;
    box-shadow: 0 2px 16px rgba(192, 57, 43, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(192, 57, 43, 0.12);
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #c0392b;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
#site-header.scrolled {
    background: #c0392b;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

/* Logo overhanging the header */
.logo {
    position: relative;
    z-index: 1002;
}
.logo-img {
    height: 150px;
    width: auto;
    margin-top: 80px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    transition: height 0.3s ease;
}

#main-nav ul {
    display: flex;
    gap: 6px;
}

#main-nav a {
    color: rgba(255,255,255,0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}
#main-nav a:hover,
#main-nav a.active {
    color: #00CFFD;
    background: rgba(0, 207, 253, 0.08);
}

.header-cta {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    margin: 5px 0;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero-background.png') center center / cover no-repeat;
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44,16,8,0.90) 0%, rgba(146,43,33,0.78) 50%, rgba(44,16,8,0.92) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    flex: 1;
    color: #fff;
}

.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 22px;
    line-height: 1.15;
}

.highlight {
    background: linear-gradient(90deg, #00CFFD, #00a8d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}
.trust-item svg { color: #00CFFD; flex-shrink: 0; }

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 700px;
    max-width: 50%;
    z-index: 0;
    opacity: 0.85;
    pointer-events: none;
}
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    filter: drop-shadow(0 20px 60px rgba(0,207,253,0.25));
    animation: float 6s ease-in-out infinite;
}

/* Ensure text/buttons sit on top of the hero image */
.hero-content {
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ============================================================
   PROBLEM CARDS
   ============================================================ */
.problem-card {
    text-align: center;
}
.problem-card .card-icon {
    margin: 0 auto 20px;
}
.problem-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: #D63031;
}
.problem-card ul {
    text-align: left;
}
.problem-card li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: #4a4a5a;
    font-size: 0.95rem;
}
.problem-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D63031;
    opacity: 0.5;
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-red {
    background: rgba(214, 48, 49, 0.08);
    color: #D63031;
}
.icon-cyan {
    background: rgba(0, 207, 253, 0.08);
    color: #00CFFD;
}

/* ============================================================
   FEATURE / SERVICE CARDS
   ============================================================ */
.feature-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.feature-card p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* ============================================================
   ROI / STATS (Dark Section)
   ============================================================ */
.section-dark {
    background: linear-gradient(135deg, #2c1008 0%, #922b21 50%, #2c1008 100%);
    color: #fff;
}
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.75); }

.stat-card {
    text-align: center;
    padding: 36px 20px;
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    border: 1px solid rgba(0, 207, 253, 0.15);
    backdrop-filter: blur(8px);
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #00CFFD;
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

/* ============================================================
   TRADES / INDUSTRIES
   ============================================================ */
.trade-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(192,57,43,0.06);
    transition: all 0.3s ease;
    color: inherit;
    text-decoration: none;
}
.trade-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,207,253,0.15);
    color: inherit;
}
.trade-card:hover .trade-icon-wrap {
    background: linear-gradient(135deg, #c0392b, #922b21);
    color: #fff;
}

.trade-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 207, 253, 0.08);
    color: #2c1008;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.trade-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}
.trade-card p {
    font-size: 0.82rem;
    color: #6b7280;
}

/* ============================================================
   HOW IT WORKS TIMELINE
   ============================================================ */
.steps-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}
.steps-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #c0392b, #922b21);
    border-radius: 3px;
}

.step-item {
    display: flex;
    gap: 28px;
    margin-bottom: 48px;
    position: relative;
}
.step-item:last-child { margin-bottom: 0; }

.step-number {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #c0392b, #922b21);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e74c3c;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.3);
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    padding-top: 4px;
}
.step-content p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-card {
    text-align: center;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
}
.pricing-card.popular {
    border: 2px solid #00CFFD;
    transform: scale(1.04);
    box-shadow: 0 8px 40px rgba(0, 207, 253, 0.15);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00CFFD, #00a8d6);
    color: #2c1008;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 22px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}
.pricing-header h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.price {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: #2c1008;
    line-height: 1;
}
.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #6b7280;
}

.setup-fee {
    color: #6b7280;
    font-size: 0.88rem;
    margin-top: 8px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 24px;
    flex-grow: 1;
}
.pricing-features li {
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
}
.pricing-features li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 16px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300CFFD' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.pricing-best {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 20px;
}

.pricing-note {
    text-align: center;
    margin-top: 36px;
    color: #6b7280;
    font-size: 0.9rem;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.section-cta {
    background: linear-gradient(135deg, #2c1008 0%, #922b21 100%);
    padding: 60px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #fff;
}

.cta-mascot {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 0 16px rgba(0, 207, 253, 0.3));
    flex-shrink: 0;
}

.cta-content h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 6px;
}
.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(192,57,43,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c1008;
    text-align: left;
    gap: 16px;
}
.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #00CFFD;
}
.faq-question:hover { color: #c0392b; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
    max-height: 300px;
}
.faq-answer p {
    padding: 0 28px 22px;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 12px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-item svg {
    flex-shrink: 0;
    color: #00CFFD;
    margin-top: 2px;
}
.contact-item strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 2px;
}
.contact-item p {
    color: #6b7280;
    font-size: 0.95rem;
}

.contact-areas {
    background: rgba(0, 207, 253, 0.06);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 207, 253, 0.15);
}
.contact-areas strong {
    font-family: 'Montserrat', sans-serif;
    display: block;
    margin-bottom: 6px;
}
.contact-areas p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #2d2d3a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    color: #2d2d3a;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00CFFD;
    box-shadow: 0 0 0 3px rgba(0, 207, 253, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ---- Contact Form 7 Integration ---- */
.wpcf7 .form-group { margin-bottom: 20px; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    color: #2d2d3a;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #00CFFD;
    box-shadow: 0 0 0 3px rgba(0, 207, 253, 0.12);
}
.wpcf7 textarea { resize: vertical; min-height: 100px; }

/* CF7 submit button — match .btn-cta style */
.wpcf7 input[type="submit"],
.wpcf7 .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid #c0392b;
    cursor: pointer;
    background: linear-gradient(135deg, #D63031 0%, #e74c3c 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(214, 48, 49, 0.35);
    transition: all 0.3s ease;
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 .btn:hover {
    background: linear-gradient(135deg, #c0392b 0%, #D63031 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 48, 49, 0.45);
}

/* CF7 validation messages */
.wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: 4px;
}
.wpcf7-response-output {
    padding: 14px 20px;
    border-radius: 8px;
    margin-top: 16px;
    font-weight: 500;
    font-size: 0.95rem;
}
.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    background: rgba(0, 207, 253, 0.08);
    color: #00a8d6;
    border: 1px solid rgba(0, 207, 253, 0.2);
}
.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    background: rgba(192, 57, 43, 0.08);
    color: #c0392b;
    border: 1px solid rgba(192, 57, 43, 0.2);
}

/* Hide CF7 spinner */
.wpcf7-spinner { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
    background: #2c1008;
    color: rgba(255,255,255,0.75);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.55);
}

.footer-logo {
    height: 142px;
    width: auto;
}

.footer-links h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #00CFFD;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links li {
    padding: 5px 0;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: #00CFFD; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-legal {
    display: flex;
    gap: 24px;
}
.footer-legal a {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c0392b, #922b21);
    color: #fff;
    border: 2px solid rgba(192, 57, 43, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#back-to-top:hover {
    border-color: #e74c3c;
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.4);
}

/* ============================================================
   ANIMATIONS (scroll reveal)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-image { width: 500px; max-width: 45%; opacity: 0.6; }
    .hero-content h1 { font-size: 2.8rem; }
    .logo-img { height: 120px; margin-top: 16px; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 1.9rem; }

    /* Header mobile — smaller logo with slight overhang */
    .logo-img {
        height: 100px;
        margin-top: 20px;
        filter: none;
    }

    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #c0392b;
        padding: 90px 24px 24px;
        transition: right 0.35s ease;
        box-shadow: -4px 0 30px rgba(0,0,0,0.4);
        z-index: 999;
    }
    #main-nav.open { right: 0; }
    #main-nav ul { flex-direction: column; gap: 4px; }
    #main-nav a { font-size: 1rem; padding: 14px 16px; display: block; }

    .hamburger { display: block; }
    .header-cta { display: none; }

    /* Hero mobile — image goes below text, not absolute */
    .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-subtitle { margin: 0 auto 28px; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 380px;
        max-width: 100%;
        margin: 0 auto;
        opacity: 1;
        pointer-events: auto;
    }

    /* Grids mobile */
    .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
    .trades-grid.grid-5 { grid-template-columns: repeat(2, 1fr); }

    /* Pricing */
    .pricing-card.popular { transform: none; }

    /* CTA banner */
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-content { flex-direction: column; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.85rem; }
    .section-header h2 { font-size: 1.6rem; }
    .price { font-size: 2.6rem; }
    .stat-number { font-size: 2.4rem; }
    .trades-grid.grid-5 { grid-template-columns: 1fr 1fr; gap: 14px; }
    .trade-card { padding: 20px 12px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-lg { width: 100%; }
}
