/*
Theme Name: Hushot Theme
Theme URI: https://hushot.net
Author: Hushot
Author URI: https://hushot.net
Description: Premium SaaS theme for Hushot - Landing Page Builder & Ads Platform. Mobile-first responsive design.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hushot-theme
*/

/* ============================================
   PLUGIN ISOLATION - CRITICAL
   Prevents theme styles from affecting Hushot plugin
   ============================================ */

/* Reset plugin areas - DO NOT style these */
body.hushot-dashboard-page,
body.hushot-builder-page,
body.hushot-editor-page,
.hushot-dashboard,
.hushot-plugin,
.hushot-app,
.hushot-user-dashboard,
.hushot-builder,
.hushot-editor,
#hushot-dashboard,
#hushot-app,
[class^="hushot-plugin"],
[class*=" hushot-plugin"] {
    /* Let plugin handle its own styles */
}

/* Ensure plugin elements are not affected by theme resets */
.hushot-dashboard *,
.hushot-plugin *,
.hushot-app *,
.hushot-user-dashboard *,
.hushot-builder *,
.hushot-editor *,
#hushot-dashboard *,
#hushot-app * {
    /* Revert to browser defaults for plugin */
    box-sizing: revert;
}

/* ============================================
   CSS VARIABLES - Namespaced to prevent conflicts
   ============================================ */
:root {
    --hs-bg-dark: #0d0d1f;
    --hs-bg-dark-2: #12122a;
    --hs-bg-dark-3: #1a1a35;
    --hs-bg-card: rgba(30, 30, 58, 0.85);
    --hs-bg-card-solid: #1e1e3a;
    
    --hs-primary: #ff5a3c;
    --hs-primary-hover: #ff4528;
    --hs-primary-light: #ff8c6b;
    --hs-secondary: #7c5cff;
    --hs-accent-blue: #4f8cff;
    --hs-accent-purple: #a855f7;
    --hs-accent-pink: #ec4899;
    --hs-accent-green: #22c55e;
    
    --hs-text-white: #ffffff;
    --hs-text-light: #e2e8f0;
    --hs-text-muted: #94a3b8;
    --hs-text-dark: #64748b;
    
    --hs-border-color: rgba(255, 255, 255, 0.08);
    --hs-border-light: rgba(255, 255, 255, 0.15);
    
    --hs-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --hs-shadow-glow: 0 0 60px rgba(124, 92, 255, 0.3);
    --hs-shadow-primary: 0 10px 40px rgba(255, 90, 60, 0.3);
    
    --hs-radius-sm: 8px;
    --hs-radius-md: 12px;
    --hs-radius-lg: 16px;
    --hs-radius-xl: 20px;
    --hs-radius-full: 9999px;
    
    --hs-font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --hs-container-width: 1200px;
    
    --hs-transition-fast: 0.15s ease;
    --hs-transition-normal: 0.3s ease;
    
    --hs-header-height: 60px;
    --hs-header-height-desktop: 72px;
}

