/*
=====================================
AUTH.HTML - Landing Page Styles
=====================================
*/

/* =====================================
   RESET & BASE STYLES
===================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =====================================
   CSS CUSTOM PROPERTIES
===================================== */
:root {
    /* Brand Colors */
    --primary: #ffd600;
    --primary-dark: #e6c100;
    --primary-darker: #ccac00;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --bg-primary: #ffffff;
    --bg-secondary: #fafbfc;
    --bg-tertiary: #f5f6f7;
    --border-light: #e9ecef;
    --sidebar-bg: #18181b;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Status Colors */
    --success: #51cf66;
    --error: #ff6b6b;
    --warning: #ffd43b;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    
    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* =====================================
   BASE TYPOGRAPHY & BODY
===================================== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: var(--z-tooltip);
    padding: 1em;
    background: var(--primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
}

.skip-to-content:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
}

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

/* =====================================
   HEADER
===================================== */
.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
}

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

.logo-text .lynk {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

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

.nav-link:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    width: 40px;
    height: 40px;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    left: 0;
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* =====================================
   BUTTONS
===================================== */
.btn {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.btn-secondary:hover:not(:disabled) {
    background: var(--border-light);
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-primary);
    box-shadow: none;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

/* =====================================
   HERO SECTION
===================================== */
.hero {
    padding: 120px 20px 60px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =====================================
   BRAND CAPTURE
===================================== */
.brand-capture {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 480px;
    margin: 0 auto 40px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

.brand-capture:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.capture-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.capture-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.capture-input {
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.capture-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.2);
}

.btn-capture {
    background: var(--primary);
    color: var(--text-primary);
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
}

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

/* =====================================
   LANDING CAROUSEL SECTION
===================================== */
.landing-carousel-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    overflow: hidden;
    position: relative;
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.carousel-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 48px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    justify-content: center;
    flex-wrap: wrap;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.template-card {
    min-width: 200px;
    min-height: 280px;
    max-width: 200px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    cursor: pointer;
    border: 2px solid transparent;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.template-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.template-preview {
    height: 120px;
    width: 100%;
    margin: 0 auto 20px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.template-icon {
    font-size: 48px;
    color: var(--primary);
    transition: transform var(--transition-base);
}

.template-card:hover .template-icon {
    transform: scale(1.1);
}

.template-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    text-align: center;
}

.template-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    text-align: center;
}

.template-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
}

.template-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.carousel-btn {
    display: none;
}

/* =====================================
   UNIQUE SECTION
===================================== */
.unique-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}

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

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 48px;
}

.unique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.unique-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    transition: all var(--transition-slow);
    border: 2px solid transparent;
}

.unique-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.unique-card.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.unique-card.featured p {
    color: rgba(255,255,255,0.9);
}

.unique-card.featured h3 {
    color: white;
}

.unique-card.featured .unique-badge {
    background: var(--primary);
    color: var(--text-primary);
}

