/**
 * Landing Page Styles
 * @package BookmarkIE
 * @version 1.0.0
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary: #00a08c;
    --primary-dark: #008577;
    --primary-light: #e6f7f5;
    --secondary: #1e293b;
    --secondary-light: #334155;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-color: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --container-width: 1200px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-main);
    background: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

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

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

/* ============================================
   Skip to Main Content (Accessibility)
   ============================================ */
.skip-to-main {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0 0 var(--radius-md) 0;
    text-decoration: none;
}

.skip-to-main:focus {
    position: fixed;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    outline: 3px solid var(--primary-dark);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   Container
   ============================================ */
.landing-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Header
   ============================================ */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.landing-header .landing-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

.landing-logo .logo-main {
    color: var(--primary);
}

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

/* Navigation */
.landing-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.landing-nav a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.15s ease;
}

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

/* User Area */
.landing-user-area {
    display: flex;
    align-items: center;
}

.user-menu-wrapper {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-color);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.15s ease;
}

.user-menu-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.user-menu-btn.guest-btn {
    padding: 0.625rem 0.875rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.user-name {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.9375rem;
}

.dropdown-arrow {
    color: var(--text-muted);
    transition: transform 0.15s ease;
}

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.15s ease;
    z-index: 1000;
}

.user-dropdown.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    font-size: 0.9375rem;
    transition: background 0.15s ease;
}

.user-dropdown a:hover {
    background: var(--bg-color);
}

.user-dropdown a svg {
    color: var(--text-muted);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 0.5rem 0;
}

.dropdown-danger {
    color: #dc2626 !important;
}

.dropdown-danger svg {
    color: #dc2626 !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 99;
}

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

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.mobile-nav a {
    padding: 0.875rem 1.5rem;
    color: var(--text-main);
    font-weight: 500;
}

.mobile-nav a:hover {
    background: var(--bg-color);
    color: var(--primary);
}

.mobile-nav-divider {
    height: 1px;
    background: var(--border-light);
    margin: 0.5rem 1.5rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(to bottom, #00b89c, var(--primary) 40%, var(--primary-dark));
    color: white;
    box-shadow:
        0 4px 12px -2px rgba(0, 160, 140, 0.4),
        0 2px 0 0 #006b5e,
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid #006b5e;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(to bottom, #00c9aa, #00a08c 40%, #007a6c);
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px -4px rgba(0, 160, 140, 0.5),
        0 3px 0 0 #006b5e,
        inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
    color: white;
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow:
        0 1px 4px -1px rgba(0, 160, 140, 0.3),
        0 0 0 0 #006b5e,
        inset 0 2px 3px rgba(0, 0, 0, 0.12);
    border-bottom: 0px solid #006b5e;
    padding-bottom: calc(0.75rem + 2px);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-main);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-color);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: linear-gradient(to bottom, #ffffff, #f1f5f9);
    color: var(--primary);
    box-shadow:
        0 4px 12px -2px rgba(0, 0, 0, 0.15),
        0 2px 0 0 #d1d5db,
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid #d1d5db;
}

.btn-white:hover {
    background: linear-gradient(to bottom, #ffffff, #e6f7f5);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow:
        0 8px 20px -4px rgba(0, 0, 0, 0.18),
        0 3px 0 0 #d1d5db,
        inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.btn-white:active {
    transform: translateY(1px);
    box-shadow:
        0 1px 4px -1px rgba(0, 0, 0, 0.1),
        0 0 0 0 #d1d5db,
        inset 0 2px 3px rgba(0, 0, 0, 0.08);
    border-bottom: 0px solid #d1d5db;
    padding-bottom: calc(0.75rem + 2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-lg:active {
    padding-bottom: calc(1rem + 2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-white) 50%, #f0fdfa 100%);
}

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

.hero-content {
    max-width: 540px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

/* Hero Title Accent */
.title-accent {
    background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Theme Slideshow - Stylish & Lightweight
   ============================================ */
.theme-slideshow {
    position: relative;
    margin: 0;
    width: 100%;
    max-width: 560px;
}

.slideshow-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.slideshow-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

.slideshow-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), #06b6d4, #8b5cf6, var(--primary));
    background-size: 300% 300%;
    border-radius: 22px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(8px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { background-position: 0% 50%; opacity: 0.4; }
    50% { background-position: 100% 50%; opacity: 0.7; }
}

.slideshow-track {
    position: relative;
    aspect-ratio: 16 / 10;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.02);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.5rem 1.25rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.slide-caption h3,
.slide-caption p {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
}

.slide-badge {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
}

/* Slideshow Navigation */
.slideshow-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0 0.5rem;
}

.slide-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-white);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-main);
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.slide-arrow:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.slide-arrow:active {
    transform: scale(0.95);
}

.slide-dots {
    display: flex;
    gap: 6px;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border-light);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slide-dot:hover {
    background: var(--text-muted);
}

.slide-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* Slideshow Counter */
.slideshow-counter {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0.25rem 0;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.counter-current {
    color: var(--primary);
    font-weight: 700;
}

.counter-sep {
    opacity: 0.5;
    margin: 0 0.15rem;
}

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

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

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

.feature-card {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works-section {
    padding: 5rem 0;
    background: var(--bg-color);
}

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

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

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

.testimonial-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-light);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-main);
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-section {
    padding: 5rem 0;
    background: var(--bg-color);
}

.pricing-card-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    border: 2px solid var(--border-light);
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
    position: relative;
    text-align: center;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-amount .price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.pricing-amount .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-light);
}

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

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