/* ============================================
   BASE RESET - Only for theme elements
   ============================================ */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body:not(.hushot-dashboard-page):not(.hushot-builder-page):not(.hushot-editor-page) {
    font-family: var(--hs-font-sans);
    background: var(--hs-bg-dark);
    color: var(--hs-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    margin: 0;
    padding: 0;
    padding-top: var(--hs-header-height);
}

@media (min-width: 768px) {
    body:not(.hushot-dashboard-page):not(.hushot-builder-page):not(.hushot-editor-page) {
        padding-top: var(--hs-header-height-desktop);
    }
}

/* Theme-specific resets */
.hs-header,
.hs-hero,
.hs-features,
.hs-templates,
.hs-cta-section,
.hs-footer,
.hs-page-content {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hs-header *,
.hs-hero *,
.hs-features *,
.hs-templates *,
.hs-cta-section *,
.hs-footer *,
.hs-page-content *,
.hs-mobile-menu * {
    box-sizing: border-box;
}

/* Theme element resets */
.hs-header a,
.hs-hero a,
.hs-features a,
.hs-templates a,
.hs-cta-section a,
.hs-footer a,
.hs-mobile-menu a {
    color: inherit;
    text-decoration: none;
}

.hs-header img,
.hs-hero img,
.hs-features img,
.hs-templates img,
.hs-cta-section img,
.hs-footer img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hs-header ul,
.hs-header ol,
.hs-footer ul,
.hs-footer ol,
.hs-mobile-menu ul,
.hs-mobile-menu ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ============================================
   CONTAINER
   ============================================ */
.hs-container {
    width: 100%;
    max-width: var(--hs-container-width);
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 480px) {
    .hs-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 768px) {
    .hs-container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (min-width: 1024px) {
    .hs-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* ============================================
   HEADER - ALWAYS FIXED AT TOP
   ============================================ */
.hs-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    height: var(--hs-header-height);
    background: rgba(13, 13, 31, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hs-border-color);
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .hs-header {
        height: var(--hs-header-height-desktop);
    }
}

.hs-header.scrolled {
    background: rgba(13, 13, 31, 0.99);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

/* Logo */
.hs-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--hs-text-white);
    flex-shrink: 0;
    text-decoration: none;
}

.hs-logo svg,
.hs-logo img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .hs-logo {
        font-size: 22px;
        gap: 10px;
    }
    .hs-logo svg,
    .hs-logo img {
        width: 32px;
        height: 32px;
    }
}

/* ============================================
   DESKTOP NAVIGATION - HORIZONTAL TOP BAR
   This is the FIX for the sidebar issue
   ============================================ */
.hs-nav {
    display: none;
    flex-direction: row !important;
    align-items: center;
    gap: 28px;
}

/* CRITICAL: Show horizontal nav on desktop (900px+) */
@media (min-width: 900px) {
    .hs-nav {
        display: flex !important;
        flex-direction: row !important;
    }
}

.hs-nav-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--hs-text-muted);
    transition: color var(--hs-transition-fast);
    white-space: nowrap;
    padding: 8px 0;
}

.hs-nav-link:hover {
    color: var(--hs-text-white);
}

/* ============================================
   BUTTONS
   ============================================ */
.hs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--hs-radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--hs-transition-fast);
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
    line-height: 1.4;
}

@media (min-width: 480px) {
    .hs-btn {
        padding: 12px 22px;
        font-size: 14px;
    }
}

.hs-btn-primary {
    background: var(--hs-primary);
    color: var(--hs-text-white);
}

.hs-btn-primary:hover {
    background: var(--hs-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--hs-shadow-primary);
}

.hs-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--hs-text-white);
    border: 1px solid var(--hs-border-light);
}

.hs-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.hs-btn-outline {
    background: transparent;
    color: var(--hs-text-white);
    border: 1px solid var(--hs-border-light);
    padding: 12px 24px;
    border-radius: var(--hs-radius-full);
}

.hs-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.hs-btn-lg {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: var(--hs-radius-md);
}

@media (min-width: 480px) {
    .hs-btn-lg {
        padding: 14px 28px;
        font-size: 15px;
    }
}

.hs-btn-xl {
    padding: 16px 36px;
    font-size: 15px;
    border-radius: var(--hs-radius-full);
}

@media (min-width: 480px) {
    .hs-btn-xl {
        padding: 20px 52px;
        font-size: 16px;
    }
}

/* ============================================
   MOBILE MENU TOGGLE (HAMBURGER)
   ============================================ */
.hs-mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.hs-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--hs-text-white);
    border-radius: 2px;
    transition: all var(--hs-transition-normal);
}

/* HIDE hamburger on desktop */
@media (min-width: 900px) {
    .hs-mobile-toggle {
        display: none !important;
    }
}

/* ============================================
   MOBILE MENU - FULLSCREEN OVERLAY
   Fixed positioning for sticky behavior
   ============================================ */
.hs-mobile-menu {
    position: fixed !important;
    top: var(--hs-header-height) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    background: var(--hs-bg-dark);
    padding: 20px;
    display: none;
    flex-direction: column;
    z-index: 99998 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .hs-mobile-menu {
        top: var(--hs-header-height-desktop) !important;
        padding: 24px;
    }
}

.hs-mobile-menu.open {
    display: flex;
}

/* HIDE mobile menu on desktop */
@media (min-width: 900px) {
    .hs-mobile-menu {
        display: none !important;
    }
    .hs-mobile-menu.open {
        display: none !important;
    }
}

