/*
Theme Name: WooSpoke Theme
Theme URI: https://woospoke.com
Author: Bytech
Author URI: https://bytech.co.il
Description: Custom theme for WooSpoke - WooCommerce to Circuit/Spoke delivery integration plugin sales site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: woospoke-theme
Tags: woocommerce, one-page, dark-mode, custom-menu
WooCommerce: 9.0
*/

/* ─── CSS Variables ─── */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --border: #1e1e2e;
    --border-glow: #c9a227;
    --text-primary: #e8e6e3;
    --text-secondary: #8a8a9a;
    --text-muted: #5a5a6a;
    --accent: #c9a227;
    --accent-light: #e0be4a;
    --accent-dim: rgba(201, 162, 39, 0.15);
    --accent-glow: rgba(201, 162, 39, 0.4);
    --green: #34d399;
    --green-dim: rgba(52, 211, 153, 0.12);
    --red: #f87171;
    --blue: #60a5fa;
    --radius: 12px;
    --radius-lg: 20px;
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--accent-light);
}

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ─── Background Effects ─── */
.bg-noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.bg-gradient-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}

.bg-gradient-orb.orb-1 {
    background: var(--accent);
    top: -200px;
    right: -100px;
}

.bg-gradient-orb.orb-2 {
    background: #6366f1;
    bottom: 20%;
    left: -200px;
}

.bg-gradient-orb.orb-3 {
    background: var(--accent);
    top: 60%;
    right: -150px;
    opacity: 0.04;
}

/* ─── Container ─── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-light), #f0d060);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--accent-dim);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
    color: var(--bg-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
    color: var(--text-primary);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 12px;
}

/* ─── Navigation ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.site-header.scrolled {
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--bg-primary);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.25s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Account Icon */
.nav-account {
    display: flex;
    align-items: center;
    gap: 16px;
}

.account-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.25s;
}

.account-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.account-link svg {
    width: 20px;
    height: 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.25s;
}

.mobile-menu-toggle:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    margin: 2px 0;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

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

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 99;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-links a {
    display: block;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.25s;
}

.mobile-menu-links a:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.mobile-menu-cta {
    margin-top: 24px;
}

.mobile-menu-cta .btn {
    width: 100%;
    justify-content: center;
}


/* ─── Footer ─── */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

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

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.25s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* ─── Main Content Area ─── */
.site-main {
    position: relative;
    z-index: 1;
    padding-top: 69px; /* Header height */
}

/* ─── Scroll Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Keyframes ─── */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

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

    .mobile-menu {
        display: block;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .nav-inner {
        padding: 0 16px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* ─── WooCommerce Overrides ─── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    color: var(--text-primary) !important;
    padding: 16px 20px !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--accent) !important;
}

.woocommerce-error::before {
    color: var(--red) !important;
}



/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT PAGE SECTIONS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Section Base ─── */
section {
    padding: 80px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.6;
}

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

.section-header .section-sub {
    margin: 0 auto;
}

/* ─── Hero Section ─── */
.hero {
    padding: 60px 0 100px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--accent-dim);
    border: 1px solid rgba(201, 162, 39, 0.2);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 32px;
    animation: fadeSlideUp 0.8s ease both;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease infinite;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
    animation: fadeSlideUp 0.8s ease 0.1s both;
}

.hero-sub {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeSlideUp 0.8s ease 0.2s both;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    animation: fadeSlideUp 0.8s ease 0.3s both;
}

.hero-visual {
    margin-top: 80px;
    position: relative;
    animation: fadeSlideUp 1s ease 0.5s both;
}

.hero-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px var(--accent-dim);
    overflow: hidden;
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.4;
}

.mockup-dot:nth-child(1) { background: #f87171; opacity: 0.8; }
.mockup-dot:nth-child(2) { background: #fbbf24; opacity: 0.8; }
.mockup-dot:nth-child(3) { background: #34d399; opacity: 0.8; }

.mockup-body {
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    min-height: 320px;
}

.mockup-panel {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
}

.mockup-panel-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}


/* Mock Orders */
.mock-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--bg-card);
    margin-bottom: 8px;
    font-size: 13px;
    border: 1px solid var(--border);
    animation: mockSlideIn 0.4s ease both;
}

