/* ============================================================
   Go360Live Marketing — page-specific styles
   Built on Bootstrap 5 + go360live-theme.css.
   ------------------------------------------------------------
   Brand colors come from theme vars (--go360-*, --bs-*).
   Avoid re-declaring resets, containers, buttons, forms, or
   alerts — Bootstrap owns those.
   ============================================================ */


/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--go360-teal) 0%, var(--go360-deep-teal) 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* In the hero, invert button colors so they read against the gradient. */
.hero-buttons .btn-primary {
    background-color: #fff;
    color: var(--go360-deep-teal);
    border-color: #fff;
}

.hero-buttons .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--go360-deep-teal);
}

.hero-buttons .btn-secondary,
.hero-buttons .btn-outline-primary,
.hero-buttons .btn-outline-light {
    color: #fff;
    border: 2px solid #fff;
    background-color: transparent;
}

.hero-buttons .btn-secondary:hover,
.hero-buttons .btn-outline-primary:hover,
.hero-buttons .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: #fff;
}


/* ── Page Header ──────────────────────────────────────────── */
.page-header {
    background-color: var(--bs-tertiary-bg);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--bs-secondary-color);
}


/* ── Features ─────────────────────────────────────────────── */
.features {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bs-body-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(8, 48, 73, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(8, 48, 73, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--go360-teal);
}

.feature-icon-img {
    font-size: 0;
    line-height: 0;
}

.feature-icon-img img {
    width: 3.5rem;
    height: 3.5rem;
    display: block;
    margin: 0 auto;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--bs-secondary-color);
    margin-bottom: 0;
}


/* ── CTA ──────────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--go360-teal) 0%, var(--go360-deep-teal) 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: #fff;
    color: var(--go360-deep-teal);
    border-color: #fff;
}

.cta-section .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--go360-deep-teal);
}


/* ── Products ─────────────────────────────────────────────── */
.products-page .page-header h1 {
    color: var(--go360-navy-600);
}

.products-page .product-item h2 {
    color: var(--go360-navy-600);
}

.products-section {
    padding: 4rem 0;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--bs-tertiary-bg);
    border-radius: 12px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: productItemEnter 0.6s ease forwards;
    opacity: 0;
}

.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }
.product-item:nth-child(4) { animation-delay: 0.4s; }

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(8, 48, 73, 0.18), 0 6px 16px rgba(8, 48, 73, 0.12);
}

@keyframes productItemEnter {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.product-item-reverse {
    flex-direction: row-reverse;
}

.product-image {
    flex-shrink: 0;
    width: 320px;
    border-radius: 10px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.04);
}

.product-image img.product-image-icon {
    object-fit: contain;
    padding: 1.5rem;
    background-color: rgba(8, 48, 73, 0.05);
}

.product-item h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-item p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--bs-secondary-color);
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--go360-green);
    font-weight: bold;
}


/* ── Pricing (reserved for future view) ───────────────────── */
.pricing-section {
    padding: 4rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--bs-body-bg);
    border: 2px solid var(--bs-border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(8, 48, 73, 0.12);
}

.pricing-card.featured {
    border-color: var(--go360-teal);
    box-shadow: 0 4px 12px rgba(34, 178, 163, 0.2);
}

.pricing-card .badge-featured {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--go360-teal);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--go360-teal);
}

.period {
    font-size: 1rem;
    color: var(--bs-secondary-color);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    padding: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}


/* ── FAQ (reserved for future view) ───────────────────────── */
.faq-section {
    padding: 4rem 0;
    background-color: var(--bs-tertiary-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background-color: var(--bs-body-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(8, 48, 73, 0.08);
}

.faq-item h4 {
    color: var(--go360-teal);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--bs-secondary-color);
}


/* ── Contact ──────────────────────────────────────────────── */
.contact-section {
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--go360-teal);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.account-link {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bs-border-color);
}

/* Contact page applies a navy treatment over the whole page. */
.contact-page {
    background-color: var(--go360-navy-600);
}

.contact-page .page-header {
    background-color: transparent;
}

.contact-page .page-header h1,
.contact-page .contact-info h2 {
    color: #fff;
}

.contact-page .page-header p,
.contact-page .contact-info p,
.contact-page .contact-item strong,
.contact-page .account-link p {
    color: rgba(255, 255, 255, 0.85);
}

.contact-page .contact-item a {
    color: var(--go360-aqua);
}

.contact-page .contact-item a:hover {
    color: #fff;
}

.contact-page .account-link {
    border-top-color: rgba(255, 255, 255, 0.2);
}


/* ── Forms ────────────────────────────────────────────────── */
/* Bootstrap owns .form-control. Keep .form-group for legacy markup
   (it's just a margin wrapper) and add .form-row for two-column layouts. */
.contact-form, .signup-form {
    background-color: var(--bs-body-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(8, 48, 73, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}


/* ── Sign Up ──────────────────────────────────────────────── */
.signup-section {
    padding: 4rem 0;
}

.signup-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.signup-benefits {
    background-color: var(--bs-tertiary-bg);
    padding: 2rem;
    border-radius: 12px;
}

.signup-benefits h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    color: var(--bs-secondary-color);
    font-size: 1.1rem;
}

.signup-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--bs-secondary-color);
}

.signup-footer a {
    color: var(--go360-teal);
    text-decoration: none;
    font-weight: 600;
}

.signup-footer a:hover {
    text-decoration: underline;
}


/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .contact-wrapper,
    .signup-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .pricing-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .product-item,
    .product-item-reverse {
        flex-direction: column;
    }

    .product-image {
        width: 100%;
    }

    .product-image img {
        height: 200px;
    }
}
