/* =========================================
   STYLE.CSS - HELPTIM WEBSITE DESIGN
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette matching premium dynamic feeling */
    --primary: #00E1D9;
    /* Bright Cyan from image */
    --primary-hover: #00BFB8;
    --primary-dark: #003B5C;
    /* Darker blue contrast for buttons */
    --secondary: #140C2C;
    /* Deep purple/blue for footer */
    --text: #2B2D42;
    /* Main dark text */
    --text-light: #6A6E83;
    /* Subtitle gray */
    --bg: #FFFFFF;
    --bg-alt: #F7F9FA;
    /* Off-white almost light gray */
    --gradient-1: #00E1D9;
    --gradient-2: #842BED;
    /* Purple/Violet for gradient background */

    /* Typography & Utilities */
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 45px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--bg);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Structural Utils */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-alt);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Typography */
h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subtitle {
    color: var(--primary-hover);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 15px;
    background: rgba(0, 225, 217, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
}

.center-text {
    text-align: center;
}

.text-white {
    color: #fff !important;
}

.text-light {
    color: #f0f0f0 !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 225, 217, 0.3);
}

.btn-primary-dark {
    background: var(--secondary);
    color: #fff;
    border: 2px solid var(--secondary);
}

.btn-primary-dark:hover {
    background: #fff;
    color: var(--secondary);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: #e0e0e0;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--primary);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    margin-top: 25px;
}


/* ===========================
   HEADER COMPONENT
   =========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0);
    transition: var(--transition);
    padding: 24px 0;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 16px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Soft premium shadow */
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-hover);
}

.header-actions {
    display: flex;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}


/* ===========================
   HERO SECTION
   =========================== */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: url('/images/fotka_gore.jpg') center/cover no-repeat;
}

.hero::before {
    /* Gradient overlay to make text readable */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
    animation: fadeInUp 1s ease forwards;
}

.hero-content .highlight {
    color: var(--primary-hover);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 35px;
    font-weight: 400;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 225, 217, 0.15);
    color: var(--primary-hover);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===========================
   STEPS (Kako radi)
   =========================== */
.steps-grid {
    margin-top: 60px;
}

.step-card {
    background: #fff;
    padding: 45px 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.step-card .icon-wrapper {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, rgba(0, 225, 217, 0.15), rgba(0, 225, 217, 0.05));
    color: var(--primary-hover);
    font-size: 2.2rem;
    border-radius: 25px;
    /* Squircle feeling */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.step-card:hover .icon-wrapper {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

.step-card p {
    color: var(--text-light);
}


/* ===========================
   PRICING
   =========================== */
.pricing-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.price-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 45px 40px;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid #eaeaea;
}

.price-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    padding: 55px 40px;
    box-shadow: 0 20px 50px rgba(0, 225, 217, 0.15);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-hover), #00A6CC);
    color: #fff;
    padding: 6px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.card-header p {
    color: var(--text-light);
}

.price {
    margin: 35px 0;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 30px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-hover);
    line-height: 1;
}

.period {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.1rem;
}

.features-list {
    text-align: left;
    margin-bottom: 20px;
}

.features-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.features-list li i {
    color: var(--primary-hover);
    font-size: 1.1rem;
}

.features-list li.disabled {
    color: #a0a0a0;
    text-decoration: line-through;
    font-weight: 400;
}

.features-list li.disabled i {
    color: #d0d0d0;
}


/* ===========================
   SERVICES
   =========================== */
.services-grid {
    margin-top: 60px;
}