/* Mobile menu links */
.hs-mobile-menu > a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--hs-text-light);
    border-bottom: 1px solid var(--hs-border-color);
    text-decoration: none;
}

/* FIX: Mobile menu CTA button alignment */
.hs-mobile-menu > .hs-btn {
    margin-top: 24px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    text-align: center;
    justify-content: center;
}

/* ============================================
   WORDPRESS ADMIN BAR ADJUSTMENTS
   ============================================ */
body.admin-bar .hs-header {
    top: 32px !important;
}

body.admin-bar:not(.hushot-dashboard-page):not(.hushot-builder-page):not(.hushot-editor-page) {
    padding-top: calc(var(--hs-header-height) + 32px);
}

@media (max-width: 782px) {
    body.admin-bar .hs-header {
        top: 46px !important;
    }
    body.admin-bar:not(.hushot-dashboard-page):not(.hushot-builder-page):not(.hushot-editor-page) {
        padding-top: calc(var(--hs-header-height) + 46px);
    }
    body.admin-bar .hs-mobile-menu {
        top: calc(var(--hs-header-height) + 46px) !important;
    }
}

@media (min-width: 768px) {
    body.admin-bar:not(.hushot-dashboard-page):not(.hushot-builder-page):not(.hushot-editor-page) {
        padding-top: calc(var(--hs-header-height-desktop) + 32px);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hs-hero {
    position: relative;
    min-height: calc(100vh - var(--hs-header-height));
    padding: 40px 0;
    background: var(--hs-bg-dark);
    overflow: hidden;
}

@media (min-width: 480px) {
    .hs-hero {
        padding: 50px 0;
    }
}

@media (min-width: 768px) {
    .hs-hero {
        min-height: calc(100vh - var(--hs-header-height-desktop));
        padding: 60px 0;
    }
}

@media (min-width: 1024px) {
    .hs-hero {
        padding: 80px 0;
    }
}

/* Hero Background Glows */
.hs-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -30%;
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(124, 92, 255, 0.2) 0%, rgba(168, 85, 247, 0.1) 30%, transparent 60%);
    pointer-events: none;
}

.hs-hero::after {
    content: '';
    position: absolute;
    top: 30%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .hs-hero::after {
        width: 400px;
        height: 400px;
        right: 10%;
    }
}

@media (min-width: 1024px) {
    .hs-hero::after {
        width: 500px;
        height: 500px;
        right: 15%;
    }
}

.hs-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .hs-hero-inner {
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .hs-hero-inner {
        flex-direction: row;
        gap: 40px;
        align-items: center;
    }
}

/* Hero Content */
.hs-hero-content {
    text-align: center;
    width: 100%;
}

@media (min-width: 1024px) {
    .hs-hero-content {
        text-align: left;
        flex: 0 0 42%;
        max-width: 480px;
    }
}

.hs-hero-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--hs-text-white);
    margin: 0 0 6px 0;
}

@media (min-width: 375px) {
    .hs-hero-title {
        font-size: 32px;
    }
}

@media (min-width: 480px) {
    .hs-hero-title {
        font-size: 36px;
    }
}

@media (min-width: 640px) {
    .hs-hero-title {
        font-size: 42px;
    }
}

@media (min-width: 768px) {
    .hs-hero-title {
        font-size: 46px;
    }
}

@media (min-width: 1024px) {
    .hs-hero-title {
        font-size: 48px;
    }
}

@media (min-width: 1200px) {
    .hs-hero-title {
        font-size: 52px;
    }
}

.hs-hero-title .highlight {
    color: var(--hs-primary);
}

.hs-hero-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--hs-text-white);
    margin: 0 0 12px 0;
}

