/**
 * ==========================================================================
 * Filename: site.css
 * Folder: /site/css/
 * Version: 1.0.0
 * Author: Mr Jim
 * Website: weflipify.com
 * Description: Public website styles - main site styles (excludes header/footer)
 * Copyright: Vianke Ltd 2025
 * Created: 2026-01-05
 * ==========================================================================
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-500: #94a3b8;
    --gray-400: #cbd5e1;
    --gray-300: #e2e8f0;
    --gray-200: #f1f5f9;
    --gray-100: #f8fafc;
    --gray-50: #f9fafb;
}

/* ========================================
   All Headings - Dark Blue
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
}

/* ========================================
   Site Main
   ======================================== */
.site-main {
    padding-top: 80px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.hero-visual {
    position: relative;
}

/* ========================================
   Section Styles
   ======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================
   Trusted By Section
   ======================================== */
.trusted-by {
    padding: 3rem 0;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
}

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

.trusted-text {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.logo-item {
    color: var(--gray-400);
    font-size: 1.125rem;
    font-weight: 600;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 5rem 0;
    background: #fff;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--gray-50);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================
   Examples Preview Section
   ======================================== */
.examples-preview {
    padding: 5rem 0;
    background: var(--gray-50);
}

.examples-categories {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-btn,
.filter-btn {
    padding: 0.5rem 1.25rem;
    border: none;
    background: #fff;
    color: var(--gray-600);
    font-weight: 500;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--gray-200);
}

.category-btn:hover,
.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-btn.active,
.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

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

.example-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.example-thumbnail {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-100);
}

.example-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.example-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.example-card:hover .example-overlay {
    opacity: 1;
}

.example-info {
    padding: 1rem;
}

.example-info h3,
.example-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.example-info p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.example-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

.examples-cta,
.hotspots-cta {
    text-align: center;
}

/* ========================================
   Hotspots Preview Section
   ======================================== */
.hotspots-preview {
    padding: 5rem 0;
    background: #fff;
}

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

.hotspot-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.hotspot-card:hover {
    border-color: var(--primary);
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hotspot-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.hotspot-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.hotspot-card p {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.4;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    margin-bottom: 1rem;
}

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

.cta-section .btn-primary:hover {
    background: var(--gray-100);
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

/* ========================================
   Pricing Page
   ======================================== */
.pricing-page {
    padding: 4rem 0;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.billing-label {
    font-weight: 500;
    color: var(--gray-500);
    transition: color 0.2s;
}

.billing-label.active {
    color: var(--dark);
}

.save-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--success);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 1rem;
    margin-left: 0.5rem;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-300);
    border-radius: 26px;
    transition: 0.3s;
}

.toggle-slider:before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

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

.plan-card {
    background: #fff;
    border: 2px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.plan-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.plan-card.popular {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(37,99,235,0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 1rem;
    white-space: nowrap;
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
}

.plan-price {
    margin-bottom: 1.5rem;
}

.plan-price .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

.plan-price .period {
    font-size: 1rem;
    color: var(--gray-500);
}

.yearly-price {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-700);
}

.feature-check {
    color: var(--success);
    font-weight: 600;
}

.feature-x {
    color: var(--gray-400);
}

/* ========================================
   FAQ Section
   ======================================== */
.comparison-section {
    max-width: 800px;
    margin: 0 auto;
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-grid,
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question svg {
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ========================================
   Products Page
   ======================================== */
.products-page {
    padding: 4rem 0;
}

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

.product-card {
    background: #fff;
    border: 2px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.product-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-link {
    color: var(--primary);
    font-weight: 500;
}

/* ========================================
   Product Detail Page
   ======================================== */
.product-detail {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.product-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.product-sidebar h4 {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.product-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.product-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.product-nav-item:hover {
    background: var(--gray-100);
}

.product-nav-item.active {
    background: var(--primary);
    color: #fff;
}

.nav-icon {
    font-size: 1.25rem;
}

.sidebar-cta {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.product-content {
    max-width: 800px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--gray-500);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-icon-lg {
    font-size: 4rem;
}

.product-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

.product-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.product-demo {
    margin-bottom: 2rem;
}

.product-demo img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.product-features h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.features-list li svg {
    color: var(--success);
    flex-shrink: 0;
}

.product-cta {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.product-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-cta p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-page {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.contact-form-wrapper {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 1rem;
}

.info-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.info-card h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.info-content a,
.info-content p {
    color: var(--dark);
    text-decoration: none;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 0.5rem;
    color: var(--gray-600);
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
}

/* ========================================
   Blog Page
   ======================================== */
.blog-page,
.guides-page {
    padding: 4rem 0;
}

.blog-filter {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.blog-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-100);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.blog-card-content h3 {
    font-size: 1.125rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.blog-card-content h3 a {
    color: var(--dark);
    text-decoration: none;
}

.blog-card-content h3 a:hover {
    color: var(--primary);
}

.blog-card-content p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ========================================
   Single Blog Post
   ======================================== */
.blog-post-single {
    max-width: 800px;
    margin: 0 auto;
}

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

.post-header h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    color: var(--gray-500);
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.post-content h2 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 2rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

/* ========================================
   Guides Page
   ======================================== */
.guide-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.guides-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.guides-sidebar h4 {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.guides-nav .nav-category {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 0 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--gray-200);
}

.guides-nav .nav-category:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

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

.guides-nav ul li a {
    display: block;
    padding: 0.5rem 0;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.9rem;
}

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

.guide-content {
    max-width: 800px;
}

.guide-content h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 2rem;
}

.guide-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
}

/* Guides Grid */
.guides-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.guide-category-section {
    margin-bottom: 1rem;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.guide-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 0.5rem;
}

.guide-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.guide-card-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.guide-card-content {
    flex: 1;
}

.guide-card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.guide-card-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.guide-card-arrow {
    color: var(--gray-400);
    font-size: 1.25rem;
}

/* ========================================
   Help Center
   ======================================== */
.help-page {
    padding: 0;
}

.help-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}

.help-hero h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.help-hero p {
    font-size: 1.125rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.help-search {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.help-search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.help-search input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
}

.help-quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: -2rem auto 3rem;
    padding: 0 1rem;
}

.quick-link-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.quick-link-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quick-link-card h3 {
    font-size: 1.125rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.quick-link-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.help-faq,
.help-ticket {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.help-faq h2,
.help-ticket h2 {
    text-align: center;
    color: var(--dark);
    margin-bottom: 2rem;
}

.ticket-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.ticket-intro p {
    color: var(--gray-600);
}

.ticket-form-wrapper {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 1rem;
}

.ticket-form-wrapper h3 {
    color: var(--dark);
    margin-bottom: 1.5rem;
}

/* ========================================
   Legal Pages (Privacy, Terms)
   ======================================== */
.legal-page {
    padding: 4rem 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: var(--gray-500);
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 1rem;
    color: var(--dark);
    margin: 1.5rem 0 0.5rem;
}

.legal-section p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* ========================================
   About Page
   ======================================== */
.about-page {
    padding: 4rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.about-intro p {
    margin-bottom: 1rem;
}

.about-mission,
.about-values {
    margin-bottom: 3rem;
}

.about-mission h2,
.about-values h2 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.about-mission p {
    color: var(--gray-700);
    line-height: 1.8;
}

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

.value-card {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 1rem;
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.value-card h3 {
    font-size: 1.125rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ========================================
   Coming Soon / API Docs
   ======================================== */
.coming-soon {
    text-align: center;
    padding: 4rem 0;
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.coming-soon h1 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.coming-soon-text {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.coming-soon > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.coming-soon-features {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 1rem;
    text-align: left;
    margin-bottom: 2rem;
}

.coming-soon-features h3 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.coming-soon-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.coming-soon-features li {
    color: var(--gray-700);
    padding-left: 1.5rem;
    position: relative;
}

.coming-soon-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
}

.coming-soon-notify {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 1rem;
}

.coming-soon-notify p {
    margin-bottom: 1rem;
}

.notify-form {
    display: flex;
    gap: 0.5rem;
}

.notify-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
}

/* ========================================
   Form Messages
   ======================================== */
.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.form-message.success {
    background: #dcfce7;
    color: #166534;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* ========================================
   Modal Styles
   ======================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 420px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
}

.modal-large {
    max-width: 600px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.modal-header p {
    color: var(--gray-600);
}

.modal-form .form-group {
    margin-bottom: 1rem;
}

.modal-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.modal-form input,
.modal-form textarea,
.modal-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.modal-footer p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.modal-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* AGGRESSIVE FIX - Prevent ALL horizontal scroll */
*, *::before, *::after {
    box-sizing: border-box !important;
}

html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
}

/* Lock all containers to screen width */
.container,
.site-main,
.site-footer,
.hero,
.hero-content,
section {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    /* Force everything to fit on mobile */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
    }

    .hero-visual,
    .flipbook-preview,
    .preview-window {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    /* Hide elements that might overflow */
    .hero-bg {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .examples-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hotspots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .product-sidebar {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guide-layout {
        grid-template-columns: 1fr;
    }
    
    .guides-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .hotspots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .help-quick-links {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hotspots-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .notify-form {
        flex-direction: column;
    }
    
    .coming-soon-features ul {
        grid-template-columns: 1fr;
    }
}