.service-img-card {
    height: 400px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-img-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-img-card::after {
    /* Dark hover effect */
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 225, 217, 0.8);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.service-img-card:hover::after {
    opacity: 0.15;
}

.card-content {
    color: #fff;
    position: relative;
    z-index: 2;
    text-align: left;
}

.card-content h3 {
    font-size: 1.8rem;
    margin: 15px 0;
    font-weight: 700;
}

.card-content .icon {
    font-size: 2.4rem;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
}

.btn-link i {
    transition: transform 0.3s;
}

.btn-link:hover {
    color: #fff;
}

.btn-link:hover i {
    transform: translateX(5px);
    color: #fff;
}


/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-grid {
    margin-top: 60px;
}

.testimonials {
    background: linear-gradient(180deg, #f7f9fa 0%, #ffffff 100%);
}

.testi-card {
    background: #fff;
    padding: 45px 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: left;
    position: relative;
    border: 1px solid #e9eef5;
}

.testi-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    color: rgba(0, 225, 217, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.stars {
    color: #FFC107;
    margin-bottom: 25px;
    font-size: 1.2rem;
    display: flex;
    gap: 4px;
}

.quote {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text);
    position: relative;
    z-index: 2;
    line-height: 1.7;
}

.author {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.author strong {
    display: block;
    font-size: 1.15rem;
    color: var(--secondary);
}

.author span {
    color: var(--text-light);
    font-size: 0.95rem;
}


/* ===========================
   TRUST / FEATURES
   =========================== */
.trust {
    /* Rich dynamic gradient background from Cyan to Purple */
    background: linear-gradient(135deg, var(--gradient-1) 0%, #2196F3 50%, var(--gradient-2) 100%);
    position: relative;
    overflow: hidden;
}

.trust::after {
    /* Decorative circles for premium feel */
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.trust-grid {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.trust-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: var(--radius);
    text-align: left;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.trust-card:hover {
    transform: translateY(-8px);
}

.trust-card .icon {
    color: var(--primary-hover);
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.trust-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.trust-card p {
    color: var(--text-light);
}


/* ===========================
   FAQ
   =========================== */
.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
    text-align: left;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #eaeaea;
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    color: var(--secondary);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.15rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    color: var(--text-light);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 225, 217, 0.1);
}

.faq-item.active .faq-question {
    /* Custom cyan active state for FAQ question */
    background: linear-gradient(90deg, var(--primary), #00A6CC);
    color: #fff;
    border-radius: 10px 10px 0 0;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 12px 36px 32px 36px;
    background: #fff;
    border-radius: 0 0 10px 10px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.3s;
    font-size: 1.2rem;
}


/* ===========================
   CTA (Call To Action)
   =========================== */
.cta {
    background: var(--primary-hover);
    color: #fff;
    position: relative;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.cta-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}


/* ===========================
   SHARED INNER PAGES
   =========================== */
.split-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse > * {
    direction: ltr;
}

.media-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.media-card img {
    width: 100%;
    height: auto;
    display: block;
}

.checklist {
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 500;
}

.checklist i {
    color: var(--primary-hover);
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.table-wrap {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.compare-table th,
.compare-table td {
    padding: 18px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--secondary);
}

.compare-table thead {
    background: var(--bg-alt);
}

.compare-table i {
    color: var(--primary-hover);
}

.compare-table .fa-times {
    color: #c0c0c0;
}

.contact-form {
    background: #fff;
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-group label {
    font-weight: 600;
    color: var(--secondary);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 225, 217, 0.15);
}

.contact-card {
    background: #fff;
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-card p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    margin-bottom: 14px;
}

.contact-card i {
    color: var(--primary-hover);
}

.contact-hours {
    margin: 20px 0;
}

.contact-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-badges span {
    background: var(--bg-alt);
    padding: 8px 12px;
    border-radius: 30px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: var(--secondary);
    color: #fff;
    padding: 100px 0 20px;
}

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

.brand-col p {
    margin: 25px 0;
    color: #8F94AD;
    font-size: 1.05rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.15rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul a {
    color: #8F94AD;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* micro interaction */
.contact-col p {
    margin-bottom: 16px;
    color: #8F94AD;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-col i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8F94AD;
    font-size: 0.95rem;
}

.privacy-links {
    display: flex;
    gap: 30px;
}

.privacy-links a:hover {
    color: #fff;
}


/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 60px auto 0;
    }

    .price-card.popular {
        transform: scale(1);
    }

    /* remove scale on mobile */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    h1 {
        font-size: 3.2rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    /* Mobile Header */
    .header-actions,
    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eaeaea;
    }

    .main-nav.active ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .main-nav.active ul li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #f5f5f5;
    }

    .main-nav.active ul li:last-child {
        border-bottom: none;
    }

    .site-header {
        padding: 15px 0;
        background: rgba(255, 255, 255, 0.98);
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Grid Collapses */
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Hero Updates */
    .hero {
        padding-top: 140px;
        padding-bottom: 100px;
        background-position: left center;
    }

    .hero::before {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    }

    .hero-content {
        margin: 0 auto;
        text-align: center;
    }

    h1 {
        font-size: 2.6rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    /* CTA buttons stack */
    .cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    .btn-large {
        width: 100%;
        text-align: center;
    }
}

/* ==============================================
   HELPTIM OVERRIDES
   ============================================== */

/* Phone bar above header */
.top-phone-bar {
    background: linear-gradient(90deg, var(--secondary) 0%, #1a1240 100%);
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 16px;
    letter-spacing: 0.03em;
    width: 100%;
    line-height: 1.35;
}
.top-phone-bar a {
    color: var(--primary);
    display: block;
    margin-top: 2px;
    font-size: 1.15rem;
    font-weight: 800;
}

/* Header adjustments */
.site-header { padding: 0; }
.site-header .header-inner { padding: 16px 0; }
.hero { padding-top: 230px; }

/* Inner pages */
.page-main {
    padding-top: 150px;
    padding-bottom: 48px;
}
@media (max-width: 768px) {
    .hero { padding-top: 180px; }
    .page-main { padding-top: 130px; }
}

/* Legal pages */
.legal-prose ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}
.legal-prose ul li { margin-bottom: 0.5em; }
.legal-prose ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

/* Spacing helpers */
.mb-3  { margin-bottom: 1rem; }
.mb-4  { margin-bottom: 1.5rem; }
.mb-5  { margin-bottom: 3rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-3  { margin-top: 1rem; }
.mt-4  { margin-top: 1.5rem; }
.mt-5  { margin-top: 3rem; }
.my-4  { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-5  { margin-top: 3rem; margin-bottom: 3rem; }
.m-0   { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-0   { padding: 0; }

/* Display helpers */
.text-center   { text-align: center; }
.text-uppercase { text-transform: uppercase; }
.d-flex        { display: flex; }
.flex-column   { flex-direction: column; }
.d-block       { display: block; }
.d-none        { display: none !important; }
.w-100         { width: 100%; }

@media (min-width: 576px) {
    .d-sm-block { display: block !important; }
    .flex-sm-row { flex-direction: row; }
}
.flex-sm-row { flex-direction: column; }

/* Form controls */
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary);
    font-size: 0.95rem;
}
.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
}
.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 225, 217, 0.15);
}
.form-control.is-invalid,
.form-select.is-invalid  { border-color: #c0392b; }

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}
.form-check-input {
    margin-top: 4px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-hover);
}
.form-check-input.is-invalid { outline: 2px solid #c0392b; }
.form-check-label { font-size: 0.95rem; line-height: 1.5; color: var(--text); }

.text-danger {
    color: #c0392b;
    font-size: 0.875rem;
    display: block;
    margin-top: 6px;
}

/* Alert boxes */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.alert-danger {
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.35);
    color: #922b21;
}
.alert-success {
    background: rgba(39, 174, 96, 0.12);
    border: 1px solid rgba(39, 174, 96, 0.35);
    color: #1e8449;
}

/* Helptim submit button variant */
.btn-helptim {
    background: var(--primary);
    color: #fff !important;
    width: 100%;
    margin-top: 8px;
    border: none;
}
.btn-helptim:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 225, 217, 0.3);
}
.btn-helptim:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* Simple row/col grid for subscribe city/zip/col */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
}
.row > * { padding-left: 8px; padding-right: 8px; }
.row .col { flex: 1 1 0; min-width: 0; }
.col-md-6 { flex: 1 1 100%; max-width: 100%; }
@media (min-width: 768px) {
    .col-md-6 { flex: 1 1 calc(50% - 16px); max-width: calc(50% - 16px); }
    .mb-md-0  { margin-bottom: 0 !important; }
}

/* Back-to-top button */
#btn-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1100;
    display: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    padding: 0;
}
#btn-back-to-top:hover { background: var(--primary-hover); transform: translateY(-3px); }

/* Subscribe page */
.main-container { width: 100%; max-width: 460px; margin: 0 auto; padding: 0 24px 48px; }
.page-shell { display: flex; flex-direction: column; min-height: 100vh; }
.logo-image { display: block; max-height: 72px; width: auto; margin: 0 auto; }
.allsecure_container { min-height: 48px; }

/* Spinner (Bootstrap compat) */
.spinner-border {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: -0.15em;
    border: 2px solid rgba(255,255,255,0.35);
    border-right-color: transparent;
    border-radius: 50%;
    animation: ht-spin 0.75s linear infinite;
}
@keyframes ht-spin { to { transform: rotate(360deg); } }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Index layout helpers */
.split-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 320px;
}
.split-band.reverse { direction: rtl; }
.split-band.reverse > * { direction: ltr; }
.split-band img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }
.split-band .band-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 5vw, 64px);
    background: var(--bg);
}
.split-band .band-text h2,
.split-band .band-text h3 { margin-bottom: 14px; }
.split-band .band-text p { color: var(--text-light); margin-bottom: 14px; }