@media (min-width: 480px) {
    .hs-hero-subtitle {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .hs-hero-subtitle {
        font-size: 20px;
        margin-bottom: 16px;
    }
}

@media (min-width: 1024px) {
    .hs-hero-subtitle {
        font-size: 22px;
    }
}

.hs-hero-desc {
    font-size: 14px;
    color: var(--hs-text-muted);
    line-height: 1.7;
    margin: 0 auto 24px auto;
    max-width: 340px;
}

@media (min-width: 480px) {
    .hs-hero-desc {
        font-size: 15px;
        max-width: 380px;
    }
}

@media (min-width: 768px) {
    .hs-hero-desc {
        margin-bottom: 32px;
    }
}

@media (min-width: 1024px) {
    .hs-hero-desc {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

.hs-hero-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 480px) {
    .hs-hero-btns {
        gap: 14px;
    }
}

@media (min-width: 1024px) {
    .hs-hero-btns {
        justify-content: flex-start;
    }
}

.hs-hero-btns .hs-btn-secondary svg {
    width: 16px;
    height: 16px;
}

@media (min-width: 480px) {
    .hs-hero-btns .hs-btn-secondary svg {
        width: 18px;
        height: 18px;
    }
}

/* Hero Visual */
.hs-hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 280px;
}

@media (min-width: 480px) {
    .hs-hero-visual {
        min-height: 320px;
    }
}

@media (min-width: 640px) {
    .hs-hero-visual {
        min-height: 380px;
    }
}

@media (min-width: 768px) {
    .hs-hero-visual {
        min-height: 420px;
    }
}

@media (min-width: 1024px) {
    .hs-hero-visual {
        flex: 1;
        min-height: 480px;
    }
}

.hs-hero-mockup {
    position: relative;
    width: 100%;
    max-width: 320px;
}

@media (min-width: 480px) {
    .hs-hero-mockup {
        max-width: 400px;
    }
}

@media (min-width: 640px) {
    .hs-hero-mockup {
        max-width: 480px;
    }
}

@media (min-width: 768px) {
    .hs-hero-mockup {
        max-width: 540px;
    }
}

@media (min-width: 1024px) {
    .hs-hero-mockup {
        max-width: 580px;
    }
}

@media (min-width: 1200px) {
    .hs-hero-mockup {
        max-width: 620px;
    }
}

.hs-hero-mockup img,
.hs-hero-mockup svg {
    width: 100%;
    height: auto;
    border-radius: var(--hs-radius-lg);
    box-shadow: 0 30px 80px rgba(124, 92, 255, 0.2);
}

@media (min-width: 768px) {
    .hs-hero-mockup img,
    .hs-hero-mockup svg {
        border-radius: var(--hs-radius-xl);
        box-shadow: 0 40px 100px rgba(124, 92, 255, 0.25);
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.hs-features {
    padding: 40px 0 50px;
    background: var(--hs-bg-dark);
    position: relative;
}

@media (min-width: 480px) {
    .hs-features {
        padding: 50px 0 60px;
    }
}

@media (min-width: 768px) {
    .hs-features {
        padding: 60px 0 80px;
    }
}

.hs-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 480px) {
    .hs-features-grid {
        gap: 20px;
    }
}

@media (min-width: 640px) {
    .hs-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .hs-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.hs-feature-card {
    background: var(--hs-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--hs-border-color);
    border-radius: var(--hs-radius-md);
    padding: 20px 18px;
    transition: all var(--hs-transition-normal);
}

@media (min-width: 480px) {
    .hs-feature-card {
        padding: 24px 22px;
        border-radius: var(--hs-radius-lg);
    }
}

@media (min-width: 768px) {
    .hs-feature-card {
        padding: 28px 24px;
    }
}

.hs-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 92, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hs-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--hs-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(168, 85, 247, 0.1));
}

@media (min-width: 480px) {
    .hs-feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 18px;
    }
}

@media (min-width: 768px) {
    .hs-feature-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 20px;
        border-radius: var(--hs-radius-md);
    }
}

.hs-feature-card:nth-child(2) .hs-feature-icon {
    background: linear-gradient(135deg, rgba(255, 90, 60, 0.2), rgba(255, 140, 107, 0.1));
}

.hs-feature-card:nth-child(3) .hs-feature-icon {
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.2), rgba(168, 85, 247, 0.1));
}

.hs-feature-icon svg {
    width: 22px;
    height: 22px;
}

@media (min-width: 480px) {
    .hs-feature-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (min-width: 768px) {
    .hs-feature-icon svg {
        width: 26px;
        height: 26px;
    }
}

.hs-feature-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--hs-text-white);
    margin: 0 0 8px 0;
}