.unique-screenshot {
    height: 200px;
    margin-bottom: 24px;
    width: 100%;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.unique-card.featured .unique-screenshot {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.screenshot-placeholder {
    font-size: 64px;
    color: var(--primary);
}

.unique-card.featured .screenshot-placeholder {
    color: white;
}

.unique-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.unique-card:hover .unique-screenshot img {
    transform: scale(1.05);
}

.unique-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.unique-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.unique-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* =====================================
   HOW IT WORKS
===================================== */
.how-it-works {
    padding: 60px 20px;
    background: var(--bg-secondary);
}

.how-it-works-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 48px;
    list-style: none;
}

.step {
    text-align: center;
    background: var(--bg-primary);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
    transition: transform var(--transition-base);
}

.step:hover .step-number {
    transform: scale(1.1);
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

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

/* =====================================
   SERVICES
===================================== */
.services {
    padding: 60px 20px;
    background: var(--bg-secondary);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.card-cta {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: inherit;
    align-self: center;
}

.card-cta:hover {
    background: var(--primary);
    transform: translateY(-1px);
}

.card-coming-soon {
    margin-top: auto;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(245, 197, 24, 0.1);
    color: #b89b00;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    align-self: center;
}

.coming-soon-tag {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(245, 197, 24, 0.15);
    color: #b89b00;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

/* =====================================
   PRICING SECTION
===================================== */
.pricing {
    padding: 60px 20px;
    background: var(--bg-primary);
}

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

.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
    gap: 24px;
}

.toggle-container {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 4px;
    display: flex;
    border: 1px solid var(--border-light);
}

.toggle-btn {
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-slow);
    font-weight: 500;
    font-family: inherit;
    font-size: 14px;
}

.toggle-btn.active {
    background: var(--primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.discount-badge {
    background: var(--primary);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity var(--transition-base);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-sm);
}

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

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular::before {
    content: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-header {
    text-align: center;
    margin-bottom: 32px;
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.plan-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.price-currency {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-period {
    font-size: 14px;
    color: var(--text-secondary);
}

.price-annual {
    display: none;
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 16px;
}

.commission-info {
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #fff8e1, #ffecb3); border: 1px solid #ffe082;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--text-secondary);
}

.commission-rate {
    color: var(--text-primary);
    font-weight: 600;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
    padding: 0;
}

.features-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-size: 14px;
}

.features-list li::before {
    content: "\2713";
    color: var(--primary);
    font-weight: bold;
    margin-right: 12px;
    font-size: 16px;
}

.features-list li.feature-disabled {
    text-decoration: line-through;
    color: var(--text-secondary);
    opacity: 0.6;
}

.features-list li.feature-disabled::before {
    content: "\00D7";
    color: var(--text-secondary);
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

.plan-cta {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-slow);
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-primary);
    border: none;
}

.cta-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 214, 0, 0.4);
}

.cta-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.cta-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* =====================================
   FINAL CTA
===================================== */
.final-cta {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-primary);
}

.cta-title {
    font-size: clamp(1.5rem, 3.5vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* =====================================
   FOOTER
===================================== */
.footer {
    background: var(--sidebar-bg);
    color: rgba(255,255,255,0.7);
    padding: 40px 0 20px;
}

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

.footer-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
}

.footer-col h4 {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.footer-col nav {
    display: flex;
    flex-direction: column;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color var(--transition-base);
}

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

.social-link {
    margin-top: 12px;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-base);
}

.telegram-link:hover {
    color: #0088cc;
}

.telegram-link i {
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* =====================================
   MODAL SYSTEM
===================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: var(--z-modal-backdrop);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-overlay.show {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.modal-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #18181b;
    padding: 30px;
    border-radius: 16px;
    border: 2px solid var(--primary);
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    text-align: center;
    color: white;
    z-index: var(--z-modal);
}

.modal-box.show {
    display: block;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary);
}

.modal-description {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
    background: #232329;
    color: #fff;
    font-family: inherit;
}

.modal-box input::placeholder {
    color: #999;
}

.modal-box input:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.modal-box button.primary-btn,
.modal-box button#loginBtn,
.modal-box button#signupBtn,
.modal-box button#forgotBtn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #101013;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-slow);
    margin-top: 8px;
}

.modal-box button.primary-btn:hover:not(:disabled),
.modal-box button#loginBtn:hover:not(:disabled),
.modal-box button#signupBtn:hover:not(:disabled),
.modal-box button#forgotBtn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.modal-box button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.modal-box .footer {
    font-size: 0.85rem;
    text-align: center;
    color: #ccc;
    margin-top: 12px;
    background: transparent;
    padding: 0;
}

.modal-box .link-button {
    background: transparent !important;
    border: none !important;
    color: var(--primary);
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
    font-size: inherit;
    padding: 0 !important;
    width: auto !important;
    font-weight: normal !important;
    transition: color var(--transition-base);
}

.modal-box .link-button:hover {
    color: var(--primary-dark);
    background: transparent !important;
    transform: none !important;
}

.modal-box .close-modal-btn {
    background: transparent !important;
    border: none !important;
    color: #ccc;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 30px !important;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-base);
}