.mock-order:nth-child(2) { animation-delay: 1.2s; }
.mock-order:nth-child(3) { animation-delay: 1.8s; }
.mock-order:nth-child(4) { animation-delay: 2.4s; }
.mock-order:nth-child(5) { animation-delay: 3.0s; }

.mock-order .id {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 12px;
}

.mock-status {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.mock-status.synced { background: var(--green-dim); color: var(--green); }
.mock-status.pending { background: var(--accent-dim); color: var(--accent-light); }

/* Flow Steps */
.mock-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    width: 100%;
    opacity: 0;
    animation: flowAppear 0.5s ease both;
}

.flow-step:nth-child(1) { animation-delay: 0.8s; }
.flow-step:nth-child(2) { animation-delay: 1.6s; }
.flow-step:nth-child(3) { animation-delay: 2.4s; }
.flow-step:nth-child(4) { animation-delay: 3.2s; }
.flow-step:nth-child(5) { animation-delay: 4.0s; }

.flow-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 14px;
    flex-shrink: 0;
}

.flow-icon.woo { background: rgba(127, 84, 179, 0.2); }
.flow-icon.sync { background: var(--accent-dim); }
.flow-icon.route { background: rgba(96, 165, 250, 0.15); }
.flow-icon.driver { background: var(--green-dim); }
.flow-icon.done { background: var(--green-dim); }

.flow-arrow {
    color: var(--text-muted);
    font-size: 18px;
    opacity: 0;
    animation: flowAppear 0.3s ease both;
}

.flow-arrow:nth-of-type(1) { animation-delay: 1.2s; }
.flow-arrow:nth-of-type(2) { animation-delay: 2.0s; }
.flow-arrow:nth-of-type(3) { animation-delay: 2.8s; }
.flow-arrow:nth-of-type(4) { animation-delay: 3.6s; }

@keyframes mockSlideIn {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes flowAppear {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* ─── Trust Bar ─── */
.trust-bar {
    padding: 60px 0 40px;
    text-align: center;
}

.trust-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.4;
}

.trust-logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: -0.5px;
}

/* ─── Problem Section ─── */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card:hover {
    border-color: rgba(248, 113, 113, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.problem-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 20px;
    background: rgba(248, 113, 113, 0.1);
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.problem-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ─── Features Section ─── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    border-color: rgba(201, 162, 39, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.feature-card:hover::before { opacity: 1; }

.feature-card.full-width {
    grid-column: 1 / -1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 20px;
    background: var(--accent-dim);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.feature-list li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    font-size: 13px;
}

/* ─── How It Works Section ─── */
.section-how-it-works {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    counter-reset: step;
}

.step {
    text-align: center;
    padding: 32px 20px;
    position: relative;
    cursor: default;
}

.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.2;
    margin-bottom: 20px;
    font-family: var(--font-mono);
    transition: all 0.3s ease;
}

.step:hover::before {
    opacity: 1;
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.6), 0 0 40px rgba(201, 162, 39, 0.4), 0 0 60px rgba(201, 162, 39, 0.2);
    transform: scale(1.1);
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-dim);
    border: 1px solid rgba(201, 162, 39, 0.2);
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.step h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    position: absolute;
    top: 110px;
    right: -12px;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0.3;
}

.step:last-child .step-connector { display: none; }


/* ─── Pricing Section ─── */
.section-pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 40px var(--accent-dim);
    transform: scale(1.03);
}