@media (min-width: 480px) {
    .hs-feature-title {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .hs-feature-title {
        font-size: 17px;
        margin-bottom: 10px;
    }
}

.hs-feature-desc {
    font-size: 13px;
    color: var(--hs-text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 480px) {
    .hs-feature-desc {
        font-size: 14px;
    }
}

/* ============================================
   TEMPLATES SECTION
   ============================================ */
.hs-templates {
    padding: 50px 0;
    background: var(--hs-bg-dark);
    text-align: center;
    position: relative;
}

@media (min-width: 480px) {
    .hs-templates {
        padding: 60px 0;
    }
}

@media (min-width: 768px) {
    .hs-templates {
        padding: 80px 0;
    }
}

.hs-templates::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(124, 92, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .hs-templates::before {
        height: 600px;
    }
}

.hs-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--hs-text-white);
    margin: 0 0 10px 0;
    position: relative;
}

@media (min-width: 480px) {
    .hs-section-title {
        font-size: 26px;
    }
}

@media (min-width: 768px) {
    .hs-section-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
}

@media (min-width: 1024px) {
    .hs-section-title {
        font-size: 36px;
    }
}

.hs-section-subtitle {
    font-size: 13px;
    color: var(--hs-text-muted);
    max-width: 400px;
    margin: 0 auto 32px auto;
    position: relative;
}

@media (min-width: 480px) {
    .hs-section-subtitle {
        font-size: 14px;
        margin-bottom: 36px;
    }
}

@media (min-width: 768px) {
    .hs-section-subtitle {
        font-size: 15px;
        max-width: 480px;
        margin-bottom: 48px;
    }
}

.hs-templates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
    position: relative;
}

@media (min-width: 480px) {
    .hs-templates-grid {
        gap: 20px;
        margin-bottom: 36px;
    }
}

@media (min-width: 640px) {
    .hs-templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .hs-templates-grid {
        gap: 24px;
        margin-bottom: 48px;
    }
}

@media (min-width: 900px) {
    .hs-templates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hs-template-card {
    position: relative;
    background: var(--hs-bg-card-solid);
    border: 1px solid var(--hs-border-color);
    border-radius: var(--hs-radius-md);
    overflow: hidden;
    transition: all var(--hs-transition-normal);
}

@media (min-width: 768px) {
    .hs-template-card {
        border-radius: var(--hs-radius-lg);
    }
}

.hs-template-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.5) 0%, rgba(168, 85, 247, 0.3) 50%, rgba(236, 72, 153, 0.2) 100%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity var(--hs-transition-normal);
}

.hs-template-card:hover::before {
    opacity: 1;
}

.hs-template-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hs-shadow-lg), var(--hs-shadow-glow);
}

@media (min-width: 768px) {
    .hs-template-card:hover {
        transform: translateY(-8px);
    }
}

.hs-template-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(180deg, var(--hs-bg-dark-3) 0%, var(--hs-bg-card-solid) 100%);
}

.hs-template-image img,
.hs-template-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hs-template-card:hover .hs-template-image img,
.hs-template-card:hover .hs-template-image svg {
    transform: scale(1.05);
}

.hs-template-info {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.35);
    text-align: left;
}

@media (min-width: 480px) {
    .hs-template-info {
        padding: 16px 18px;
    }
}

@media (min-width: 768px) {
    .hs-template-info {
        padding: 16px 20px;
    }
}

.hs-template-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--hs-text-white);
    margin: 0;
}

@media (min-width: 480px) {
    .hs-template-name {
        font-size: 15px;
    }
}

.hs-template-category {
    font-size: 11px;
    color: var(--hs-text-muted);
    margin-top: 3px;
}

@media (min-width: 480px) {
    .hs-template-category {
        font-size: 12px;
        margin-top: 4px;
    }
}

.hs-templates-cta {
    text-align: center;
}

/* ============================================
   CTA / TESTIMONIALS SECTION
   ============================================ */
.hs-cta-section {
    padding: 50px 0 40px;
    background: var(--hs-bg-dark);
    text-align: center;
    position: relative;
}

@media (min-width: 480px) {
    .hs-cta-section {
        padding: 60px 0 50px;
    }
}

@media (min-width: 768px) {
    .hs-cta-section {
        padding: 80px 0 60px;
    }
}

.hs-cta-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--hs-text-white);
    margin: 0 0 10px 0;
}

@media (min-width: 480px) {
    .hs-cta-title {
        font-size: 26px;
    }
}

@media (min-width: 768px) {
    .hs-cta-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
}

