/* ========================================
   KEEPOSTING - CONSOLIDATED STYLESHEET
   ======================================== */
:root {
    --bg: #0f172a;
    --accent: #38bdf8;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --card: rgba(15, 23, 42, 0.7);
    --card-border: rgba(148, 163, 184, 0.2);
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: radial-gradient(circle at top, #1e293b, #0f172a 65%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar Styles */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

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

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    margin-left: 3rem;
}

.navbar-link {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.navbar-link:hover {
    color: var(--accent);
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

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

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-btn {
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 12px;
    padding: 0.7rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

.navbar-btn.secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(56, 189, 248, 0.3);
    box-shadow: none;
}

.navbar-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(56, 189, 248, 0.35);
}

.navbar-btn.secondary:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}

/* Account Dropdown */
.account-dropdown {
    position: relative;
}

.account-btn {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.account-btn:hover {
    border-color: var(--accent);
    background: rgba(56, 189, 248, 0.1);
}

.account-email {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-icon {
    font-size: 0.7rem;
    opacity: 0.7;
}

.account-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.account-menu-item {
    display: block;
    width: 100%;
    padding: 0.85rem 1.25rem;
    color: var(--text);
    text-decoration: none;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.account-menu-item:hover {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent);
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }
    
    .navbar-container {
        padding: 0 1rem;
    }
    
    .account-email {
        max-width: 100px;
    }
}

.hero {
    position: relative;
    padding: 2.5rem 6vw 4rem;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.25), rgba(56, 189, 248, 0));
    filter: blur(0);
    z-index: -2;
}

.hero::before {
    width: 20rem;
    height: 20rem;
    top: -10rem;
    right: -5rem;
}

.hero::after {
    width: 18rem;
    height: 18rem;
    bottom: -9rem;
    left: -4rem;
}

/* Old nav styles - replaced by new navbar component */
/* .nav, .brand, .cta removed - using .navbar instead */

.hero-content {
    max-width: 40rem;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin: 0 0 1.5rem;
    line-height: 1.15;
}

.hero-content p {
    margin: 0 0 2rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.hero-subtitle {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    max-width: 38rem;
}

.hero-note {
    margin-top: 1rem !important;
    font-size: 0.9rem !important;
    color: var(--accent) !important;
    font-weight: 500;
}

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

.actions button {
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.actions button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.primary {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0.75rem 1.5rem rgba(56, 189, 248, 0.25);
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 1.2rem 2rem rgba(56, 189, 248, 0.3);
}

.primary.large {
    padding: 1.2rem 3rem;
    font-size: 1.15rem;
    border-radius: 14px;
}

.secondary {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--card-border);
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.secondary:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.features {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    padding: 0 6vw 4rem;
}

.features article {
    padding: 2rem;
    border-radius: 18px;
    background: var(--card);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.features article:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.4);
}

.features h2 {
    margin: 0 0 0.8rem;
    font-size: 1.25rem;
}

.features p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================
   NEW LANDING PAGE SECTIONS
   ============================================ */

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--muted);
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 5rem 6vw;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card-large {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(16px);
}

.feature-card-large:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 12px 32px rgba(56, 189, 248, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card-large h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: var(--text);
}

.feature-card-large > p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-benefits li {
    padding: 0.6rem 0;
    color: var(--text);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.feature-benefits li:last-child {
    border-bottom: none;
}

.feature-benefits li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Use Cases Section */
.use-cases-section {
    padding: 5rem 6vw;
    background: rgba(15, 23, 42, 0.4);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.use-case-card {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}

.use-case-card h3 {
    font-size: 1.3rem;
    margin: 0 0 1rem;
    color: var(--text);
}

.use-case-card p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 6vw;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.3) 100%);
}

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

.price-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.price-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, var(--card) 50%);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}

.price-card.featured:hover {
    box-shadow: 0 16px 40px rgba(56, 189, 248, 0.3);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price-header {
    text-align: center;
    margin-bottom: 2rem;
}

.price-header h3 {
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
    color: var(--text);
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--muted);
    margin-top: 1.25rem;
}

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

.price-features li {
    padding: 0.75rem 0;
    color: var(--text);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.price-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.price-btn.primary {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.price-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(56, 189, 248, 0.4);
}

.price-btn.secondary {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.price-btn.secondary:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--accent);
}