.price-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.price-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 20px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-name {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.price-sites {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 4px;
}

.price-amount .currency {
    font-size: 24px;
    vertical-align: top;
    margin-right: 2px;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-card.featured .price-amount { color: var(--accent-light); }

.price-period {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.price-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

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

.price-features li .check {
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}

.price-btn {
    width: 100%;
    justify-content: center;
}

/* ─── FAQ Section ─── */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    transition: color 0.3s;
}

.faq-question:hover { color: var(--accent-light); }

.faq-arrow {
    font-size: 20px;
    transition: transform 0.3s;
    color: var(--text-muted);
}

.faq-item.open .faq-arrow { transform: rotate(45deg); color: var(--accent); }

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

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ─── CTA Section ─── */
.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, var(--accent-dim), transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-box .btn { position: relative; }

/* ─── Product Page Responsive ─── */
@media (max-width: 900px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .mockup-body {
        grid-template-columns: 1fr;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

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

    .feature-list {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step-connector {
        display: none;
    }

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

    .price-card.featured {
        transform: none;
    }

    .price-card.featured:hover {
        transform: translateY(-6px);
    }

    .cta-box {
        padding: 60px 30px;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .mockup-body {
        padding: 16px;
    }

    .mockup-panel {
        padding: 16px;
    }

    .mock-order {
        flex-wrap: wrap;
        gap: 8px;
    }

    .mock-order span:nth-child(2) {
        flex: 1 1 100%;
        order: 3;
        font-size: 12px;
    }

    .price-amount {
        font-size: 44px;
    }

    .trust-logos {
        gap: 24px;
    }

    .trust-logo {
        font-size: 18px;
    }
}



/* ═══════════════════════════════════════════════════════════════════════════
   CHECKOUT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Coupon Form */
.woocommerce-form-coupon-toggle {
    margin-bottom: 24px;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    color: var(--text-secondary);
    margin: 0;
}

.woocommerce-form-coupon-toggle .woocommerce-info::before {
    display: none;
}

.woocommerce-form-coupon-toggle .showcoupon {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-form-coupon-toggle .showcoupon:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

.woocommerce-form-coupon {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.woocommerce-form-coupon .form-row {
    margin: 0;
    padding: 0;
}

.woocommerce-form-coupon .form-row-first {
    flex: 1;
}

.woocommerce-form-coupon .form-row-last {
    flex-shrink: 0;
}

.woocommerce-form-coupon input.input-text {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 14px;
}

.woocommerce-form-coupon input.input-text:focus {
    border-color: var(--accent);
    outline: none;
}

.woocommerce-form-coupon input.input-text::placeholder {
    color: var(--text-muted);
}

.woocommerce-form-coupon button.button {
    padding: 12px 24px;
    background: var(--accent);
    color: var(--bg-dark);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.woocommerce-form-coupon button.button:hover {
    background: var(--accent-light);
}

.woocommerce-form-coupon .clear {
    display: none;
}

.woospoke-checkout-wrapper {
    padding: 120px 0 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 48px;
}

.checkout-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.checkout-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Checkout Layout */
.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.checkout-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Checkout Sections */
.checkout-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.checkout-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.3px;
}

.checkout-section-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid rgba(201, 162, 39, 0.3);
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-light);
}

.checkout-section-billing,
.checkout-section-shipping {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.checkout-section-billing:last-child,
.checkout-section-shipping:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Form Fields */
.woocommerce-checkout .form-row {
    margin-bottom: 16px;
}

.woocommerce-checkout .form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.woocommerce-checkout .form-row label .required {
    color: var(--accent);
}

.woocommerce-checkout .form-row label .optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 15px;
    transition: all 0.3s ease;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: var(--text-muted);
}

.woocommerce-checkout select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8a9a' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
    cursor: pointer;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: calc(50% - 8px);
    display: inline-block;
    vertical-align: top;
}

.woocommerce-checkout .form-row-first {
    margin-right: 16px;
}

.woocommerce-checkout .form-row-wide {
    width: 100%;
}


/* Order Summary Sidebar */
.checkout-sidebar {
    position: sticky;
    top: 100px;
}

.order-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.order-summary-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.order-summary-items {
    margin-bottom: 24px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.order-summary-item:last-child {
    border-bottom: none;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.item-qty {
    font-size: 13px;
    color: var(--text-muted);
}

.item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Order Summary Totals */
.order-summary-totals {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.summary-row.coupon {
    color: #34d399;
}

.summary-row.coupon span:last-child {
    color: #34d399;
    font-weight: 600;
}

.summary-row.coupon .woocommerce-remove-coupon {
    color: #ef4444;
    font-size: 12px;
    margin-left: 8px;
    text-decoration: none;
}

.summary-row.coupon .woocommerce-remove-coupon:hover {
    text-decoration: underline;
}

.summary-row.total {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.summary-row .total-amount {
    color: var(--accent-light);
    font-size: 20px;
}

.secure-checkout-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: var(--radius);
    font-size: 12px;
    color: var(--green);
}

.secure-checkout-badge svg {
    flex-shrink: 0;
}

/* Payment Section */
.woocommerce-checkout-payment {
    background: transparent;
    border: none;
}

.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.wc_payment_method {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.wc_payment_method:hover {
    border-color: rgba(201, 162, 39, 0.3);
}

.wc_payment_method.payment_method_selected,
.wc_payment_method input[type="radio"]:checked + label {
    border-color: var(--accent);
}

.wc_payment_method > label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.wc_payment_method input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 50%;
    background: var(--bg-secondary);
    cursor: pointer;
    position: relative;
}

.wc_payment_method input[type="radio"]:checked {
    border-color: var(--accent);
    background: var(--accent);
}

.wc_payment_method input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--bg-primary);
    border-radius: 50%;
}


.payment_box {
    padding: 16px;
    margin: 0;
    background: var(--bg-card) !important;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.payment_box::before {
    display: none;
}

/* Place Order Button */
.woocommerce-checkout #place_order {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border: none;
    border-radius: var(--radius);
    color: var(--bg-primary);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.woocommerce-checkout #place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-dim);
}

/* Terms and Conditions */
.woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px;
}

.woocommerce-terms-and-conditions-checkbox-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.woocommerce-terms-and-conditions-checkbox-text a {
    color: var(--accent-light);
}

/* Checkbox styling */
.woocommerce-checkout input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: var(--bg-secondary);
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
}

.woocommerce-checkout input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.woocommerce-checkout input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 700;
}

/* Error Messages */
.woocommerce-NoticeGroup,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 14px;
}

.woocommerce-error {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: var(--red);
}

.woocommerce-message {
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: var(--green);
}

.woocommerce-info {
    background: var(--accent-dim);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--accent-light);
}