@media (min-width: 1024px) {
    .hs-cta-title {
        font-size: 36px;
    }
}

.hs-cta-subtitle {
    font-size: 13px;
    color: var(--hs-text-muted);
    margin: 0 auto 28px auto;
    max-width: 400px;
}

@media (min-width: 480px) {
    .hs-cta-subtitle {
        font-size: 14px;
        margin-bottom: 32px;
    }
}

@media (min-width: 768px) {
    .hs-cta-subtitle {
        font-size: 15px;
        max-width: 520px;
        margin-bottom: 36px;
    }
}

.hs-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

@media (min-width: 480px) {
    .hs-cta-inner {
        gap: 40px;
    }
}

@media (min-width: 768px) {
    .hs-cta-inner {
        gap: 48px;
    }
}

@media (min-width: 900px) {
    .hs-cta-inner {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 60px;
    }
}

@media (min-width: 1024px) {
    .hs-cta-inner {
        gap: 80px;
    }
}

.hs-cta-content {
    flex: 1;
    max-width: 100%;
}

@media (min-width: 900px) {
    .hs-cta-content {
        max-width: 500px;
    }
}

/* Testimonial Card */
.hs-testimonial-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--hs-border-color);
    border-radius: var(--hs-radius-lg);
    padding: 20px;
    text-align: left;
    width: 100%;
    max-width: 300px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 480px) {
    .hs-testimonial-card {
        padding: 24px;
        max-width: 320px;
        border-radius: var(--hs-radius-xl);
    }
}

@media (min-width: 768px) {
    .hs-testimonial-card {
        padding: 28px;
        max-width: 340px;
    }
}

.hs-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

@media (min-width: 480px) {
    .hs-testimonial-card::before {
        width: 150px;
        height: 150px;
    }
}

.hs-testimonial-stars {
    color: #fbbf24;
    font-size: 16px;
    margin: 0 0 12px 0;
    letter-spacing: 2px;
}

@media (min-width: 480px) {
    .hs-testimonial-stars {
        font-size: 18px;
        margin-bottom: 16px;
        letter-spacing: 3px;
    }
}

.hs-testimonial-text {
    font-size: 13px;
    color: var(--hs-text-light);
    line-height: 1.6;
    margin: 0 0 14px 0;
}

@media (min-width: 480px) {
    .hs-testimonial-text {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 18px;
    }
}

.hs-testimonial-features {
    margin: 0 0 16px 0;
}

@media (min-width: 480px) {
    .hs-testimonial-features {
        margin-bottom: 20px;
    }
}

.hs-testimonial-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--hs-text-muted);
}

@media (min-width: 480px) {
    .hs-testimonial-feature {
        gap: 10px;
        margin-bottom: 8px;
        font-size: 13px;
    }
}

.hs-testimonial-feature svg {
    width: 14px;
    height: 14px;
    color: var(--hs-accent-green);
    flex-shrink: 0;
}

@media (min-width: 480px) {
    .hs-testimonial-feature svg {
        width: 16px;
        height: 16px;
    }
}

.hs-testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (min-width: 480px) {
    .hs-testimonial-author {
        gap: 14px;
    }
}

.hs-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #a855f7 100%);
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 480px) {
    .hs-testimonial-avatar {
        width: 48px;
        height: 48px;
    }
}

.hs-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hs-testimonial-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--hs-text-white);
    margin: 0;
}

@media (min-width: 480px) {
    .hs-testimonial-name {
        font-size: 15px;
    }
}

.hs-testimonial-role {
    font-size: 11px;
    color: var(--hs-text-muted);
    margin-top: 2px;
}

@media (min-width: 480px) {
    .hs-testimonial-role {
        font-size: 13px;
    }
}

/* Payment Logos */
.hs-payment-logos {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    flex-wrap: wrap;
}

@media (min-width: 480px) {
    .hs-payment-logos {
        gap: 12px;
        margin-top: 36px;
    }
}

.hs-payment-logo {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--hs-radius-sm);
    font-size: 11px;
    font-weight: 600;
    color: var(--hs-text-light);
    border: 1px solid var(--hs-border-color);
}