.cta-band {
    position: relative;
    min-height: 280px;
    background: linear-gradient(135deg, #140c2c 0%, #0b5f80 50%, #00a6cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20,12,44,0.85), rgba(0,191,184,0.55));
}
.cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 48px 24px;
    text-align: center;
    color: #fff;
}
.cta-inner h2, .cta-inner h3, .cta-inner h5 { color: #fff; margin: 0; }

.benefits-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 48px 0 80px;
}
.benefit-card { text-align: center; padding: 24px 16px; }
.benefit-card img { max-height: 80px; margin: 0 auto 20px; display: block; }
.benefit-card h3 { font-size: 1.2rem; color: var(--secondary); }
.benefit-card p  { color: var(--text-light); font-size: 0.95rem; }

.section-heading-home { text-align: center; margin-bottom: 32px; }

@media (max-width: 992px) {
    .split-band { grid-template-columns: 1fr; }
    .split-band.reverse { direction: ltr; }
    .benefits-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .benefits-grid-4 { grid-template-columns: 1fr; }
}

/* Contact page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
}
.contact-card a { color: var(--primary-hover); }

/* Register page */
.register-form-section .container { max-width: 920px; }
.register-form-section h1 { font-size: 2.4rem; }
.register-form-section #registrationForm {
    background: #fff;
    border: 1px solid #e7edf4;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 32px;
}
.register-form-section #registrationForm h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf1f6;
    color: var(--secondary);
}
.register-form-section #registrationForm h3:first-of-type {
    margin-top: 0;
}
.register-form-section .mb-3 {
    margin-bottom: 1.1rem;
}