/* Login Notice */
.checkout-login-notice {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 16px;
    color: var(--text-secondary);
}

/* Hide default WooCommerce order review in payment section */
.checkout-section-payment .woocommerce-checkout-review-order-table {
    display: none;
}

/* Checkout Responsive */
@media (max-width: 900px) {
    .checkout-content {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        position: static;
        order: -1;
    }

    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 600px) {
    .woospoke-checkout-wrapper {
        padding-top: 100px;
    }

    .checkout-section {
        padding: 24px 20px;
    }

    .order-summary-card {
        padding: 24px 20px;
    }

    .checkout-title {
        font-size: 28px;
    }
}



/* ═══════════════════════════════════════════════════════════════════════════
   THANK YOU PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.woospoke-thankyou-wrapper {
    padding: 120px 0 80px;
    min-height: 80vh;
}

.thankyou-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Thank You Header */
.thankyou-header {
    text-align: center;
    margin-bottom: 48px;
}

.thankyou-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    background: var(--accent-dim);
    border: 2px solid rgba(201, 162, 39, 0.3);
    color: var(--accent-light);
}

.thankyou-icon.success {
    background: rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.3);
    color: var(--green);
}

.thankyou-icon.failed {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.3);
    color: var(--red);
}

.thankyou-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.thankyou-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.6;
}

.thankyou-header.thankyou-failed .thankyou-title {
    color: var(--red);
}

/* Thank You Actions */
.thankyou-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

/* Order Details Card */
.order-details-card,
.order-items-card,
.next-steps-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.order-details-title,
.order-items-title,
.next-steps-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

/* Order Details Grid */
.order-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.order-detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.detail-value.highlight {
    color: var(--accent-light);
    font-size: 18px;
}