@media (min-width: 480px) {
    .hs-payment-logo {
        padding: 10px 18px;
        font-size: 12px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.hs-footer {
    background: var(--hs-bg-dark);
    border-top: 1px solid var(--hs-border-color);
    padding: 40px 0 24px;
}

@media (min-width: 480px) {
    .hs-footer {
        padding: 50px 0 28px;
    }
}

@media (min-width: 768px) {
    .hs-footer {
        padding: 60px 0 30px;
    }
}

.hs-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 480px) {
    .hs-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

@media (min-width: 768px) {
    .hs-footer-grid {
        gap: 40px;
    }
}

@media (min-width: 900px) {
    .hs-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 48px;
    }
}

.hs-footer-brand {
    max-width: 100%;
}

@media (min-width: 480px) {
    .hs-footer-brand {
        grid-column: span 2;
        max-width: 280px;
    }
}

@media (min-width: 900px) {
    .hs-footer-brand {
        grid-column: auto;
    }
}

.hs-footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--hs-text-white);
    margin-bottom: 12px;
    text-decoration: none;
}

@media (min-width: 480px) {
    .hs-footer-logo {
        gap: 10px;
        font-size: 20px;
        margin-bottom: 16px;
    }
}

.hs-footer-logo svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 480px) {
    .hs-footer-logo svg {
        width: 26px;
        height: 26px;
    }
}

.hs-footer-desc {
    font-size: 13px;
    color: var(--hs-text-muted);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

@media (min-width: 480px) {
    .hs-footer-desc {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 20px;
    }
}

.hs-footer-social {
    display: flex;
    gap: 8px;
}

@media (min-width: 480px) {
    .hs-footer-social {
        gap: 10px;
    }
}

.hs-footer-social a {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hs-border-color);
    border-radius: var(--hs-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hs-text-muted);
    transition: all var(--hs-transition-fast);
}

@media (min-width: 480px) {
    .hs-footer-social a {
        width: 38px;
        height: 38px;
    }
}

.hs-footer-social a:hover {
    background: var(--hs-primary);
    border-color: var(--hs-primary);
    color: var(--hs-text-white);
}

.hs-footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--hs-text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 14px 0;
}

@media (min-width: 480px) {
    .hs-footer-col h4 {
        font-size: 13px;
        margin-bottom: 18px;
    }
}

.hs-footer-links {
    margin: 0;
    padding: 0;
}

.hs-footer-links a {
    display: block;
    font-size: 13px;
    color: var(--hs-text-muted);
    padding: 5px 0;
    transition: color var(--hs-transition-fast);
}

@media (min-width: 480px) {
    .hs-footer-links a {
        font-size: 14px;
        padding: 7px 0;
    }
}

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

.hs-footer-bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid var(--hs-border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}

@media (min-width: 480px) {
    .hs-footer-bottom {
        margin-top: 40px;
        gap: 16px;
    }
}

@media (min-width: 640px) {
    .hs-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .hs-footer-bottom {
        margin-top: 48px;
        padding-top: 24px;
    }
}

.hs-footer-copy {
    font-size: 12px;
    color: var(--hs-text-dark);
    margin: 0;
}

@media (min-width: 480px) {
    .hs-footer-copy {
        font-size: 13px;
    }
}

.hs-footer-legal {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
}

@media (min-width: 480px) {
    .hs-footer-legal {
        gap: 24px;
    }
}

.hs-footer-legal a {
    font-size: 12px;
    color: var(--hs-text-dark);
    transition: color var(--hs-transition-fast);
}

@media (min-width: 480px) {
    .hs-footer-legal a {
        font-size: 13px;
    }
}

.hs-footer-legal a:hover {
    color: var(--hs-text-white);
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.hs-page-content {
    padding: 40px 0 60px;
    min-height: 60vh;
    background: var(--hs-bg-dark);
}

@media (min-width: 768px) {
    .hs-page-content {
        padding: 60px 0 80px;
    }
}

.hs-page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--hs-text-white);
    margin: 0 0 20px 0;
}

@media (min-width: 480px) {
    .hs-page-title {
        font-size: 32px;
    }
}

@media (min-width: 768px) {
    .hs-page-title {
        font-size: 40px;
        margin-bottom: 24px;
    }
}

@media (min-width: 1024px) {
    .hs-page-title {
        font-size: 48px;
    }
}

.entry-content {
    max-width: 100%;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hs-animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}