/* CTA Section */
.cta-section {
    padding: 6rem 6vw;
    text-align: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-top: 1px solid rgba(56, 189, 248, 0.2);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.cta-section h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.cta-section > p {
    font-size: 1.15rem;
    color: var(--muted);
    margin: 0 0 2.5rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-section button {
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.35) !important;
}

.cta-section button:hover {
    box-shadow: 0 12px 32px rgba(56, 189, 248, 0.45) !important;
    transform: translateY(-3px);
}

.cta-note {
    margin-top: 1.5rem !important;
    font-size: 0.9rem !important;
    color: var(--muted) !important;
}

/* ============================================
   FAQs SECTION
   ============================================ */

.faqs-section {
    padding: 5rem 6vw;
    background: rgba(15, 23, 42, 0.4);
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(56, 189, 248, 0.4);
}

.faq-item.open {
    border-color: var(--accent);
}

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

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

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    min-width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-page {
    min-height: calc(100vh - var(--navbar-height, 80px));
    padding: 4rem 6vw;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
}

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

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin: 0 0 1rem;
    color: var(--text);
}

.contact-header p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    height: fit-content;
}

.contact-info h2 {
    margin: 0 0 2rem;
    font-size: 1.5rem;
    color: var(--text);
}

.info-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.info-icon {
    font-size: 2rem;
    min-width: 40px;
}

.info-details h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--text);
}

.info-details p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.social-connect {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.social-connect h3 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: var(--text);
}

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

.social-icon {
    display: inline-block;
    padding: 0.75rem 1rem;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 8px;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: var(--accent);
    transform: translateX(4px);
}

.contact-form-container {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-form-container h2 {
    margin: 0 0 2rem;
    font-size: 1.5rem;
    color: var(--text);
}

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

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Responsive Design for Contact Page */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-page {
        padding: 3rem 4vw;
    }
    
    .faqs-section {
        padding: 3.5rem 4vw;
    }
}

@media (max-width: 640px) {
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-info,
    .contact-form-container {
        padding: 2rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }
}

/* Responsive Design for New Sections */
@media (max-width: 968px) {
    .features-grid,
    .use-cases-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .features-section,
    .use-cases-section,
    .pricing-section,
    .cta-section {
        padding: 3.5rem 4vw;
    }
}

@media (max-width: 640px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .feature-card-large {
        padding: 2rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
}

.footer {
    margin-top: auto;
    padding: 2rem 6vw 2.5rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}

/* New Footer Component Styles */
.footer-main {
    margin-top: auto;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 3rem 0 1.5rem;
}

.footer-nav {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    padding-bottom: 1.5rem;
}

.footer-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.footer-nav a:hover {
    color: var(--accent);
    background: rgba(56, 189, 248, 0.1);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-block;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.footer-social-link:hover {
    color: var(--accent);
}

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

.footer-copyright {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 1.5rem 1.5rem 3rem;
    }

    .nav {
        margin-bottom: 3rem;
    }

    .actions {
        width: 100%;
    }

    .actions button {
        flex: 1 1 auto;
    }
}

/* Auth pages */

.auth-body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: radial-gradient(circle at top, #1e293b, #0f172a 70%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    place-items: center;
    padding: clamp(2rem, 5vw, 3rem);
    width: 100%;
}

.dual-layout {
    justify-self: center;
    width: min(1100px, 95%);
    margin: 0 auto;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    background: rgba(15, 23, 42, 0.72);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 1.8rem 3.5rem rgba(15, 23, 42, 0.45);
}

.auth-panel {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.75));
    padding: clamp(2.25rem, 4vw, 3.25rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-card {
    width: min(420px, 100%);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.alert.error {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.alert.success {
    background: rgba(34, 197, 94, 0.15);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.auth-brand {
    text-decoration: none;
    color: var(--accent);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    align-self: flex-start;
    transition: color 0.2s ease, transform 0.2s ease;
}

.auth-brand:hover {
    color: rgba(56, 189, 248, 0.75);
    transform: translateY(-1px);
}

.panel-header h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.9rem, 3vw, 2.3rem);
}

.panel-header p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.auth-buttons {
    display: grid;
    gap: 1rem;
}

.toggle-btn {
    border: none;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.toggle-btn:focus-visible {
    outline: 2px solid rgba(129, 140, 248, 0.65);
    outline-offset: 4px;
}

.primary-action {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(129, 140, 248, 0.9));
    color: var(--bg);
    box-shadow: 0 1.2rem 2.6rem rgba(56, 189, 248, 0.3);
}

.primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 1.5rem 3rem rgba(56, 189, 248, 0.35);
}

.secondary-action {
    background: rgba(15, 23, 42, 0.55);
    color: var(--text);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.secondary-action:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 1.1rem 2.4rem rgba(56, 189, 248, 0.2);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field-group.has-error input {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

.field-error {
    color: #fca5a5;
    font-size: 0.85rem;
}

.auth-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.auth-form input {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: rgba(15, 23, 42, 0.5);
    color: var(--text);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input::placeholder {
    color: rgba(148, 163, 184, 0.7);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.auth-primary {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.95rem 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(129, 140, 248, 0.9));
    border: 1px solid rgba(56, 189, 248, 0.65);
    color: var(--bg);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1.1rem 2.4rem rgba(56, 189, 248, 0.28);
}

.auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 1.4rem 2.8rem rgba(56, 189, 248, 0.35);
}

.auth-primary:focus-visible {
    outline: 2px solid rgba(129, 140, 248, 0.6);
    outline-offset: 4px;
}

.auth-switch {
    margin: 1rem 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 0.95rem;
}

.auth-switch a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.link-button {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}

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

.plan-options {
    display: grid;
    gap: 1rem;
}

.plan-options label {
    cursor: pointer;
    display: block;
}

.plan-options input[type="radio"] {
    display: none;
}

.plan-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan-options label.selected .plan-card,
.plan-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 1rem 2.2rem rgba(56, 189, 248, 0.25);
}

.feature-panel {
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.35), rgba(15, 23, 42, 0.85) 55%);
    padding: clamp(2.4rem, 5vw, 3.8rem);
    border-left: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
}