/* Order Items List */
.order-items-list {
    display: flex;
    flex-direction: column;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.order-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.order-item:first-child {
    padding-top: 0;
}

.order-item-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.order-item-qty {
    font-size: 14px;
    color: var(--text-muted);
}

.order-item-total {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}


/* Next Steps Card */
.next-steps-card {
    text-align: center;
    margin-bottom: 0;
}

.next-steps-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Thank You Responsive */
@media (max-width: 600px) {
    .woospoke-thankyou-wrapper {
        padding-top: 100px;
    }

    .thankyou-icon {
        width: 64px;
        height: 64px;
    }

    .thankyou-icon svg {
        width: 32px;
        height: 32px;
    }

    .thankyou-title {
        font-size: 28px;
    }

    .thankyou-actions {
        flex-direction: column;
    }

    .thankyou-actions .btn {
        width: 100%;
    }

    .order-details-card,
    .order-items-card,
    .next-steps-card {
        padding: 24px 20px;
    }

    .order-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Thank You Page - License Keys & Customer Details (from plugins) */
.woospoke-thankyou-wrapper .woocommerce-customer-details,
.woospoke-thankyou-wrapper section h2:not(.order-details-title):not(.order-items-title):not(.next-steps-title) {
    margin-top: 32px;
}

.woospoke-thankyou-wrapper section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.woospoke-thankyou-wrapper .shop_table {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-collapse: collapse;
    overflow: hidden;
}

.woospoke-thankyou-wrapper .shop_table th,
.woospoke-thankyou-wrapper .shop_table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.woospoke-thankyou-wrapper .shop_table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.woospoke-thankyou-wrapper .shop_table td {
    color: var(--text-secondary);
}

.woospoke-thankyou-wrapper .shop_table tr:last-child td {
    border-bottom: none;
}

/* License Key Styling */
.woospoke-thankyou-wrapper .lmfwc-myaccount-license-key {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-light);
    background: var(--accent-dim);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

/* Customer Details / Billing Address */
.woospoke-thankyou-wrapper .woocommerce-customer-details address {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    font-style: normal;
    line-height: 1.8;
    color: var(--text-secondary);
}

.woospoke-thankyou-wrapper .woocommerce-customer-details--phone,
.woospoke-thankyou-wrapper .woocommerce-customer-details--email {
    margin-top: 12px;
    color: var(--text-muted);
}

/* Order Extras Card (License Keys, Downloads) */
.order-extras-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.order-extras-card:empty {
    display: none;
}

.order-extras-card h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.order-extras-card h2:first-child {
    margin-top: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   MY ACCOUNT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.woospoke-myaccount-wrapper {
    padding: 120px 0 80px;
    min-height: 80vh;
}

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

/* Account Header */
.myaccount-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 48px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.myaccount-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent);
}

.myaccount-welcome {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.myaccount-welcome .user-name {
    color: var(--accent-light);
}

.myaccount-email {
    font-size: 14px;
    color: var(--text-muted);
}

/* Account Layout */
.myaccount-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* Account Sidebar Navigation */
.myaccount-sidebar {
    position: sticky;
    top: 100px;
}

.woospoke-account-nav {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.woospoke-account-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woospoke-account-nav li {
    border-bottom: 1px solid var(--border);
}

.woospoke-account-nav li:last-child {
    border-bottom: none;
}

.woospoke-account-nav li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woospoke-account-nav li a:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.woospoke-account-nav li.is-active a {
    background: var(--accent-dim);
    color: var(--accent-light);
    border-left: 3px solid var(--accent);
}

.woospoke-account-nav .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.woospoke-account-nav .nav-icon svg {
    opacity: 0.7;
}

.woospoke-account-nav li.is-active .nav-icon svg,
.woospoke-account-nav li a:hover .nav-icon svg {
    opacity: 1;
}

/* Logout link special styling */
.woospoke-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: var(--red);
}

.woospoke-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: rgba(248, 113, 113, 0.1);
}

/* Account Content */
.myaccount-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.woocommerce-MyAccount-content > h2,
.woocommerce-MyAccount-content > h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.woocommerce-MyAccount-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}


/* Orders Table */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-orders-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.woocommerce-orders-table td {
    padding: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.woocommerce-orders-table tr:last-child td {
    border-bottom: none;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    color: var(--accent-light);
    font-weight: 600;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
    font-weight: 600;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent-light);
}

/* Account Forms */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm,
.woocommerce-MyAccount-content .woocommerce-address-fields {
    max-width: 600px;
}

.woocommerce-MyAccount-content .form-row {
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content .form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 15px;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content .button {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border: none;
    border-radius: var(--radius);
    color: var(--bg-primary);
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-content button[type="submit"]:hover,
.woocommerce-MyAccount-content .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-dim);
}

/* Downloads Table */
.woocommerce-table--order-downloads {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-table--order-downloads th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: var(--bg-secondary);
}

.woocommerce-table--order-downloads td {
    padding: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.woocommerce-table--order-downloads .download-file a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: var(--radius);
    color: var(--bg-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-table--order-downloads .download-file a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-dim);
}