.pricing-card-highlighted {
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.pricing-plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

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

/* ============================================
   Footer
   ============================================ */
.landing-footer {
    background: var(--secondary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--secondary-light);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.footer-logo .logo-main {
    color: var(--primary);
}

.footer-logo .logo-accent {
    color: white;
}

.footer-tagline {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.footer-links .footer-heading {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.footer-links a {
    display: block;
    color: white;
    font-size: 0.9375rem;
    padding: 0.375rem 0;
    transition: color 0.15s ease;
}

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

.footer-share-link {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
}

.footer-share-link svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.footer-share-link:hover svg {
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ============================================
   Marketing Pages (shared styles)
   ============================================ */
.page-header {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-white) 100%);
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 4rem 0;
}

.page-section {
    margin-bottom: 4rem;
}

.page-section:last-child {
    margin-bottom: 0;
}

/* Content Cards */
.content-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.content-card h2,
.content-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.content-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    color: var(--text-main);
    transition: all 0.15s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 160, 140, 0.12);
}

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

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-section .landing-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

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

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .landing-nav {
        display: none;
    }

    .landing-user-area {
        display: none;
    }

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

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .features-section,
    .how-it-works-section,
    .testimonials-section,
    .pricing-section {
        padding: 3rem 0;
    }

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

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

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

    .cta-subtitle {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

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

    .page-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .pricing-card {
        padding: 2rem;
        max-width: 100%;
    }

    .pricing-card-highlighted {
        transform: none;
    }
}

/* ============================================
   Slideshow Responsive
   ============================================ */
@media (max-width: 900px) {
    .theme-slideshow {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .slideshow-frame {
        border-radius: 16px;
    }

    .slideshow-glow {
        border-radius: 18px;
        filter: blur(6px);
    }

    .slide-caption {
        padding: 2rem 1rem 1rem;
    }

    .slide-caption h3,
    .slide-caption p {
        font-size: 0.9rem;
    }

    .slideshow-nav {
        gap: 0.75rem;
        padding: 0.75rem 0 0.25rem;
    }

    .slide-arrow {
        width: 32px;
        height: 32px;
    }

    .slide-dot {
        width: 6px;
        height: 6px;
    }

    .slide-dot.active {
        width: 18px;
    }
}

/* ============================================
   Chrome Extension Section
   ============================================ */
.extension-section {
    padding: 5rem 0;
    background: var(--bg-color);
}

.extension-promo {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.extension-promo-content {
    flex: 1;
}

.extension-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.extension-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.extension-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.extension-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-main);
}

.extension-promo-visual {
    flex: 0 0 340px;
}

.extension-browser-mockup {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.browser-dots {
    display: flex;
    gap: 6px;
    padding: 12px 16px 8px;
    background: #f1f5f9;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.browser-dots span:first-child { background: #f87171; }
.browser-dots span:nth-child(2) { background: #fbbf24; }
.browser-dots span:nth-child(3) { background: #34d399; }

.browser-tab-label {
    padding: 6px 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: #f8fafc;
    border-bottom: 1px solid var(--border-light);
}

.browser-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 180px;
}

.mock-widget {
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(90deg, var(--primary-light) 0%, #e0f2fe 100%);
}

.mock-widget.short {
    width: 65%;
}

.extension-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.extension-screenshot-single {
    text-align: center;
}

.extension-enlargeable {
    max-width: 300px;
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    cursor: zoom-in;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.extension-enlargeable:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

.extension-screenshot-single span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Landing page modal */
.landing-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    padding: 1rem;
}

.landing-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.landing-modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.2s ease;
}

.landing-modal-overlay.visible .landing-modal-content {
    transform: translateY(0);
}

.landing-modal-body {
    padding: 2.5rem 2rem;
    text-align: center;
}

.landing-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.landing-modal-body p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .extension-promo {
        flex-direction: column;
        text-align: center;
    }

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

    .extension-features {
        align-items: center;
    }

    .extension-buttons {
        justify-content: center;
    }

    .extension-promo-visual {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