/* Footer additions */
.footer-payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 32px 24px 16px;
    background: #f6f8fb;
    border-top: 1px solid rgba(255,255,255,0.18);
}
.footer-payments img  {
    height: 30px;
    width: auto;
    background: #fff;
    border: 1px solid #dce5f0;
    border-radius: 8px;
    padding: 6px 10px;
}
.footer-payments a img { height: 30px; }

.footer-legal-line {
    text-align: center;
    padding: 16px 24px 40px;
    color: #8f94ad;
    font-size: 0.85rem;
    line-height: 1.6;
    background: var(--secondary);
}
.footer-legal-line b { color: #cfd2e6; }

.info-section {
    background: var(--bg-alt);
    padding: 48px 24px;
    margin-top: 24px;
}
.info-section h3 { margin-bottom: 20px; color: var(--secondary); }
.info-section p  { margin-bottom: 12px; color: var(--text); }

@media (max-width: 768px) {
    .top-phone-bar {
        font-size: 0.82rem;
        padding: 8px 12px;
    }

    .top-phone-bar a {
        font-size: 1rem;
    }

    .register-form-section #registrationForm {
        padding: 20px;
        border-radius: 14px;
    }

    .faq-item.active .faq-answer {
        padding: 10px 22px 24px 22px;
    }
}