/* My Account Responsive */
@media (max-width: 900px) {
    .myaccount-layout {
        grid-template-columns: 1fr;
    }

    .myaccount-sidebar {
        position: static;
    }

    .woospoke-account-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px;
    }

    .woospoke-account-nav li {
        border-bottom: none;
    }

    .woospoke-account-nav li a {
        padding: 10px 16px;
        background: var(--bg-secondary);
        border-radius: var(--radius);
        font-size: 13px;
    }

    .woospoke-account-nav li.is-active a {
        border-left: none;
    }

    .woospoke-account-nav .nav-label {
        display: none;
    }

    .woocommerce-orders-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 600px) {
    .woospoke-myaccount-wrapper {
        padding-top: 100px;
    }

    .myaccount-header {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .myaccount-welcome {
        font-size: 20px;
    }

    .myaccount-content {
        padding: 20px;
    }

    .woocommerce-orders-table th,
    .woocommerce-orders-table td {
        padding: 12px 10px;
        font-size: 13px;
    }
}



/* ═══════════════════════════════════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.woospoke-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
}

.login-container {
    width: 100%;
    max-width: 440px;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
}

/* Login Logo */
.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.login-logo .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--bg-primary);
}

.login-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Login Header */
.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Login Form */
.woospoke-login-form .form-group {
    margin-bottom: 20px;
}

.woospoke-login-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.woospoke-login-form label svg {
    color: var(--text-muted);
}

.woospoke-login-form input[type="text"],
.woospoke-login-form input[type="email"],
.woospoke-login-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 15px;
    transition: all 0.3s ease;
}

.woospoke-login-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.woospoke-login-form input::placeholder {
    color: var(--text-muted);
}

/* Password Field with Toggle */
.password-field {
    position: relative;
}

.password-field input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--text-primary);
}

/* Form Options (Remember Me & Forgot Password) */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.remember-me span {
    font-size: 14px;
    color: var(--text-secondary);
}

.forgot-password {
    font-size: 14px;
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--accent);
    text-decoration: underline;
}


/* Login Submit Button */
.login-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border: none;
    border-radius: var(--radius);
    color: var(--bg-primary);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-dim);
}

.login-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-submit-btn .btn-loader {
    display: inline-flex;
    align-items: center;
}

.login-submit-btn .spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Login Message (Success/Error) */
.login-message {
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.login-message.error {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: var(--red);
}

.login-message.success {
    background: var(--green-dim);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: var(--green);
}

/* Login Footer */
.login-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.login-footer p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.login-footer a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Login Page Responsive */
@media (max-width: 600px) {
    .woospoke-login-wrapper {
        padding: 100px 16px 40px;
    }

    .login-card {
        padding: 32px 24px;
    }

    .login-title {
        font-size: 24px;
    }

    .login-logo .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .login-logo .logo-text {
        font-size: 20px;
    }

    .form-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

/* =============================================================================
   CONTACT PAGE & CONTACT FORM 7
   ============================================================================= */

/* Page Container */
.page .entry-header {
    padding: 120px 20px 40px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.page .entry-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin: 0;
}

.page .entry-content {
    /* max-width: 600px; */
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* Contact Form 7 Styles */
.wpcf7 {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.wpcf7-form p {
    margin: 0 0 24px;
}

.wpcf7-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.wpcf7-form-control:not(.wpcf7-submit)::placeholder {
    color: var(--text-muted);
}

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

/* Submit Button */
.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--bg-dark);
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.wpcf7-submit:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.wpcf7-submit:active {
    transform: translateY(0);
}

/* Spinner */
.wpcf7-spinner {
    display: none;
    margin-left: 10px;
}

.wpcf7-form.submitting .wpcf7-spinner {
    display: inline-block;
}

/* Response Messages */
.wpcf7-response-output {
    margin: 24px 0 0 !important;
    padding: 16px 20px !important;
    border-radius: var(--radius) !important;
    font-size: 14px;
    text-align: center;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.payment-required .wpcf7-response-output {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #ef4444 !important;
}

.wpcf7-form.sent .wpcf7-response-output {
    background: rgba(52, 211, 153, 0.1) !important;
    border-color: rgba(52, 211, 153, 0.3) !important;
    color: #34d399 !important;
}

/* Validation Errors */
.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

.wpcf7-not-valid {
    border-color: #ef4444 !important;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .wpcf7 {
        padding: 24px;
    }

    .page .entry-header {
        padding: 100px 20px 32px;
    }
}