.feature-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 2.6rem);
}

.feature-lede {
    margin: 0;
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.6;
    max-width: 28rem;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature-card {
    padding: 1.6rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(12px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.45);
}

.feature-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
}

.feature-card p {
    margin: 0;
    color: rgba(148, 163, 184, 0.85);
    line-height: 1.6;
}

.plan-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2.5rem, 6vw, 4rem);
}

.plan-panel {
    width: min(720px, 100%);
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 28px;
    padding: clamp(2rem, 5vw, 3rem);
    box-shadow: 0 2.2rem 4rem rgba(15, 23, 42, 0.55);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.plan-header h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.plan-subtitle {
    margin: 0;
    color: rgba(148, 163, 184, 0.85);
    font-size: 1rem;
    line-height: 1.6;
}

.plan-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.plan-price {
    display: block;
    margin-top: 0.6rem;
    font-weight: 700;
    color: var(--accent);
    font-size: 0.95rem;
}

.plan-action {
    align-self: flex-end;
    min-width: 11rem;
}

.is-hidden {
    display: none !important;
}

@media (max-width: 900px) {
    .dual-layout {
        grid-template-columns: 1fr;
    }

    .feature-panel {
        border-left: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.2);
    }

    .auth-panel {
        padding: clamp(2rem, 6vw, 2.5rem);
    }
}

@media (min-width: 520px) {
    .auth-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .panel-card {
        gap: 1.5rem;
    }

    .plan-panel {
        padding: clamp(1.6rem, 6vw, 2.5rem);
    }
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    z-index: 50;
}

.modal {
    width: min(440px, 100%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 24px;
    padding: 2rem 2.25rem;
    box-shadow: 0 2rem 3.5rem rgba(15, 23, 42, 0.55);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal h2 {
    margin: 0;
    font-size: 1.6rem;
}

.card-element {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 1rem;
}

.billing-email {
    color: var(--muted);
    font-size: 0.85rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.modal-actions .secondary {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--text);
    border-radius: 12px;
    padding: 0.8rem 1.6rem;
    cursor: pointer;
    font-weight: 600;
}

.modal-actions .secondary:hover {
    border-color: var(--accent);
}

.modal-actions .auth-primary {
    padding: 0.8rem 1.6rem;
}

/* ============================================
   DASHBOARD LAYOUT
   ============================================ */

.dashboard-body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: radial-gradient(circle at top, #1e293b, #0f172a 70%);
    color: var(--text);
}

.dashboard-shell {
    min-height: 100vh;
    display: flex;
}

/* ============================================
   SIDEBAR
   ============================================ */

.dashboard-sidebar {
    width: 280px;
    background: rgba(15, 23, 42, 0.8);
    border-right: 1px solid rgba(148, 163, 184, 0.2);
    padding: 2rem 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    margin-bottom: 1rem;
}

.sidebar-header h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 1rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.sidebar-item:hover {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
}

.sidebar-item.active {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent);
    font-weight: 600;
}

.sidebar-item .item-icon {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}

.sidebar-item .item-label {
    flex: 1;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

.dashboard-main {
    flex: 1;
    padding: 2.5rem 3rem;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.3);
}

.dashboard-section {
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-section h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

.section-subtitle {
    color: var(--muted);
    font-size: 1rem;
    margin: 0 0 2rem;
}

/* ============================================
   DASHBOARD STATS
   ============================================ */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.4);
    border-color: rgba(56, 189, 248, 0.4);
}

.stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.15);
    border-radius: 12px;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   QUICK ACTIONS
   ============================================ */

.quick-actions {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
}

.quick-actions h2 {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(59, 130, 246, 0.25));
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(56, 189, 248, 0.2);
}

.action-icon {
    font-size: 1.5rem;
}

/* ============================================
   FEATURE PLACEHOLDER
   ============================================ */

.feature-placeholder {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.feature-placeholder h3 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
}

.feature-placeholder p {
    color: var(--muted);
    margin: 0 auto 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 500px;
    text-align: left;
}

.feature-list li {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(56, 189, 248, 0.08);
    border-radius: 8px;
    color: var(--text);
    border-left: 3px solid var(--accent);
}

/* ============================================
   CONNECTIONS GRID
   ============================================ */

.connection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.connection-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.connection-card:not(.disabled):hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.4);
}

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

.connection-logo {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.connection-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

/* ============================================
   SUBSCRIPTION INFO
   ============================================ */

.subscription-info {
    display: grid;
    gap: 2rem;
}

.current-plan h2,
.billing-section h2 {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

.plan-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.plan-card.active {
    border-color: var(--accent);
    background: rgba(56, 189, 248, 0.08);
}

.plan-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.plan-card h3 {
    margin: 0.5rem 0;
    font-size: 1.5rem;
    color: var(--text);
}

.plan-status {
    color: #10b981;
    font-weight: 600;
    margin: 0.5rem 0 0;
}

.info-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 2rem;
}

.info-card p {
    margin: 0 0 1rem;
    color: var(--text);
    line-height: 1.8;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-card .note {
    color: var(--muted);
    font-style: italic;
    padding: 1rem;
    background: rgba(56, 189, 248, 0.08);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    margin-top: 1.5rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    .dashboard-shell {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0 1rem 1rem;
    }

    .sidebar-item {
        white-space: nowrap;
        min-width: max-content;
    }

    .dashboard-main {
        padding: 2rem 1.5rem;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .dashboard-section h1 {
        font-size: 1.5rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

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

    .feature-placeholder {
        padding: 2rem 1.5rem;
    }

    .placeholder-icon {
        font-size: 3rem;
    }
}

/* Legacy dashboard styles - can be removed if not used */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 6vw;
    background: rgba(15, 23, 42, 0.7);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.dashboard-brand {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-user {
    color: var(--muted);
    font-size: 0.95rem;
}

.dashboard-card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    max-width: 32rem;
    text-align: center;
    box-shadow: 0 1.8rem 3.2rem rgba(15, 23, 42, 0.45);
}

.dashboard-card h1 {
    margin: 0 0 1rem;
}

.dashboard-card p {
    margin: 0;
    color: rgba(226, 232, 240, 0.85);
    line-height: 1.6;
}

/* ============================================
   LANDING PAGE SECTION FIXES
   ============================================ */

/* Pricing Section */
.pricing {
    padding: 5rem 6vw;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.3) 100%);
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.plan {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(16px);
}

.plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.plan-highlight {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, var(--card) 50%);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}

.plan-highlight:hover {
    box-shadow: 0 16px 40px rgba(56, 189, 248, 0.3);
}

.plan .plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan h3 {
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
    color: var(--text);
    text-align: center;
}

.plan-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.plan-period {
    font-size: 1rem;
    color: var(--muted);
    align-self: flex-end;
    margin-bottom: 0.75rem;
}

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

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

.check-icon {
    color: var(--accent);
    font-size: 1.2rem;
}

.plan button {
    margin-top: auto;
}

.cta-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    margin: 2rem 0 0;
}

/* Use Cases Section */
.use-cases {
    padding: 5rem 6vw;
    background: rgba(15, 23, 42, 0.4);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.use-case-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.use-case-card li {
    padding: 0.5rem 0;
    color: var(--muted);
    line-height: 1.6;
}

/* FAQs Section */
.faqs {
    padding: 5rem 6vw;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: var(--card);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

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

.faq-question:hover {
    background: rgba(56, 189, 248, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.2s;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--muted);
    line-height: 1.6;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-show-more {
    text-align: center;
    margin-top: 2rem;
}

.faq-show-more button {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 6vw;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.final-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    margin: 0 0 2.5rem;
    line-height: 1.6;
}

.final-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.final-cta-actions button.large {
    padding: 1rem 3rem;
    font-size: 1.125rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.final-cta-actions button.large:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.final-cta-note {
    font-size: 0.875rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.final-cta-note svg {
    color: #4ade80;
}

/* Contact Section */
.contact {
    padding: 5rem 6vw;
    background: rgba(15, 23, 42, 0.5);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form label span {
    font-weight: 600;
    color: var(--text);
}

.contact-form input,
.contact-form textarea {
    padding: 0.875rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: rgba(15, 23, 42, 0.6);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    backdrop-filter: blur(16px);
}

.info-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

.info-card strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.info-card p {
    margin: 0;
    color: var(--muted);
}

.success-message {
    padding: 1.5rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: #4ade80;
    text-align: center;
    font-weight: 600;
}

/* Contact Page (Dedicated) */
.contact-page {
    min-height: calc(100vh - 80px);
    padding: 4rem 6vw 6rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.contact-hero {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--card-border);
    padding: 1.5rem 6vw 1rem;
    margin-top: auto;
}

.footer-nav {
    max-width: 1200px;
    margin: 0 auto 1rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

.footer-nav a:hover {
    color: var(--accent);
    background: rgba(56, 189, 248, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    color: var(--accent);
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.footer-brand p {
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-column h4 {
    color: var(--text);
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
    font-size: 0.875rem;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-column .footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 1rem 0 0.5rem;
}

.footer-social a {
    font-size: 1.5rem;
    color: var(--muted);
    transition: all 0.2s;
}

.footer-social a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
    color: var(--muted);
    font-size: 0.85rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
}

/* Dashboard Page - Navbar fixed, Footer full width over sidebar */
.dashboard-page .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.dashboard-page .footer {
    width: 100%;
    margin-left: 0;
    position: relative;
    z-index: 100; /* Higher than sidebar to appear on top */
}

/* Add padding to dashboard layout to account for fixed navbar */
.dashboard-page .dashboard-layout {
    margin-top: 80px; /* Height of navbar */
}

/* Account Dropdown */
.account-dropdown {
    position: relative;
}

.account-btn {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.account-btn:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--accent);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    backdrop-filter: blur(16px);
}

.dropdown-menu button {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 0.75rem 1rem;
    text-align: left;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-menu button:hover {
    background: rgba(56, 189, 248, 0.1);
}

/* Welcome View */
.welcome-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.welcome-card h1 {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 0 1rem;
}

.welcome-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 1.1rem;
    margin: 0 0 3rem;
}

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

.welcome-plan {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(16px);
}

.welcome-plan:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.welcome-plan-highlight {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, var(--card) 50%);
}

.welcome-plan h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

.welcome-plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.welcome-plan-desc {
    color: var(--muted);
    margin: 0 0 1.5rem;
}

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

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .welcome-plans {
        grid-template-columns: 1fr;
    }
    
    .navbar-menu {
        display: none;
    }
}

/* Auth Pages (Login, Signup, Verify) */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.auth-card {
    position: relative;
    z-index: 1;
    max-width: 480px;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.auth-card h1 {
    font-size: 2rem;
    margin: 0 0 0.5rem;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--muted);
    margin: 0 0 2rem;
    font-size: 1rem;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-card label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-card label span {
    font-weight: 600;
    color: var(--text);
    font-size: 0.875rem;
}

.auth-card input {
    padding: 0.875rem;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: rgba(15, 23, 42, 0.6);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.auth-card input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.captcha-container {
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.captcha-container:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(15, 23, 42, 0.8);
}

.h-captcha {
    transform: scale(1);
    transform-origin: center;
}

/* Override hCaptcha iframe styles to match theme */
.h-captcha > iframe {
    border-radius: 8px;
}

.auth-card input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-card button[type="submit"] {
    padding: 1rem;
    font-size: 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 0.5rem;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.875rem;
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.25rem;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: #8b5cf6;
}

/* Social Auth Buttons */
.social-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.social-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-auth-btn:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.social-auth-btn:active {
    transform: translateY(0);
}

.social-auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.social-auth-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Google Button */
.google-btn {
    border-color: #4285F4;
}

.google-btn:hover {
    background: rgba(66, 133, 244, 0.08);
    border-color: #4285F4;
}

/* Facebook Button */
.facebook-btn {
    border-color: #1877F2;
}

.facebook-btn:hover {
    background: rgba(24, 119, 242, 0.08);
    border-color: #1877F2;
}

/* Email Button */
.email-btn {
    border-color: var(--primary);
    background: var(--gradient-2);
    color: white;
    border: none;
}

.email-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.divider span {
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Terms */
.auth-terms {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.5;
}

.auth-terms a {
    color: var(--primary);
    text-decoration: none;
}

.auth-terms a:hover {
    text-decoration: underline;
}

/* Back Button */
.back-button:hover {
    opacity: 0.8;
}

.error-message {
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #f87171;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.success-message {
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: #22c55e;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Verify Code Input */
.verify-code-input {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.verify-code-input input {
    width: 3rem;
    height: 3.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0;
}

.auth-info {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.auth-info p {
    margin: 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.auth-info strong {
    color: var(--accent);
}

.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resend-link {
    text-align: center;
    color: var(--muted);
    font-size: 0.875rem;
}

.resend-link button {
    background: transparent;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    padding: 0;
}

.resend-link button:hover {
    color: #8b5cf6;
}

.resend-link button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-card h1 {
        font-size: 1.75rem;
    }
}

/* Trial Banner Styles */
.trial-banner {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* New Trial Banner CTA (horizontal layout) */
.trial-banner-cta {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 16px;
    padding: 0;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

.trial-banner-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.trial-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.trial-banner-left {
    flex: 1;
    text-align: left;
}

.trial-banner-left h2 {
    font-size: 1.75rem;
    margin: 0 0 0.75rem 0;
    color: white;
    font-weight: 700;
}

.trial-banner-left > p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 1rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.trial-banner-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trial-banner-features span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.trial-banner-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.btn-trial-large {
    background: white;
    color: #6366f1;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.btn-trial-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: #f9fafb;
}

.btn-trial-large:active {
    transform: translateY(-1px);
}

.trial-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin: 0;
    font-style: italic;
}

/* Plan Divider */
.plan-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.plan-divider::before,
.plan-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 100px);
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

.plan-divider::before {
    left: 0;
}

.plan-divider::after {
    right: 0;
}

.plan-divider span {
    background: var(--bg);
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.trial-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

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

.trial-content {
    position: relative;
    z-index: 1;
}

.trial-content h2 {
    font-size: 1.75rem;
    margin: 0 0 0.5rem 0;
    color: white;
    font-weight: 700;
}

.trial-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.25rem 0;
    font-size: 0.95rem;
}

.btn-trial {
    background: white;
    color: #8b5cf6;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f9fafb;
}

.btn-trial:active {
    transform: translateY(0);
}

/* Payment Form Styles */
.payment-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.payment-card h2 {
    margin: 0 0 1.5rem 0;
    color: var(--text);
    font-size: 1.75rem;
    text-align: center;
}

.payment-summary {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.payment-summary h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: var(--accent);
}

.payment-summary p {
    margin: 0.25rem 0;
    color: var(--text);
    font-size: 0.95rem;
}

.payment-summary .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-top: 0.5rem;
}

.payment-notice {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    text-align: center;
}

.payment-notice p {
    margin: 0;
    color: var(--muted);
    font-size: 0.875rem;
}

.payment-notice .secure-text {
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

#payment-element {
    margin: 1.5rem 0;
}

.payment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-back {
    flex: 1;
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text);
    padding: 0.875rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-back:hover {
    background: rgba(148, 163, 184, 0.1);
    border-color: var(--muted);
}

.btn-submit-payment {
    flex: 2;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    border: none;
    color: white;
    padding: 0.875rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-submit-payment:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

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

@media (max-width: 768px) {
    .payment-card {
        padding: 1.5rem;
    }
    
    .trial-banner {
        padding: 1rem 1.5rem;
    }
    
    .trial-content h2 {
        font-size: 1.5rem;
    }
    
    /* New Trial Banner CTA - Mobile */
    .trial-banner-content {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .trial-banner-left {
        text-align: center;
    }
    
    .trial-banner-left h2 {
        font-size: 1.5rem;
    }
    
    .trial-banner-features {
        justify-content: center;
    }
    
    .btn-trial-large {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .payment-actions {
        flex-direction: column;
    }
    
    .btn-back,
    .btn-submit-payment {
        flex: 1;
    }
}

/* Modal Alert Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.15s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f1729 100%);
    border: 2px solid var(--accent);
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(56, 189, 248, 0.2);
    animation: scaleIn 0.2s ease-out;
    text-align: center;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 2rem 2rem 1rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.modal-body {
    padding: 0.5rem 2rem 2rem;
}

.modal-body p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.modal-footer {
    padding: 0 2rem 2rem;
    display: flex;
    justify-content: center;
}

.modal-btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.875rem 3rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
    min-width: 120px;
}

.modal-btn-primary:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

.modal-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);
}

/* Modern Dashboard Styles */
.dashboard-main {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    margin: 0;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card-modern {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(56, 189, 248, 0.2);
    border-color: var(--accent);
}

.stat-card-modern:hover::before {
    opacity: 1;
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.stat-icon-modern {
    width: 48px;
    height: 48px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-trend {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.stat-trend.down {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.stat-value-modern {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.25rem;
    line-height: 1;
}

.stat-label-modern {
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0;
}

.stat-subtitle {
    font-size: 0.8rem;
    color: var(--muted);
    opacity: 0.7;
    margin-top: 0.25rem;
    display: block;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
}

.dashboard-card-full {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.card-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.card-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.card-link:hover {
    opacity: 0.8;
}

.quick-actions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.action-btn:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--accent);
    transform: translateX(4px);
}

.action-btn.action-primary {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(139, 92, 246, 0.1));
    border-color: rgba(56, 189, 248, 0.4);
}

.action-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.action-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.action-text strong {
    color: var(--text);
    font-size: 1rem;
}

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

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.activity-item:hover {
    background: rgba(56, 189, 248, 0.05);
}

.activity-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content p {
    margin: 0 0 0.25rem;
    color: var(--text);
    font-size: 0.95rem;
}

.activity-time {
    color: var(--muted);
    font-size: 0.8rem;
}

.upcoming-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(56, 189, 248, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.post-preview:hover {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.3);
}

.post-preview-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.post-preview-content {
    flex: 1;
}

.post-preview-content h4 {
    margin: 0 0 0.5rem;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 600;
}

.post-preview-content p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.btn-text {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-text:hover {
    background: rgba(56, 189, 248, 0.1);
}

@media (max-width: 968px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 640px) {
    .dashboard-main {
        padding: 1rem;
    }
    
    .dashboard-header h1 {
        font-size: 1.75rem;
    }
    
    .stat-value-modern {
        font-size: 1.75rem;
    }
}

/* ============================================
   DASHBOARD LAYOUT (SIDEBAR + CONTENT)
   ============================================ */

.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 80px); /* Viewport height minus navbar */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.sidebar {
    width: 280px;
    background: rgba(15, 23, 42, 0.95);
    border-right: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: calc(100vh - 80px); /* Full height minus navbar */
    overflow: hidden; /* No scrolling */
    z-index: 50;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.sidebar-greeting {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    display: block;
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(56, 189, 248, 0.08);
    color: var(--text);
}

.sidebar-link.active {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0.05) 100%);
    color: var(--accent);
    font-weight: 600;
    border-left: 3px solid var(--accent);
}

.content-area {
    flex: 1;
    margin-left: 280px; /* Offset by sidebar width */
    padding: 2.5rem 3rem;
    min-height: calc(100vh - 80px); /* At least viewport height minus navbar */
}

/* Responsive Dashboard Layout */
@media (max-width: 768px) {
    .sidebar {
        width: 240px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .content-area {
        margin-left: 0;
        padding: 1.5rem 1rem;
    }
}




/* ========================================
   MODERN ENHANCEMENTS
   ======================================== */

/* ========================================
   MODERN ENHANCEMENTS - KeePosting
   Add this to enhance the existing styles.css
   ======================================== */

/* Modern Color Palette */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: rgba(148, 163, 184, 0.2);
    --card-bg: rgba(30, 41, 59, 0.5);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(to right, #6366f1, #8b5cf6);
    --gradient-3: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.8);
    }
}

/* Enhanced Background */
body {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #020617 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Enhanced Hero Section */
.hero {
    position: relative;
    padding: 8rem 2rem 6rem;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    margin: 0 0 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.hero-note span {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Enhanced Buttons */
.actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

button.primary {
    background: var(--gradient-2);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

button.primary:hover::before {
    left: 100%;
}

button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.6);
}

button.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

button.secondary:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

/* Enhanced Feature Cards */
.features-grid {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin: 1rem 0 0.75rem;
    color: var(--text-primary);
}

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

.feature-icon {
    font-size: 2.5rem;
    display: inline-block;
    padding: 1rem;
    background: var(--gradient-2);
    border-radius: 12px;
    line-height: 1;
}

/* Enhanced Pricing Cards */
.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-2);
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.25);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 1rem 0;
}

.price span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Stats/Trust Indicators */
.stats-section {
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(99, 102, 241, 0.05);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.stat-item {
    animation: fadeInUp 0.6s ease-out both;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.6s ease-out;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin: 0 0 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    animation: shimmer 2s infinite;
    background: linear-gradient(to right, rgba(255,255,255,0.05) 8%, rgba(255,255,255,0.15) 18%, rgba(255,255,255,0.05) 33%);
    background-size: 1000px 100%;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 1.5rem 4rem;
    }
    
    .actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    button.primary,
    button.secondary {
        width: 100%;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f8fafc;
        --text-secondary: #cbd5e1;
    }
}


/* ========================================
   STATS & PRICING FIXES
   ======================================== */

/* CSS FIXES FOR STATS AND PRICING SECTIONS */

/* ========================================
   STATS SECTION FIXES
   ======================================== */

.stats-section {
    padding: 5rem 2rem;
    text-align: center;
    background: rgba(99, 102, 241, 0.05);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    margin: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 2rem;
}

.stat-item {
    animation: fadeInUp 0.6s ease-out both;
    text-align: center;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(to right, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    display: block;
}

/* Responsive Stats */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .stats-section {
        padding: 3rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

/* ========================================
   PRICING SECTION FIXES
   ======================================== */

.pricing-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.3) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #f8fafc;
}

.section-header p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.price-card,
.pricing-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    height: 100%;
}

.price-card:hover,
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.25);
    border-color: #6366f1;
}

.price-card.featured,
.pricing-card.featured {
    border: 2px solid #6366f1;
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    background: rgba(30, 41, 59, 0.7);
}

.price-card.featured::before,
.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, #6366f1, #8b5cf6);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.price-card h3,
.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

.price,
.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 1rem 0 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price span,
.pricing-card .price span {
    font-size: 1.2rem;
    font-weight: 400;
    color: #94a3b8;
}

.price-card ul,
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    flex: 1;
}

.price-card ul li,
.pricing-card ul li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.price-card ul li::before,
.pricing-card ul li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
    font-weight: 700;
    flex-shrink: 0;
}

.price-card .btn,
.pricing-card .btn {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    margin-top: auto;
}

.price-card .btn-primary,
.pricing-card .btn-primary {
    background: linear-gradient(to right, #6366f1, #8b5cf6);
    color: white;
}

.price-card .btn-primary:hover,
.pricing-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.price-card .btn-secondary,
.pricing-card .btn-secondary {
    background: rgba(148, 163, 184, 0.1);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.price-card .btn-secondary:hover,
.pricing-card .btn-secondary:hover {
    background: rgba(148, 163, 184, 0.2);
    border-color: rgba(148, 163, 184, 0.3);
}

/* Responsive Pricing */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .price-card.featured,
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 640px) {
    .pricing-section {
        padding: 3rem 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .price-card,
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .price,
    .pricing-card .price {
        font-size: 2.5rem;
    }
}

/* Trial Badge */
.trial-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.trial-badge::before {
    content: '✨';
    font-size: 1.2rem;
}

/* ========================================
   CUSTOM MODAL STYLES
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-container {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: slideIn 0.3s ease-out;
}

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

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.modal-icon.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.modal-icon.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.modal-icon.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.modal-icon.info {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}

.modal-message {
    color: #e2e8f0;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.6;
    max-width: 100%;
    word-wrap: break-word;
}

.modal-button {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
    min-width: 120px;
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.modal-button:active {
    transform: translateY(0);
}

