/*
Theme Name: QLMC Theme
Theme URI:
Author: Queensland Logistics and Manufacturing Company
Description: Custom theme for Queensland Logistics and Manufacturing Company
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qlmc-theme
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header Styles */
.site-header {
    background-color: #fff;
    padding: 1rem 2rem;
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 70px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu li a {
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #7B2D8E;
}

/* Dropdown Menu Styles */
.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    min-width: 180px;
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #333;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #7B2D8E;
}

.btn-signin {
    background-color: #7B2D8E;
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-signin:hover {
    background-color: #5e2270;
}

/* Header Actions (Cart + Account) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-cart {
    display: none;
    align-items: center;
    gap: 0.25rem;
    color: #333;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 5px;
    transition: color 0.3s ease;
}

.header-cart.has-items {
    display: flex;
}

.header-cart:hover {
    color: #7B2D8E;
}

.header-cart svg {
    flex-shrink: 0;
}

.header-cart .cart-count {
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background-color: transparent;
    position: relative;
    min-height: calc(100vh - 100px);
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waves-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/waves_cropped.png?v=3');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-right: 2rem;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 400;
    color: #333;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.hero-description em {
    font-style: italic;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 550px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Hero Gallery Styles */
.hero-gallery {
    position: relative;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hero-gallery .gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 12px;
    max-width: none;
    box-shadow: none;
}

.hero-gallery .gallery-image.active {
    opacity: 1;
}

/* Footer Styles */
.site-footer {
    background-color: #7B2D8E;
    color: #fff;
    padding: 1.5rem 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

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

.copyright {
    font-size: 0.95rem;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-container {
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    /* Mobile Navigation */
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .main-navigation.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .nav-menu li a {
        font-size: 1.1rem;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .header-cart.has-items {
        justify-content: center;
        padding: 0.5rem 1rem;
        background-color: #f5f5f5;
        border-radius: 5px;
    }

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

    /* Mobile Dropdown */
    .has-dropdown {
        position: relative;
    }

    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background-color: transparent;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.active .dropdown-menu {
        max-height: 200px;
    }

    .dropdown-menu li a {
        padding: 0.5rem 0 0.5rem 1rem;
        font-size: 1rem;
    }

    .dropdown-menu li a:hover {
        background-color: transparent;
    }

    /* Mobile Hero */
    .hero-container {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        justify-content: center;
        order: -1;
    }

    .hero-image img {
        max-width: 350px;
    }

    .hero-gallery {
        max-width: 350px;
    }

    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .waves-background {
        height: 100%;
        background-size: cover;
        background-position: center bottom;
    }
}

@media screen and (max-width: 480px) {
    .site-header {
        padding: 1rem;
    }

    .site-logo img {
        height: 50px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-container {
        padding: 1.5rem 1rem;
    }

    .site-footer {
        padding: 1rem;
    }

    .copyright {
        font-size: 0.85rem;
    }
}

/* Mobile menu overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* Hamburger animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Generic Page Styles */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #333;
}

.page-content {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media screen and (max-width: 768px) {
    .page-container {
        padding: 2rem 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .page-container {
        padding: 1.5rem 1rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-content {
        padding: 1.5rem;
    }
}

/* Page Waves Background - extends to footer */
.site-main > .waves-background {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/waves_cropped.png?v=3');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    pointer-events: none;
    z-index: 0;
}

/* Contact Page Styles */
.contact-section {
    background-color: transparent;
    position: relative;
    min-height: 500px;
    overflow: hidden;
    flex: 1;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    border: none;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

.form-group select option[value=""][disabled] {
    color: #666;
}

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

.btn-submit {
    background-color: #7B2D8E;
    color: #fff;
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background-color: #5e2270;
}

.contact-success,
.contact-error {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-success p,
.contact-error p {
    margin: 0;
}

/* Contact Page Responsive */
@media screen and (max-width: 768px) {
    .contact-container {
        padding: 2rem 1.5rem;
    }

    .contact-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-title {
        font-size: 1.75rem;
    }

    .contact-container {
        padding: 1.5rem 1rem;
    }
}

/* ========================================
   Label Studio Product Page Styles
   ======================================== */

.product-page {
    background-color: #f5f5f5;
    position: relative;
}

/* Hero Section */
.product-hero {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 2rem 3rem;
    position: relative;
}

.product-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.product-title {
    font-size: 3rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 1.5rem;
}

.product-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.product-description {
    font-size: 1.15rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateY(5px);
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    background-color: #7B2D8E;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-arrow svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.scroll-indicator span {
    color: #333;
    font-weight: 500;
}

/* Features Section */
.product-features {
    min-height: calc(100vh - 80px);
    padding: 2rem 2rem 3rem;
    position: relative;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
}

.feature-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.feature-text {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

.features-container .scroll-indicator {
    margin-top: 3rem;
}

/* Video Section */
.product-video {
    min-height: calc(100vh - 80px);
    padding: 2rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.video-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Pricing Section */
.product-pricing {
    min-height: calc(100vh - 80px);
    padding: 2rem 2rem 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.pricing-card-body {
    background-color: #3d3d3d;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

.pricing-tier {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.pricing-image-wrapper {
    background: #7B2D8E;
    border-radius: 8px;
    padding: 1rem;
    margin: 0 auto 1.25rem auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pricing-features {
    list-style: disc;
    text-align: left;
    padding-left: 1.5rem;
    flex: 1;
    margin-bottom: 0;
}

.pricing-features li {
    font-size: 0.9rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.pricing-features li:last-child {
    margin-bottom: 0;
}

.pricing-features li strong {
    font-weight: 700;
}

.pricing-windows-badge {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-windows-badge .windows-logo {
    width: 28px;
    height: auto;
}

.pricing-card-footer {
    background-color: #7B2D8E;
    padding: 1rem 1.5rem;
    text-align: center;
}

.pricing-price {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
}

.btn-buy {
    display: inline-block;
    background-color: #7B2D8E;
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.btn-buy:hover {
    background-color: #5e2270;
}

.pricing-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Product Page Waves Background */
.product-waves {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/waves_cropped.png?v=3');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   Label Studio Shop Page
   ======================================== */
.label-studio-shop-page {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 200px);
}

.label-studio-shop-page .shop-container {
    max-width: 900px;
    margin-left: 5%;
    margin-right: auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
}

.label-studio-shop-page .shop-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 3rem;
}

.label-studio-shop-page .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Ensure Personal (non-team) shows first/left */
.label-studio-shop-page .product-card.product-personal {
    order: 1;
}

.label-studio-shop-page .product-card.product-team {
    order: 2;
}

.label-studio-shop-page .product-card {
    background: transparent;
}

.label-studio-shop-page .product-image-wrapper {
    background: #e8e8e8;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.label-studio-shop-page .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.label-studio-shop-page .product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.label-studio-shop-page .product-price {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.label-studio-shop-page .product-price .woocommerce-Price-amount {
    color: #333;
}

.label-studio-shop-page .product-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.label-studio-shop-page .btn-add-to-cart {
    display: inline-block;
    background-color: #7B2D8E;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.label-studio-shop-page .btn-add-to-cart:hover {
    background-color: #5e2270;
    color: #fff;
}

.label-studio-shop-page .link-view-cart {
    color: #333;
    text-decoration: underline;
    font-size: 0.95rem;
}

.label-studio-shop-page .link-view-cart:hover {
    color: #7B2D8E;
}

.label-studio-shop-page .no-products {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    padding: 2rem;
}

/* Label Studio Shop Responsive */
@media screen and (max-width: 768px) {
    .label-studio-shop-page .products-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

    .label-studio-shop-page .shop-title {
        font-size: 2rem;
    }
    
    .product-waves {
        background-size: cover;
        background-position: center bottom;
    }
}

@media screen and (max-width: 480px) {
    .label-studio-shop-page .shop-container {
        padding: 2rem 1rem;
    }

    .label-studio-shop-page .shop-title {
        font-size: 1.75rem;
    }

    .label-studio-shop-page .product-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Product Page Responsive */
@media screen and (max-width: 992px) {
    .product-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .product-hero {
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-image {
        height: 180px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-features,
    .product-video,
    .product-pricing {
        min-height: auto;
        padding: 3rem 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .product-title {
        font-size: 1.75rem;
    }

    .product-logo {
        width: 70px;
        height: 70px;
    }

    .pricing-card-body {
        padding: 1.25rem 1.25rem 3.5rem 1.25rem;
    }

    .pricing-tier {
        font-size: 1.35rem;
    }

    .pricing-image-wrapper {
        width: 80px;
        height: 80px;
    }

    .pricing-price {
        font-size: 1.2rem;
    }

    .pricing-price span {
        font-size: 0.9rem;
    }
}

/* ========================================
   Sign In / Sign Up Page Styles
   ======================================== */

.auth-page {
    background-color: #f5f5f5;
    position: relative;
    min-height: calc(100vh - 100px);
}

.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.auth-container {
    display: flex;
    max-width: 400px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.auth-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
}

.auth-card.hidden {
    display: none;
}

.auth-switch-text {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.auth-switch-link {
    color: #7B2D8E;
    text-decoration: underline;
    font-weight: 500;
}

.auth-switch-link:hover {
    color: #5e2270;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form .form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s ease;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: #7B2D8E;
}

.auth-form .form-group input::placeholder {
    color: #666;
}

.btn-auth {
    background-color: #7B2D8E;
    color: #fff;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
    margin-top: 0.5rem;
    min-width: 120px;
}

.btn-auth:hover {
    background-color: #5e2270;
}

.forgot-password {
    text-align: center;
    color: #333;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.forgot-password a {
    color: #7B2D8E;
    text-decoration: underline;
}

.forgot-password a:hover {
    color: #5e2270;
}

/* Auth Page Responsive */
@media screen and (max-width: 768px) {
    .auth-container {
        max-width: 100%;
    }

    .auth-card {
        max-width: 100%;
    }

    .auth-section {
        padding: 2rem 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
    }

    .auth-section {
        padding: 1.5rem 1rem;
    }
}

/* ========================================
   Payment Methods Page Styles
   ======================================== */

.qlmc-payment-methods {
    max-width: 800px;
}

.qlmc-payment-methods-header {
    margin-bottom: 2rem;
}

.qlmc-payment-methods-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.qlmc-payment-methods-header p {
    color: #666;
    font-size: 0.95rem;
}

.qlmc-payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qlmc-payment-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.qlmc-payment-card:hover {
    border-color: #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.qlmc-payment-card.is-default {
    border-color: #7B2D8E;
    border-width: 2px;
}

.qlmc-payment-card-icon {
    width: 56px;
    height: 56px;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qlmc-payment-card-icon svg {
    color: #7B2D8E;
}

.qlmc-payment-card-details {
    flex: 1;
    min-width: 0;
}

.qlmc-payment-card-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.qlmc-payment-card-type {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.qlmc-payment-card-number {
    color: #555;
    font-size: 0.95rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.qlmc-payment-default-badge {
    background: #7B2D8E;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qlmc-payment-card-expires {
    color: #888;
    font-size: 0.85rem;
}

.qlmc-payment-card-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.qlmc-btn-delete-payment {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #dc3545;
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.qlmc-btn-delete-payment:hover {
    background: #c82333;
    color: #fff;
}

.qlmc-btn-delete-payment svg {
    flex-shrink: 0;
}

.qlmc-btn-payment-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f5f5f5;
    color: #333;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.qlmc-btn-payment-action:hover {
    background: #eee;
    color: #333;
}

/* No Payment Methods */
.qlmc-no-payment-methods {
    background: #fff;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.qlmc-empty-icon {
    margin-bottom: 1rem;
}

.qlmc-empty-icon svg {
    color: #ccc;
}

.qlmc-no-payment-methods p {
    color: #666;
    margin-bottom: 0.5rem;
}

.qlmc-empty-hint {
    font-size: 0.875rem;
    color: #999;
}

/* Add Payment Method Button */
.qlmc-payment-methods-footer {
    margin-top: 1.5rem;
}

.qlmc-btn-add-payment {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #7B2D8E;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.qlmc-btn-add-payment:hover {
    background: #5e2270;
    color: #fff;
}

/* Payment Methods Responsive */
@media screen and (max-width: 768px) {
    .qlmc-payment-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .qlmc-payment-card-icon {
        width: 48px;
        height: 48px;
    }

    .qlmc-payment-card-actions {
        width: 100%;
    }

    .qlmc-btn-delete-payment {
        flex: 1;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .qlmc-payment-methods-header h2 {
        font-size: 1.5rem;
    }

    .qlmc-payment-card {
        padding: 1.25rem;
    }

    .qlmc-payment-card-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* ========================================
   Account Details / Edit Account Styles
   ======================================== */

.qlmc-edit-account {
    max-width: 700px;
}

.qlmc-edit-account-header {
    margin-bottom: 2rem;
}

.qlmc-edit-account-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.qlmc-edit-account-header p {
    color: #666;
    font-size: 0.95rem;
}

.qlmc-account-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.qlmc-form-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.qlmc-form-section-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

.qlmc-section-description {
    color: #666;
    font-size: 0.9rem;
    margin-top: -0.75rem;
    margin-bottom: 1.25rem;
}

.qlmc-form-group {
    margin-bottom: 1.25rem;
}

.qlmc-form-group:last-child {
    margin-bottom: 0;
}

.qlmc-form-group label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.qlmc-form-group label .required {
    color: #dc3545;
}

.qlmc-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.qlmc-input:focus {
    outline: none;
    border-color: #7B2D8E;
    box-shadow: 0 0 0 3px rgba(123, 45, 142, 0.1);
}

.qlmc-input::placeholder {
    color: #999;
}

.qlmc-field-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

.qlmc-form-row {
    display: flex;
    gap: 1rem;
}

.qlmc-form-row-half .qlmc-form-group {
    flex: 1;
}

/* Save Button */
.qlmc-form-actions {
    display: flex;
    justify-content: flex-start;
    padding-top: 0.5rem;
}

.qlmc-btn-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #7B2D8E;
    color: #fff;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: inherit;
}

.qlmc-btn-save:hover {
    background: #5e2270;
    transform: translateY(-1px);
}

.qlmc-btn-save:active {
    transform: translateY(0);
}

.qlmc-btn-save svg {
    flex-shrink: 0;
}

/* Account Details Responsive */
@media screen and (max-width: 768px) {
    .qlmc-form-row {
        flex-direction: column;
        gap: 0;
    }

    .qlmc-form-section {
        padding: 1.5rem;
    }

    .qlmc-edit-account-header h2 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .qlmc-form-section {
        padding: 1.25rem;
        border-radius: 10px;
    }

    .qlmc-form-section-title {
        font-size: 1.05rem;
    }

    .qlmc-input {
        padding: 0.75rem 0.875rem;
    }

    .qlmc-btn-save {
        width: 100%;
        padding: 1rem;
    }
}

/* ========================================
   Footer Links Styles
   ======================================== */

.footer-links {
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* ========================================
   Policy Page Styles (Terms & Privacy)
   ======================================== */

.policy-section {
    background-color: transparent;
    position: relative;
    min-height: 500px;
    overflow: hidden;
    flex: 1;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 1;
}

.policy-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 2rem;
}

.policy-content {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
}

.policy-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content p {
    margin-bottom: 1rem;
    color: #444;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.policy-content ul {
    list-style-type: disc;
}

.policy-content ol {
    list-style-type: decimal;
}

.policy-content li {
    margin-bottom: 0.5rem;
    color: #444;
}

.policy-content hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 2rem 0;
}

.policy-content strong {
    color: #333;
}

.policy-content a {
    color: #7B2D8E;
    text-decoration: underline;
}

.policy-content a:hover {
    color: #5e2270;
}

/* Policy Pages Responsive */
@media screen and (max-width: 768px) {
    .policy-container {
        padding: 2rem 1.5rem;
    }

    .policy-title {
        font-size: 2rem;
    }

    .policy-content {
        padding: 1.75rem;
    }

    .policy-content h2 {
        font-size: 1.35rem;
    }

    .policy-content h3 {
        font-size: 1.15rem;
    }
}

@media screen and (max-width: 480px) {
    .policy-container {
        padding: 1.5rem 1rem;
    }

    .policy-title {
        font-size: 1.75rem;
    }

    .policy-content {
        padding: 1.25rem;
        border-radius: 10px;
    }

    .policy-content h2 {
        font-size: 1.25rem;
    }
}