.modal-box .close-modal-btn:hover {
    color: white;
    background: rgba(255,255,255,0.1) !important;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    justify-content: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.checkbox-group label {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    cursor: pointer;
}

.modal-box .forgot-password-link {
    display: block;
    width: auto !important;
    background: transparent !important;
    border: none !important;
    color: var(--primary);
    font-size: 13px;
    cursor: pointer;
    text-align: right;
    margin-bottom: 16px;
    text-decoration: underline;
    padding: 0 !important;
    font-weight: normal !important;
    transition: color var(--transition-base);
}

.modal-box .forgot-password-link:hover {
    color: var(--primary-dark);
    background: transparent !important;
    transform: none !important;
}

/* Loading & Messages */
.loading {
    display: none;
    color: #ccc;
    font-size: 14px;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 0.8s linear infinite;
}

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

.error {
    color: var(--error);
    font-size: 14px;
    text-align: center;
    display: none;
}

.success {
    color: var(--success);
    font-size: 14px;
    text-align: center;
    display: none;
}

/* =====================================
   INPUT VALIDATION
===================================== */
.input-group {
    position: relative;
}

.input-validation {
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 16px;
}

.validation-success {
    color: var(--success);
}

.validation-error {
    color: var(--error);
}

.validation-checking {
    color: var(--warning);
    animation: spin 1s linear infinite;
}

.validation-message {
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 15px;
    padding-left: 4px;
    color: #ccc;
    text-align: left;
}

.validation-message.success {
    color: #51cf66;
}

.validation-message.error {
    color: #ff6b6b;
}

.password-strength {
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 15px;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    opacity: 0;
    transition: all var(--transition-base);
}

.password-strength.visible {
    opacity: 1;
}

.password-strength.weak {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.password-strength.fair {
    background: rgba(255, 213, 59, 0.1);
    color: #ffd43b;
}

.password-strength.good {
    background: rgba(81, 207, 102, 0.1);
    color: #51cf66;
}

.password-strength.strong {
    background: rgba(81, 207, 102, 0.2);
    color: #40a85a;
}

/* =====================================
   RESPONSIVE DESIGN
===================================== */
@media (max-width: 1024px) {
    .unique-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        padding: 20px;
        flex-direction: column;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-light);
        z-index: var(--z-dropdown);
    }
    
    .nav-menu.mobile-open {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-buttons {
        display: none;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .hero {
        padding: 100px 20px 40px;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .footer-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .unique-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-box {
        width: 95%;
        padding: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .brand-capture {
        padding: 24px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   PRINT STYLES
===================================== */
@media print {
    .header,
    .footer,
    .modal-overlay,
    .modal-box,
    button,
    .btn {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
    }
    
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }
}

/* =====================================
   ACCESSIBILITY IMPROVEMENTS
===================================== */
@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;
    }
}
/* ===================== FAQ SECTION ===================== */
.faq-section {
    padding: 80px 24px;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq-grid {
    margin-top: 40px;
    text-align: left;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.2s ease;
}
.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-left: 3px solid #ffd600;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    font-size: 20px;
    color: #ffd600;
    font-weight: 700;
}

.faq-item[open] .faq-question::after {
    content: "−";
}

.faq-answer {
    padding: 0 24px 20px;
    color: #666;
    line-height: 1.6;
}

/* Fix nav links - dark text */
.nav-link {
    color: #1a1a1a !important;
}

.nav-link:hover {
    color: #ffd600 !important;
}

/* Centrer le contenu des cartes carousel */
.template-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.template-card .card-coming-soon {
    margin-top: auto;
    align-self: center;
}

/* =====================================
   PRICING CARDS ALIGNMENT FIX
===================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
}

.plan-header {
    min-height: 180px;
}

.features-list {
    flex-grow: 1;
    min-height: 280px;
}

.plan-cta {
    margin-top: auto;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        min-height: auto;
    }
    
    .plan-header {
        min-height: auto;
    }
    
    .features-list {
        min-height: auto;
    }
}

/* Reduce pricing card padding */
.pricing-card {
    padding: 24px !important;
}

.plan-header {
    margin-bottom: 20px;
}

.features-list {
    margin-bottom: 20px;
}

.features-list li {
    padding: 6px 0;
}

/* Ultra minimal pricing cards */
.pricing-card {
    padding: 20px !important;
    min-height: 420px !important;
}

.plan-header {
    min-height: 140px !important;
    margin-bottom: 16px !important;
}

.plan-name {
    font-size: 16px !important;
}

.plan-tagline {
    font-size: 13px !important;
    margin-bottom: 12px !important;
}

.price-amount {
    font-size: 28px !important;
}

.features-list {
    min-height: 200px !important;
    margin-bottom: 16px !important;
}

.features-list li {
    padding: 5px 0 !important;
    font-size: 13px !important;
}

.commission-info {
    padding: 8px !important;
    font-size: 12px !important;
    margin-bottom: 16px !important;
}

.plan-cta {
    padding: 10px 16px !important;
    font-size: 13px !important;
}

.popular-badge {
    padding: 6px 12px !important;
    font-size: 11px !important;
}

.coming-soon-tag {
    font-size: 9px !important;
    padding: 2px 6px !important;
}

/* All pricing buttons grey by default, yellow on hover */
.pricing-card .plan-cta {
    background: #f3f4f6 !important;
    color: #1a1a1a !important;
    border: 1px solid #e5e7eb !important;
}

.pricing-card .plan-cta:hover {
    background: #ffd600 !important;
    border-color: #ffd600 !important;
    color: #1a1a1a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 214, 0, 0.3);
}

.pricing-card.popular .plan-cta {
    background: #f3f4f6 !important;
    color: #1a1a1a !important;
    border: 1px solid #e5e7eb !important;
}

.pricing-card.popular .plan-cta:hover {
    background: #ffd600 !important;
    border-color: #ffd600 !important;
}

/* Fix popular card same size as others */
.pricing-card.popular {
    transform: none !important;
    scale: 1 !important;
}

.pricing-card.popular:hover {
    transform: translateY(-4px) !important;
}



/* ========== ANALYTICS SECTION ========== */
.analytics-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

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

.analytics-section .section-title {
    color: #fff;
}

.analytics-section .section-description {
    color: rgba(255,255,255,0.7);
}

.analytics-showcase {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.analytics-image-wrapper {
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.analytics-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.analytics-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.analytics-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f5c518;
    font-weight: 500;
    font-size: 1.1rem;
}

.analytics-feature i {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .analytics-features {
        gap: 20px;
    }
}

/* Screenshot image in unique cards */
.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Bigger placeholder for screenshot */
.unique-screenshot {
    min-height: 280px !important;
    padding: 20px !important;
}

.screenshot-placeholder {
    min-height: 200px !important;
}

/* Fix image to fill placeholder properly */
.screenshot-img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    max-width: 100% !important;
}

.unique-screenshot {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Image fills the entire grey box */
.unique-card:first-child .unique-screenshot {
    padding: 0 !important;
    overflow: hidden !important;
}

.unique-card:first-child .screenshot-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

/* Adjust grey box size and image fit */
.unique-card:first-child .unique-screenshot {
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    width: 100% !important;
}

.unique-card:first-child .screenshot-img {
    object-fit: contain !important;
    object-position: center !important;
}

/* Make image bigger - scale up */
.unique-card:first-child .screenshot-img {
    transform: scale(1.3) !important;
}

/* Remove grey placeholder - image only */
.unique-card:first-child .unique-screenshot {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 0 !important;
}

.unique-card:first-child .screenshot-img {
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Bigger image */
.unique-card:first-child .screenshot-img {
    width: 120% !important;
    max-width: 120% !important;
    margin-left: -10% !important;
}

/* MUCH BIGGER image */
.unique-card:first-child .screenshot-img {
    width: 150% !important;
    max-width: 150% !important;
    margin-left: -25% !important;
}

/* Show full image - centered */
.unique-card:first-child .screenshot-img {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    object-fit: contain !important;
}

.unique-card:first-child .unique-screenshot {
    overflow: visible !important;
}

/* Image overflow outside card */
.unique-card:first-child {
    overflow: visible !important;
}

.unique-card:first-child .unique-screenshot {
    position: relative !important;
    overflow: visible !important;
}

.unique-card:first-child .screenshot-img {
    width: 130% !important;
    max-width: 130% !important;
    margin-left: -15% !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Center the image properly */
.unique-card:first-child .screenshot-img {
    margin-left: -15% !important;
    margin-right: -15% !important;
    display: block !important;
}

.unique-card:first-child .unique-screenshot {
    display: flex !important;
    justify-content: center !important;
}

/* Reduce image size a bit */
.unique-card:first-child .screenshot-img {
    width: 115% !important;
    max-width: 115% !important;
    margin-left: -7.5% !important;
    margin-right: -7.5% !important;
}

/* Slightly bigger */
.unique-card:first-child .screenshot-img {
    width: 120% !important;
    max-width: 120% !important;
    margin-left: -10% !important;
    margin-right: -10% !important;
    transform: scale(1.05) !important;
}

/* Bigger cards width */
.unique-card {
    min-width: 380px !important;
    max-width: 420px !important;
}

.unique-cards-grid {
    gap: 30px !important;
}

/* Even bigger cards */
.unique-card {
    min-width: 420px !important;
    max-width: 480px !important;
}

/* Reduce image width slightly */
.unique-card:first-child .screenshot-img {
    width: 105% !important;
    max-width: 105% !important;
    margin-left: -2.5% !important;
    margin-right: -2.5% !important;
    transform: scale(1) !important;
}

/* Slightly bigger */
.unique-card:first-child .screenshot-img {
    width: 112% !important;
    max-width: 112% !important;
    margin-left: -6% !important;
    margin-right: -6% !important;
}

/* Align all placeholders same size */
.unique-screenshot {
    height: 280px !important;
    min-height: 280px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.screenshot-placeholder {
    height: auto !important;
}

/* Reduce placeholder height for cards 2 and 3 */
.unique-card:nth-child(2) .unique-screenshot,
.unique-card:nth-child(3) .unique-screenshot {
    height: 220px !important;
    min-height: 220px !important;
}

/* Reduce more */
.unique-card:nth-child(2) .unique-screenshot,
.unique-card:nth-child(3) .unique-screenshot {
    height: 180px !important;
    min-height: 180px !important;
}

/* Adjust placeholder height and center icons */
.unique-card:nth-child(2) .unique-screenshot,
.unique-card:nth-child(3) .unique-screenshot {
    height: 200px !important;
    min-height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.unique-card:nth-child(2) .screenshot-placeholder,
.unique-card:nth-child(3) .screenshot-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Match image size - shorter height, wider width */
.unique-card:nth-child(2) .unique-screenshot,
.unique-card:nth-child(3) .unique-screenshot {
    height: 170px !important;
    min-height: 170px !important;
    width: 112% !important;
    margin-left: -6% !important;
    margin-right: -6% !important;
}

/* Same height as image */
.unique-card:nth-child(2) .unique-screenshot,
.unique-card:nth-child(3) .unique-screenshot {
    height: 190px !important;
    min-height: 190px !important;
}

/* Same height as image */
.unique-card:nth-child(2) .unique-screenshot,
.unique-card:nth-child(3) .unique-screenshot {
    height: 190px !important;
    min-height: 190px !important;
}

/* Align all badges at bottom */
.unique-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.unique-badge {
    margin-top: auto !important;
}

/* ========== DASHBOARD HERO SECTION ========== */
.dashboard-hero-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.dashboard-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.dashboard-hero-content {
    flex: 1;
}

.dashboard-hero-content h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.dashboard-hero-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    line-height: 1.6;
}

.dashboard-hero-image {
    flex: 1.5;
}

.dashboard-hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .dashboard-hero-container {
        flex-direction: column;
    }
    
    .dashboard-hero-content h2 {
        font-size: 1.8rem;
    }
}

/* =====================================
   FIX PRICING CARDS - REDUCE WHITE SPACE
===================================== */
.pricing-card {
    min-height: auto !important;
    height: auto !important;
}

.features-list {
    min-height: auto !important;
    flex-grow: 0 !important;
    margin-bottom: 20px;
}

.plan-header {
    min-height: auto !important;
}

.plan-cta {
    margin-top: 20px;
}

/* =====================================
   FIX BUTTON ALIGNMENT - PRICING CARDS
===================================== */
.pricing-grid {
    align-items: stretch !important;
}

.pricing-card {
    display: flex !important;
    flex-direction: column !important;
}

.features-list {
    flex-grow: 1 !important;
}

.plan-cta {
    margin-top: auto !important;
}

/* =====================================
   ALIGN PRICES AND FEATURES BETWEEN CARDS
===================================== */
.plan-header {
    display: flex;
    flex-direction: column;
    min-height: 160px !important;
}

.plan-price {
    margin-top: auto;
    padding-top: 20px;
}

.pricing-card .features-list {
    min-height: 140px !important;
}

.pricing-card:first-child .plan-header,
.pricing-card:last-child .plan-header {
    min-height: 160px !important;
}

/* =====================================
   FIX PRO CARD PRICE ALIGNMENT
===================================== */
.pricing-card.popular .plan-header {
    min-height: 140px !important;
}

.pricing-card.popular .plan-price {
    margin-top: 0 !important;
    padding-top: 10px !important;
}

.plan-header {
    min-height: 140px !important;
}

.plan-price {
    padding-top: 10px !important;
    margin-top: 0 !important;
}

/* =====================================
   ALIGN FEATURES BETWEEN CARDS
===================================== */
.pricing-card .features-list {
    padding-top: 20px !important;
}

.pricing-card .features-list li {
    min-height: 32px;
    display: flex;
    align-items: center;
}

.pricing-card.popular .features-list {
    padding-top: 20px !important;
}

/* =====================================
   MOVE FEATURES CLOSER TO PRICE
===================================== */
.pricing-card .features-list {
    padding-top: 5px !important;
    margin-top: 10px !important;
}

.plan-price {
    margin-bottom: 5px !important;
}

/* =====================================
   MOVE CONTENT UP AND ALIGN PROPERLY
===================================== */
.pricing-card {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.plan-header {
    min-height: auto !important;
    margin-bottom: 15px !important;
}

.plan-name {
    margin-bottom: 5px !important;
}

.plan-tagline {
    margin-bottom: 15px !important;
}

.plan-price {
    margin-bottom: 15px !important;
    padding-top: 0 !important;
}

.pricing-card .features-list {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

.pricing-card.popular {
    padding-top: 30px !important;
}

/* =====================================
   FIX PRO CARD - MOVE CONTENT UP
===================================== */
.pricing-card.popular .plan-header {
    margin-bottom: 15px !important;
}

.pricing-card.popular .plan-tagline {
    margin-bottom: 15px !important;
}

.pricing-card.popular .plan-price {
    margin-bottom: 15px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.pricing-card.popular .features-list {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* =====================================
   FIX PRO CARD - FORCE MOVE UP
===================================== */
.pricing-card.popular {
    padding-top: 20px !important;
}

.pricing-card.popular .plan-name {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.pricing-card.popular .plan-header {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Align all prices at same height */
.pricing-grid {
    align-items: start !important;
}

.pricing-card .plan-header {
    height: 130px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

/* =====================================
   ALIGN ALL CARDS TEXT PROPERLY
===================================== */
.pricing-card:first-child {
    padding-top: 20px !important;
}

.pricing-card:first-child .plan-header {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.pricing-card:first-child .plan-name {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Force same starting point for all cards */
.pricing-card .plan-name {
    margin-top: 0 !important;
}

.pricing-card:last-child {
    padding-top: 20px !important;
}

.pricing-card:last-child .plan-header {
    padding-top: 0 !important;
}

/* =====================================
   FINAL FIX - ALIGN EVERYTHING
===================================== */

/* Reset all cards to same baseline */
.pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.pricing-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 30px 25px 25px 25px !important;
    position: relative !important;
}

/* Badge outside card flow */
.pricing-card.popular {
    padding-top: 30px !important;
    margin-top: 15px !important;
}

.popular-badge {
    position: absolute !important;
    top: -15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Align titles */
.plan-name {
    min-height: 30px !important;
}

/* Align taglines */
.plan-tagline {
    min-height: 25px !important;
    margin-bottom: 20px !important;
}

/* Align prices */
.plan-price {
    min-height: 50px !important;
    margin-bottom: 25px !important;
}

/* Align features */
.features-list {
    flex-grow: 1 !important;
    min-height: 120px !important;
}

/* Align buttons at bottom */
.plan-cta {
    margin-top: auto !important;
}

/* =====================================
   FIX PRO CARD TEXT AND ALIGN PRICES
===================================== */
.pricing-card.popular {
    margin-top: 0 !important;
    padding-top: 45px !important;
}

/* All cards same top padding */
.pricing-card:not(.popular) {
    padding-top: 30px !important;
}

/* Align all prices on same line */
.plan-header {
    min-height: auto !important;
}

.plan-name {
    margin-bottom: 8px !important;
}

.plan-tagline {
    margin-bottom: 25px !important;
    min-height: auto !important;
}

.plan-price {
    min-height: auto !important;
    margin-bottom: 20px !important;
}

/* =====================================
   COMPLETE RESET - ALIGN EVERYTHING
===================================== */
.pricing-card,
.pricing-card.popular,
.pricing-card:first-child,
.pricing-card:last-child {
    padding: 35px 25px 25px 25px !important;
    margin-top: 0 !important;
}

.pricing-card.popular {
    padding-top: 50px !important;
}

.plan-name,
.plan-tagline,
.plan-price {
    min-height: auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.plan-name {
    margin-bottom: 10px !important;
    height: 28px !important;
}

.plan-tagline {
    margin-bottom: 30px !important;
    height: 20px !important;
}

.plan-price {
    margin-bottom: 25px !important;
    height: 55px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.features-list {
    min-height: 110px !important;
}

.features-list li {
    height: 32px !important;
}

/* =====================================
   CLEAN PRICING CARDS - FINAL VERSION
===================================== */
.pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
}

.pricing-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 30px !important;
    margin-top: 0 !important;
}

.pricing-card.popular {
    padding-top: 45px !important;
}

.plan-header {
    min-height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

.plan-name {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}

.plan-tagline {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

.plan-price {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

.features-list {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    flex-grow: 1 !important;
}

.plan-cta {
    margin-top: auto !important;
}

/* =====================================
   REDUCE WHITE SPACE BELOW FEATURES
===================================== */
.features-list {
    flex-grow: 0 !important;
    margin-bottom: 15px !important;
}

.pricing-card {
    padding-bottom: 25px !important;
}

.plan-cta {
    margin-top: 15px !important;
}

/* =====================================
   REDUCE CARD HEIGHT
===================================== */
.pricing-card {
    padding: 20px !important;
    padding-top: 25px !important;
}

.pricing-card.popular {
    padding-top: 35px !important;
}

.plan-tagline {
    margin-bottom: 15px !important;
}

.plan-price {
    margin-bottom: 15px !important;
}

.features-list {
    margin-bottom: 10px !important;
}

.plan-cta {
    margin-top: 10px !important;
}

/* =====================================
   REDUCE CARD HEIGHT MORE
===================================== */
.pricing-card {
    padding: 15px !important;
    padding-top: 20px !important;
}

.pricing-card.popular {
    padding-top: 30px !important;
}

.plan-name {
    margin-bottom: 5px !important;
}

.plan-tagline {
    margin-bottom: 10px !important;
}

.plan-price {
    margin-bottom: 10px !important;
}

.features-list {
    margin-bottom: 8px !important;
}

.features-list li {
    margin-bottom: 5px !important;
    padding: 3px 0 !important;
}

.plan-cta {
    margin-top: 8px !important;
}

/* =====================================
   COMPACT CARDS - FIT ON SCREEN
===================================== */
.pricing {
    padding-top: 20px !important;
    padding-bottom: 10px !important;
}

.pricing .section-title {
    margin-bottom: 5px !important;
}

.pricing .section-subtitle {
    margin-bottom: 15px !important;
}

.pricing-card {
    padding: 12px 15px !important;
}

.pricing-card.popular {
    padding-top: 25px !important;
}

.plan-name {
    font-size: 18px !important;
    margin-bottom: 3px !important;
}

.plan-tagline {
    font-size: 13px !important;
    margin-bottom: 8px !important;
}

.plan-price {
    margin-bottom: 8px !important;
}

.price-amount {
    font-size: 36px !important;
}

.features-list {
    margin-bottom: 5px !important;
}

.features-list li {
    font-size: 13px !important;
    margin-bottom: 3px !important;
    padding: 2px 0 !important;
}

.plan-cta {
    margin-top: 5px !important;
}

.plan-cta .btn {
    padding: 10px 20px !important;
    font-size: 13px !important;
}

.popular-badge {
    font-size: 11px !important;
    padding: 4px 12px !important;
}

/* =====================================
   SUPER COMPACT CARDS
===================================== */
.pricing-grid {
    gap: 15px !important;
}

.pricing-card {
    padding: 10px 12px !important;
}

.pricing-card.popular {
    padding-top: 20px !important;
}

.plan-name {
    font-size: 16px !important;
    margin-bottom: 2px !important;
}

.plan-tagline {
    font-size: 12px !important;
    margin-bottom: 5px !important;
}

.plan-price {
    margin-bottom: 5px !important;
}

.price-amount {
    font-size: 28px !important;
}

.price-currency,
.price-period {
    font-size: 12px !important;
}

.features-list {
    margin-bottom: 5px !important;
}

.features-list li {
    font-size: 12px !important;
    margin-bottom: 2px !important;
    padding: 1px 0 !important;
}

.plan-cta .btn {
    padding: 8px 15px !important;
    font-size: 12px !important;
}

.popular-badge {
    font-size: 10px !important;
    padding: 3px 10px !important;
    top: -10px !important;
}

/* =====================================
   REMOVE WHITE SPACE - FORCE HEIGHT
===================================== */
.pricing-card {
    height: auto !important;
    min-height: auto !important;
}

.features-list {
    flex-grow: 0 !important;
    min-height: auto !important;
    height: auto !important;
}

.plan-cta {
    margin-top: 10px !important;
}

.pricing-grid {
    align-items: start !important;
}

/* =====================================
   FORCE REMOVE ALL WHITE SPACE
===================================== */
.pricing-grid {
    align-items: flex-start !important;
}

.pricing-card,
.pricing-card.popular {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: fit-content !important;
}

.features-list {
    flex-grow: unset !important;
    min-height: 0 !important;
    height: auto !important;
}

.plan-header {
    min-height: 0 !important;
    height: auto !important;
}

/* =====================================
   NUCLEAR OPTION - KILL ALL WHITE SPACE
===================================== */
section.pricing .pricing-grid {
    align-items: flex-start !important;
}

section.pricing .pricing-card,
section.pricing .pricing-card.popular,
section.pricing article.pricing-card {
    display: block !important;
    height: auto !important;
    min-height: unset !important;
    padding-bottom: 15px !important;
}

section.pricing .features-list,
section.pricing ul.features-list {
    flex-grow: unset !important;
    min-height: unset !important;
    height: auto !important;
    margin-bottom: 10px !important;
}

section.pricing .plan-header,
section.pricing header.plan-header {
    min-height: unset !important;
    height: auto !important;
}

section.pricing .plan-cta {
    margin-top: 10px !important;
}

/* =====================================
   FINAL ALIGNMENT - ALL ELEMENTS
===================================== */
section.pricing .pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: start !important;
}

section.pricing .pricing-card {
    display: grid !important;
    grid-template-rows: auto auto auto auto auto !important;
}

section.pricing .pricing-card.popular {
    padding-top: 25px !important;
}

section.pricing .plan-name {
    min-height: 24px !important;
}

section.pricing .plan-tagline {
    min-height: 20px !important;
}

section.pricing .plan-price {
    min-height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

section.pricing .features-list {
    min-height: 85px !important;
}

section.pricing .plan-cta {
    min-height: 45px !important;
}

/* =====================================
   PERFECT ALIGNMENT - ALL CARDS
===================================== */
section.pricing .pricing-card,
section.pricing .pricing-card.popular {
    padding: 20px 15px 15px 15px !important;
}

section.pricing .pricing-card.popular {
    padding-top: 20px !important;
    margin-top: 12px !important;
}

section.pricing .popular-badge {
    position: absolute !important;
    top: -12px !important;
}

/* Same height for all rows */
section.pricing .plan-name {
    height: 28px !important;
    margin-bottom: 5px !important;
}

section.pricing .plan-tagline {
    height: 18px !important;
    margin-bottom: 15px !important;
}

section.pricing .plan-price {
    height: 50px !important;
    margin-bottom: 15px !important;
}

section.pricing .features-list {
    height: 90px !important;
    margin-bottom: 10px !important;
}

section.pricing .plan-cta {
    height: 45px !important;
}

/* =====================================
   FIX PRO CARD ALIGNMENT WITH OTHERS
===================================== */
section.pricing .pricing-card.popular {
    margin-top: 15px !important;
    padding-top: 15px !important;
}

section.pricing .pricing-card.popular .plan-name {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* =====================================
   FIX PRO CARD - SAME SIZE AS OTHERS
===================================== */
section.pricing .pricing-card.popular {
    margin-top: 12px !important;
    padding-top: 20px !important;
}

section.pricing .pricing-card:not(.popular) {
    margin-top: 12px !important;
}

/* =====================================
   ALIGN BUTTONS - PRO CARD LOWER
===================================== */
section.pricing .pricing-card.popular .plan-cta {
    margin-top: 15px !important;
}

/* =====================================
   CREATORS TESTIMONIALS SECTION
===================================== */
.creators-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.creators-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.creators-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.creators-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.creators-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 40px;
}

.creators-subtitle strong {
    color: #ffd600;
}

.creators-carousel {
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.creators-carousel::-webkit-scrollbar {
    display: none;
}

.creators-track {
    display: flex;
    gap: 24px;
    padding: 0 20px;
    animation: scroll-creators 30s linear infinite;
}

.creators-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-creators {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.creator-card {
    flex: 0 0 320px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.creator-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

.creator-logo {
    flex-shrink: 0;
}

.creator-logo svg {
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.creator-type {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
}

.creator-testimonial {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

@media (max-width: 768px) {
    .creators-title { font-size: 1.8rem; }
    .creators-subtitle { font-size: 1rem; }
    .creator-card { flex: 0 0 280px; padding: 20px; }
    .creator-type { font-size: 1rem; }
    .creator-testimonial { font-size: 0.9rem; }
}

/* ===== FIX MOBILE MENU ===== */
@media (max-width: 768px) {
    .header {
        width: 100%;
        overflow: visible;
    }
    
    .header-container {
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        flex-shrink: 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-buttons {
        display: none;
    }
}

/* ===== FIX MOBILE MENU HAMBURGER ===== */
@media (max-width: 768px) {
    html, body {
        overflow-x: visible !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .header {
        width: 100% !important;
        overflow: visible !important;
        padding: 15px 0;
    }
    
    .header-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        box-sizing: border-box;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .nav-menu:not(.mobile-open) {
        display: none !important;
    }
    
    .header-buttons {
        display: none !important;
    }
}

/* ===== FIX: Hide mobile auth buttons on desktop ===== */
.mobile-auth-buttons {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-auth-buttons {
        display: flex !important;
        gap: 10px;
    }
    .header-buttons {
        display: none !important;
    }
}
