/* ===== Base Styles ===== */
:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #4cc9f0;
    --dark: #1b263b;
    --light: #f8f9fa;
    --text: #212529;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
}

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

/* ===== Header Styles ===== */
.header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    min-height: 60px;
}

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

.logo-container {
    width: 180px; /* header logo block width */
    height: 64px; /* set header logo lane height */
    display: flex;
    align-items: center; /* vertical centering */
    overflow: hidden; /* guard against tall images */
}

.logo-image {
    width: auto;          /* maintain intrinsic width */
    height: 100%;         /* fit container height */
    max-height: 64px;     /* match container */
    max-width: 100%;      /* prevent overflow to the right */
    transition: transform 0.3s;
    object-fit: contain;  /* scale without cropping */
    display: block;
}

/* ===== Navigation Styles ===== */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
}

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

/* ===== Button Styles ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login {
    color: var(--text);
    text-decoration: none;
    padding: 8px 16px;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .auth-buttons {
        gap: 8px;
    }

    .btn-login {
        border: 1px solid var(--text);
        border-radius: 5px;
        padding: 5px 10px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .auth-buttons .btn-primary {
        padding: 5px 10px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
}

/* Very small screens */
@media (max-width: 375px) {
    .btn-login,
    .auth-buttons .btn-primary {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

/* ===== Hero Section ===== */
.hero {
    /* reduce bottom spacing so following sections sit closer */
    padding: 180px 0 20px;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero h1 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 400;
}

.hero h3 {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

/* Platform section spacing (top padding so blocks don't butt up to previous content) */
.platform-section {
    /* tightened spacing to reduce gap with main content */
    padding-top: 24px;
    padding-bottom: 12px;
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 80px 0;
    background-color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    min-height: 400px; /* Adjust this value based on your content */
}

.pricing-card .btn {
    width: 80%; /* Reduced from calc(100% - 40px) */
    max-width: 200px; /* Add maximum width */
    justify-content: center;
    margin: auto auto 0; /* Centers horizontally and pushes to bottom */
    text-align: center;
    padding: 8px 16px; /* Slightly smaller padding */
    font-size: 0.95rem; /* Slightly smaller font */
}

/* If you have enterprise specific buttons */
.enterprise .btn {
    padding: 8px 16px;
    font-size: 0.95rem;
    width: 80%;
    max-width: 200px;
    margin: auto auto 0;
}

/* Ensure pricing card maintains flex layout */
.pricing-card {
    display: flex;
    flex-direction: column;
    min-height: 400px; /* Adjust this value based on your content */
    padding: 30px;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .pricing-card .btn,
    .enterprise .btn {
        width: 70%;
        padding: 8px 12px;
    }
}

    /* Generic card styles for platform sections */
    .api-grid.concise {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
        margin-top: 18px;
    }

    .card {
        background: white;
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(17,24,39,0.06);
        border: 1px solid rgba(0,0,0,0.04);
        overflow: hidden;
        transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(17,24,39,0.08);
    }

    .card-content {
        padding: 20px 22px;
    }

    .card h4 {
        margin-bottom: 8px;
        color: var(--dark);
    }

    .card ul {
        margin-left: 18px;
    }

    @media (max-width: 600px) {
        .hero { padding-top: 140px; }
        .api-grid.concise { grid-template-columns: 1fr; }
    }

    /* Launch meta badge */
    .launch-meta {
        margin-top: 10px;
    }
    .launch-badge {
        display: inline-block;
        background: linear-gradient(90deg, rgba(67,97,238,0.08), rgba(76,201,240,0.06));
        color: var(--primary);
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 0.9rem;
        border: 1px solid rgba(67,97,238,0.12);
    }

    /* Case studies layout */
    .case-studies-section {
        padding: 50px 0;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    }

    .case-study-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 18px;
        margin-top: 16px;
    }

    .case-study-card {
        background: white;
        border-radius: 10px;
        padding: 18px;
        box-shadow: 0 8px 20px rgba(17,24,39,0.04);
        border: 1px solid rgba(0,0,0,0.04);
    }

    .case-head h3 { margin: 0 0 6px; }
    .case-tag { color: var(--primary); font-weight:700; font-size: 0.95rem; margin: 6px 0 8px; }

    .digest-head h4 { margin: 0 0 8px; }

    .lead-muted {
        color: var(--gray);
        margin-top: 6px;
    }

    .creative-digest {
        margin-top: 28px;
    }

    .digest-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
        margin-top: 14px;
    }

    .digest-card {
        background: white;
        border-radius: 10px;
        padding: 16px;
        border: 1px solid rgba(0,0,0,0.04);
        box-shadow: 0 6px 18px rgba(17,24,39,0.03);
    }

    .digest-card h4 { margin-bottom: 8px; }

    @media (max-width: 800px) {
        .digest-grid { grid-template-columns: 1fr; }
    }

/* ===== Resources Section ===== */
.resources-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 80px 2rem;
    background-color: var(--light);
    position: relative;
    box-sizing: border-box;
}

.coming-soon {
    max-width: 600px;
    width: 90%;
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    transform: translateY(-30px);
}

.coming-soon i {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 3.5rem;
}

.coming-soon h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.coming-soon p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* ===== Footer Styles ===== */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer-content {
    line-height: 1.8;
}

/* Footer logo mark */
.footer-logo {
    height: 48px;
    width: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 12px; /* rounded corners per design */
}

/* ===== Global Header Nav Sizing (match Home) ===== */
.header .main-nav ul { gap: 22px; }
.header .main-nav a { font-size: 18px; font-weight: 600; line-height: 1.2; }

@media (max-width: 768px) {
  .header .main-nav a { font-size: 16px; }
}

@media (max-width: 480px) {
  .header .main-nav a { font-size: 15px; }
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
    .header {
        min-height: 50px; /* Reduced from 120px */
        padding: 8px 0;
    }

    .header .container {
        flex-direction: row; /* Changed from column */
        justify-content: flex-end; /* Align items to the right */
        gap: 15px;
        height: auto;
    }

    .logo-container {
        display: none; /* Hide logo on mobile */
    }

    .main-nav {
        width: auto;
    }

    .main-nav ul {
        justify-content: flex-start;
        gap: 12px;
        margin: 0;
    }

    .main-nav a {
        font-size: 0.8rem; /* Smaller font */
    }

    .auth-buttons {
        margin: 0;
        gap: 8px; /* Reduced gap between buttons */
    }

    .btn-login {
        border: 1px solid var(--text); /* Add border to login button */
        border-radius: 5px;
        padding: 5px 10px; /* Smaller padding */
        font-size: 0.8rem;
        white-space: nowrap; /* Prevent text wrapping */
    }

    .auth-buttons .btn-primary {
        padding: 5px 10px; /* Smaller padding for Get Started */
        font-size: 0.8rem;
        min-width: auto; /* Remove any minimum width */
        white-space: nowrap; /* Prevent text wrapping */
    }

    /* Hover states for mobile */
    .btn-login:hover {
        background-color: var(--light);
    }

    /* Adjust main content padding to prevent header overlap */
    .main-content,
    .pricing,
    .features-section,
    .hero,
    .legal-container {
        padding-top: 70px; /* Increased to prevent header overlap */
    }

    /* Specific adjustment for pricing page */
    .pricing .section-title {
        margin-top: 20px;
    }
}

/* Even smaller adjustments for very small screens */
@media (max-width: 375px) {
    .header {
        min-height: 45px;
    }

    .main-nav a {
        font-size: 0.75rem;
    }

    .auth-buttons .btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .auth-buttons {
        gap: 6px;
    }

    .btn-login {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .auth-buttons .btn-primary {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

/* Safe area insets for notched phones */
@supports (padding: max(0px)) {
    .header {
        padding-top: max(8px, env(safe-area-inset-top));
        padding-left: max(8px, env(safe-area-inset-left));
        padding-right: max(8px, env(safe-area-inset-right));
    }
}
/* ===== Pricing Section ===== */
.pricing {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    font-size: 2.2rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

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

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid #eee;
}

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

.pricing-card.popular {
    border: 2px solid var(--primary);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.pricing-header h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.features {
    list-style: none;
    margin-bottom: 30px;
}

.features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.features i {
    color: var(--primary);
    margin-right: 10px;
    margin-top: 3px;
}

.trial-text {
    font-size: 14px;
    color: #4a6bff;
    margin: 5px 0;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
/* Update the Enterprise card button styles */
.enterprise .btn {
    display: flex;
    margin: 0 auto;
    padding: 14px 24px;
    font-size: 1.1rem;
    background-color: #4cc9f0; /* Using your accent color */
    border-color: #4cc9f0;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.enterprise .btn:hover {
    background-color: #3ab7e0; /* Slightly darker accent */
    border-color: #3ab7e0;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.4);
}

/* Optional: Add a subtle animation on hover */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.enterprise .btn:hover {
    animation: pulse 1.5s infinite;
}

/* ===== Features Page Styles ===== */
.features-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 150px 0 80px;
    text-align: center;
}

.features-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.features-hero p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.ai-section {
    background-color: var(--light);
    padding: 80px 0;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.ai-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.ai-card:hover {
    transform: translateY(-5px);
}

.ai-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.ai-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.compliance-section {
    padding: 80px 0;
    background-color: white;
}

.compliance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.compliance-content {
    padding-right: 30px;
}

.compliance-badge {
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.compliance-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* Add this to your existing CSS */
.compliance-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* This will center all child elements horizontally */
    text-align: center; /* Center the text within the content */
    padding-right: 0; /* Remove right padding since we're centering */
}

.compliance-content ul.features {
    text-align: left; /* Keep feature list items left-aligned */
    width: 100%; /* Ensure full width for proper alignment */
    max-width: 500px; /* Match your content max-width */
    margin: 20px 0; /* Add some vertical spacing */
}

.compliance-content .btn {
    margin-top: 20px; /* Add space above the button */
    width: auto; /* Let button width be determined by content */
    display: inline-flex; /* Maintain button styling while allowing centering */
}
.platforms-section {
    padding: 80px 0;
    background-color: var(--light);
    text-align: center;
}

.platform-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px; /* Significantly reduced gap between platform buttons */
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px; /* Space for potential scrollbar */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.platform-option {
    flex: 0 0 auto;
    position: relative;
}

.platform-content {
    display: flex;
    align-items: center;
    gap: 4px; /* Reduced internal gap */
    padding: 8px 10px; /* Reduced padding */
    background: #fff;
    border: 1px solid #e1e3e6;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Hide scrollbar but keep functionality */
.platform-grid::-webkit-scrollbar {
    height: 6px;
}

.platform-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.platform-grid::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.platform-grid::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.platform-icon {
    margin-bottom: 15px;
}

.platform-icon.fa-instagram {
    color: #E1306C;
}

.platform-icon.fa-tiktok {
    color: #000000;
}

.platform-icon.fa-youtube {
    color: #FF0000;
}

.platform-icon.fa-twitter {
    color: #1DA1F2;
}

.platform-icon.fa-facebook {
    color: #1877F2;
}

.platform-icon.fa-snapchat {
    color: #FFFC00;
}

.cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--dark);
    color: white;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-section .btn {
    font-size: 1.1rem;
    padding: 12px 30px;
}

@media (max-width: 768px) {
    .compliance-grid {
        grid-template-columns: 1fr;
    }
    
    .compliance-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .features-hero {
        padding: 120px 0 60px;
    }
    
    .features-hero h1 {
        font-size: 2.2rem;
    }
    
    .platform-card {
        width: 120px;
        padding: 20px;
    }
}
/* ===== Login Page Styles ===== */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.error-message {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: none;
}

.success-message {
    color: #28a745;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-btn:hover {
    background-color: #0056b3;
}

.links {
    margin-top: 20px;
    text-align: center;
}

.links a {
    color: #007bff;
    text-decoration: none;
    margin: 0 10px;
}

.links a:hover {
    text-decoration: underline;
}

/* Login page heading styles */
.login-container h2 {
    text-align: center;
    margin-bottom: 30px;
}
/* ===== Signup Page Styles ===== */
.signup-section {
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px);
}

.signup-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

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

.signup-header h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.signup-header .subtitle {
    color: var(--gray);
    font-size: 1rem;
}

.signup-form fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 20px;
}

.form-section legend {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    padding: 0;
    float: left;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.input-with-icon input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-with-icon input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
}

.show-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
}

/* Graph and Performance Card Styles */
.performance-grid {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

.performance-card {
    flex: 1;
    background: #1566cf;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .performance-grid {
        flex-direction: column; /* Stack cards vertically on mobile */
        gap: 20px;
        margin: 20px 0;
        padding: 0 15px; /* Add some padding to prevent touching edges */
    }

    .performance-card {
        width: 100%; /* Full width on mobile */
        min-width: 0; /* Remove any minimum width */
        padding: 15px;
    }

    .graph-container {
        width: 100%;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .bar-graph {
        gap: 15px; /* Reduce gap between bars */
        justify-content: center;
        padding: 0 10px;
    }

    .bar {
        width: 40px; /* Make bars slightly narrower on mobile */
    }

    .bar span {
        font-size: 0.85rem;
        padding: 4px 8px;
        width: fit-content; /* Ensure it only takes necessary width */
    }
}

/* Case Study Styles */
.case-studies {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

.case-study {
    flex: 1;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .case-studies {
        flex-direction: column; /* Stack case studies vertically */
        gap: 15px;
        margin: 20px 0;
        padding: 0 15px;
    }

    .case-study {
        width: 100%;
        padding: 15px;
        gap: 12px;
    }

    .avatar {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .case-study .content {
        width: 100%;
    }

    .metrics {
        flex-direction: column; /* Stack metrics vertically */
        gap: 8px;
        margin-top: 10px;
    }

    .metrics span {
        display: inline-block;
        font-size: 0.85rem;
        padding: 4px 8px;
        width: fit-content; /* Ensure it only takes necessary width */
    }

    .case-study h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .case-study p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
}
        font-size: 0.8rem; /* Smaller font size for bar labels */
        white-space: normal; /* Allow text to wrap if needed */
        text-align: center;
        width: 80px; /* Give enough width for text */
        left: 50%;
        transform: translateX(-50%); /* Center the label */
    }

    .line-graph {
        width: 100%;
        overflow: hidden;
    }

    .data-points .point {
        font-size: 0.8rem;
    }

    /* Case studies adjustments */
    .case-studies {
        padding: 0 15px;
    }

    .case-study {
        padding: 15px;
    }
}

/* Additional adjustments for very small screens */
@media (max-width: 375px) {
    .performance-grid {
        padding: 0 10px;
    }

    .bar {
        width: 30px;
    }

    .bar span {
        font-size: 0.7rem;
        width: 70px;
    }
}

.help-text {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

/* Plan Selection Styles */
.plan-options-container {
    width: 100%;
    max-width: 1000px; /* Adjust this value based on your desired max width */
    margin: 0 auto;
    padding: 0 20px; /* Add some side padding */
    box-sizing: border-box;
}

/* Mobile Header Adjustments */
@media (max-width: 768px) {
    .header {
        min-height: 50px; /* Reduced from 120px */
        padding: 8px 0;
    }

    .header .container {
        flex-direction: row; /* Changed from column */
        justify-content: flex-end; /* Align items to the right */
        gap: 15px;
        height: auto;
    }

    .logo-container {
        display: none; /* Hide logo on mobile */
    }

    .main-nav {
        width: auto;
    }

    .main-nav ul {
        justify-content: flex-start;
        gap: 12px;
        margin: 0;
    }

    .main-nav a {
        font-size: 0.8rem; /* Smaller font */
    }

    .auth-buttons {
        margin: 0;
        gap: 8px; /* Reduced gap between buttons */
    }

    .btn-login {
        border: 1px solid var(--text); /* Add border to login button */
        border-radius: 5px;
        padding: 5px 10px; /* Smaller padding */
        font-size: 0.8rem;
        white-space: nowrap; /* Prevent text wrapping */
    }

    .auth-buttons .btn-primary {
        padding: 5px 10px; /* Smaller padding for Get Started */
        font-size: 0.8rem;
        min-width: auto; /* Remove any minimum width */
        white-space: nowrap; /* Prevent text wrapping */
    }

    /* Hover states for mobile */
    .btn-login:hover {
        background-color: var(--light);
    }

    /* Adjust main content padding to prevent header overlap */
    .main-content,
    .pricing,
    .features-section,
    .hero,
    .legal-container {
        padding-top: 70px; /* Increased to prevent header overlap */
    }

    /* Specific adjustment for pricing page */
    .pricing .section-title {
        margin-top: 20px;
    }
}

/* Even smaller adjustments for very small screens */
@media (max-width: 375px) {
    .header {
        min-height: 45px;
    }

    .main-nav a {
        font-size: 0.75rem;
    }

    .auth-buttons .btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .auth-buttons {
        gap: 6px;
    }

    .btn-login {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .auth-buttons .btn-primary {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

/* Safe area insets for notched phones */
@supports (padding: max(0px)) {
    .header {
        padding-top: max(8px, env(safe-area-inset-top));
        padding-left: max(8px, env(safe-area-inset-left));
       
    .main-nav {
        width: auto;
    }

    .main-nav ul {
        justify-content: flex-start;
        gap: 12px;
        margin: 0;
    }

    .main-nav a {
        font-size: 0.8rem; /* Smaller font */
    }

    .auth-buttons {
        margin: 0;
        gap: 8px; /* Reduced gap between buttons */
    }

    .btn-login {
        border: 1px solid var(--text); /* Add border to login button */
        border-radius: 5px;
        padding: 5px 10px; /* Smaller padding */
        font-size: 0.8rem;
    }

    .auth-buttons .btn-primary {
        padding: 5px 10px; /* Smaller padding for Get Started */
        font-size: 0.8rem;
        min-width: auto; /* Remove any minimum width */
    }

    /* Hover states for mobile */
    .btn-login:hover {
        background-color: var(--light);
    }

    /* Adjust main content padding to prevent header overlap */
    .main-content,
    .pricing,
    .features-section,
    .hero,
    .legal-container {
        padding-top: 70px; /* Increased to prevent header overlap */
    }

    /* Specific adjustment for pricing page */
    .pricing .section-title {
        margin-top: 20px;
    }
}

/* Even smaller adjustments for very small screens */
@media (max-width: 375px) {
    .auth-buttons {
        gap: 6px;
    }

    .btn-login {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .auth-buttons .btn-primary {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

/* Safe area insets for notched phones */
@supports (padding: max(0px)) {
    .header {
        padding-top: max(8px, env(safe-area-inset-top));
        padding-left: max(8px, env(safe-area-inset-left));
        padding-right: max(8px, env(safe-area-inset-right));
    }
}
/* ===== Pricing Section ===== */
.pricing {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    font-size: 2.2rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    text-align: center;
   
        font-size: 0.8rem; /* Smaller font */
    }

    .auth-buttons {
        margin: 0;
    }

    .auth-buttons .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Adjust main content padding to prevent header overlap */
    .main-content,
    .pricing,
    .features-section,
    .hero,
    .legal-container {
        padding-top: 70px; /* Increased to prevent header overlap */
    }

    /* Specific adjustment for pricing page */
    .pricing .section-title {
        margin-top: 20px;
    }
}

/* Additional adjustments for very small screens */
@media (max-width: 375px) {
    .header {
        min-height: 45px;
    }

    .main-nav a {
        font-size: 0.75rem;
    }

    .auth-buttons .btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

/* Safe area insets for notched phones */
@supports (padding: max(0px)) {
    .header {
        padding-top: max(8px, env(safe-area-inset-top));
        padding-left: max(8px, env(safe-area-inset-left));
        padding-right: max(8px, env(safe-area-inset-right));
    }
}
/* ===== Pricing Section ===== */
.pricing {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    font-size: 2.2rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

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

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid #eee;
}

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

.pricing-card.popular {
    border: 2px solid var(--primary);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 
.plan-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr)); /* 2 columns with minimum width */
    gap: 20px;
    margin: 20px auto; /* Center the grid */
    width: 100%;
    justify-content: center; /* Center the grid items */
}

.plan-option {
    position: relative;
    width: 100%;
}

.plan-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.plan-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    box-sizing: border-box;
}

/* Selected plan styling */
.plan-option input[type="radio"]:checked + .plan-card {
    border-color: var(--primary);
    background-color: rgba(67, 97, 238, 0.05);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.1);
}

.plan-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text */
}

/* Keep all other styles the same */
.plan-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.plan-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.plan-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.plan-select-button {
    display: block;
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 12px;
    margin-top: auto;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 80%; /* Make button width consistent */
    max-width: 200px; /* Limit button width */
    margin-left: auto;
    margin-right: auto;
}

/* Enterprise Card Styling - keep existing */
.plan-card.enterprise {
    background: linear-gradient(135deg, var(--dark) 0%, #2a3a5a 100%);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .plan-options {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
}

@media (max-width: 650px) {
    .plan-options {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    .plan-select-button {
        width: 60%;
    }
}

/* Platform Selection Styles */
.form-section {
    width: 100%;
}

.checkbox-grid {

    gap: 0px; /* Reduced from 8px to 4px */
    width: 50%;
}

.checkbox-grid label {
    position: relative;
}

.button-checkbox {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e1e3e6;
    border-radius: 1px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* If container is too small, allow horizontal scroll rather than wrap */
.form-group {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px; /* Space for scrollbar */
}

/*
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    box-sizing: border-box;
}

/* Add these viewport-specific rules at the end of your CSS file */

/* iPhone SE, iPhone 8 and similar smaller devices */
@media screen and (max-width: 375px) {
    .login-container {
        max-width: 90%;
        margin: 50px auto;
        padding: 20px;
    }

    .form-group input {
        padding: 12px; /* Larger touch targets for mobile */
    }

    .btn {
        padding: 12px 20px; /* Larger touch targets */
        width: 100%; /* Full width buttons on mobile */
    }

    /* Adjust header for mobile */
    .header .container {
        padding: 0 10px;
    }

    .logo-image {
        max-width: 120px; /* Smaller logo on mobile */
    }

    /* Adjust navigation for mobile */
    .main-nav ul {
        gap: 15px;
    }

    .main-nav a {
        font-size: 14px;
    }
}

/* iPhone 12/13/14 and similar devices */
@media screen and (max-width: 428px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Adjust container widths */
    .container {
        width: 95%;
        padding: 0 10px;
    }

    /* Adjust form elements */
    .form-group {
        margin-bottom: 15px;
    }

    /* Platform grid adjustments */
    .platform-grid {
        padding: 0 10px;
    }

    .platform-content {
        padding: 6px 8px;
        font-size: 12px;
    }
}

/* Add safe area insets for notched iPhones */
@supports (padding: max(0px)) {
    .header {
        padding-top: max(20px, env(safe-area-inset-top));
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    body {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* Selected plan styling */
.plan-option input[type="radio"]:checked + .plan-card {
    border-color: var(--primary);
    background-color: rgba(67, 97, 238, 0.05);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.1);
}

.plan-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text */
}

/* Keep all other styles the same */
.plan-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.plan-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.plan-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.plan-select-button {
    display: block;
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 12px;
    margin-top: auto;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 80%; /* Make button width consistent */
    max-width: 200px; /* Limit button width */
    margin-left: auto;
    margin-right: auto;
}

/* Enterprise Card Styling - keep existing */
.plan-card.enterprise {
    background: linear-gradient(135deg, var(--dark) 0%, #2a3a5a 100%);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .plan-options {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
}

@media (max-width: 650px) {
    .plan-options {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    .plan-select-button {
        width: 60%;
    }
}

/* Platform Selection Styles */
.form-section {
    width: 100%;
}

.checkbox-grid {

    gap: 0px; /* Reduced from 8px to 4px */
    width: 50%;
}

.checkbox-grid label {
    position: relative;
}

.button-checkbox {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e1e3e6;
    border-radius: 1px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* If container is too small, allow horizontal scroll rather than wrap */
.form-group {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px; /* Space for scrollbar */
}

/* X/Twitter icon */
.x-icon {
    fill: currentColor;
    width: 16px;
    height: 16px;
}

/* Platform icons */
.platform-option i, .platform-option .x-icon {
    font-size: 14px;
    color: #5469d4;
    min-width: 16px;
    text-align: center;
}

.platform-option.unavailable i, 
.platform-option.unavailable .x-icon {
    color: #aaa;
}

.platform-option span {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.platform-option.unavailable span {
    color: #999;
}

.platform-alt-name {
    font-size: 12px;
    color: #777;
    margin
    .plan-options {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
}

@media (max-width: 650px) {
    .plan-options {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    .plan-select-button {
        width: 60%;
    }
}

/* Platform Selection Styles */
.form-section {
    width: 100%;
}

.checkbox-grid {

    gap: 0px; /* Reduced from 8px to 4px */
    width: 50%;
}

.checkbox-grid label {
    position: relative;
}

.button-checkbox {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e1e3e6;
    border-radius: 1px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* If container is too small, allow horizontal scroll rather than wrap */
.form-group {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px; /* Space for scrollbar */
}

/* X/Twitter icon */
.x-icon {
    fill: currentColor;
    width: 16px;
    height: 16px;
}

/* Platform icons */
.platform-option i, .platform-option .x-icon {
    font-size: 14px;
    color: #5469d4;
    min-width: 16px;
    text-align: center;
}

.platform-option.unavailable i, 
.platform-option.unavailable .x-icon {
    color: #aaa;
}

.platform-option span {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.platform-option.unavailable span {
    color: #999;
}

.platform-alt-name {
    font-size: 12px;
    color: #777;
    margin-left: 2px;
}

.coming-soon {
    font-size: 
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

/* Plan Selection Styles */
.plan-options-container {
    width: 100%;
    max-width: 1000px; /* Adjust this value based on your desired max width */
    margin: 0 auto;
    padding: 0 20px; /* Add some side padding */
    box-sizing: border-box;
}

.plan-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr)); /* 2 columns with minimum width */
    gap: 20px;
    margin: 20px auto; /* Center the grid */
    width: 100%;
    justify-content: center; /* Center the grid items */
}

.plan-option {
    position: relative;
    width: 100%;
}

.plan-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.plan-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    box-sizing: border-box;
}

/* Selected plan styling */
.plan-option input[type="radio"]:checked + .plan-card {
    border-color: var(--primary);
    background-color: rgba(67, 97, 238, 0.05);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.1);
}

.plan-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text */
}

/* Keep all other styles the same */
.plan-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.plan-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.plan-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.plan-select-button {
    display: block;
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 12px;
    margin-top: auto;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 80%; /* Make button width consistent */
    max-width: 200px; /* Limit button width */
    margin-left: auto;
    margin-right: auto;
}

/* Enterprise Card Styling - keep existing */
.plan-card.enterprise {
    background: linear-gradient(135deg, var(--dark) 0%, #2a3a5a 100%);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .plan-options {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
}

@media (max-width: 650px) {
    .plan-options {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    .plan-select-button {
        width: 60%;
    }
}

/* Platform Selection Styles */
.form-section {
    width: 100%;
}

.checkbox-grid {

    gap: 0px; /* Reduced from 8px to 4px */
    width: 50%;
}

.checkbox-grid label {
    position: relative;
}

.button-checkbox {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e1e3e6;
    border-radius: 1px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* If container is too small, allow horizontal scroll rather than wrap */
.form-group {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px; /* Space for scrollbar */
}

/* X/Twitter icon */
.x-icon {
    fill: currentColor;
    width: 16px;
    height: 16px;
}

/* Platform icons */
.platform-option i, .platform-option .x-icon {
    font-size: 14px;
    color: #5469d4;
    min-width: 16px;
    text-align: center;
}

.platform-option.unavailable i, 
.platform-option.unavailable .x-icon {
    color: #aaa;
}

.platform-option span {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.platform-option.unavailable span {
    color: #999;
}

.platform-alt-name {
    font-size: 12px;
    color: #777;
    margin-left: 2px;
}

.coming-soon {
    font-size: 
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.1);
}

.plan-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text */
}

/* Keep all other styles the same */
.plan-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.plan-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.plan-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.plan-select-button {
    display: block;
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 12px;
    margin-top: auto;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 80%; /* Make button width consistent */
    max-width: 200px; /* Limit button width */
    margin-left: auto;
    margin-right: auto;
}

/* Enterprise Card Styling - keep existing */
.plan-card.enterprise {
    background: linear-gradient(135deg, var(--dark) 0%, #2a3a5a 100%);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .plan-options {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
}

@media (max-width: 650px) {
    .plan-options {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    .plan-select-button {
        width: 60%;
    }
}

/* Platform Selection Styles */
.form-section {
    width: 100%;
}

.checkbox-grid {

    gap: 0px; /* Reduced from 8px to 4px */
    width: 50%;
}

.checkbox-grid label {
    position: relative;
}

.button-checkbox {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e1e3e6;
    border-radius: 1px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* If container is too small, allow horizontal scroll rather than wrap */
.form-group {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px; /* Space for scrollbar */
}

/* X/Twitter icon */
.x-icon {
    fill: currentColor;
    width: 16px;
    height: 16px;
}

/* Platform icons */
.platform-option i, .platform-option .x-icon {
    font-size: 14px;
    color: #5469d4;
    min-width: 16px;
    text-align: center;
}

.platform-option.unavailable i, 
.platform-option.unavailable .x-icon {
    color: #aaa;
}

.platform-option span {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.platform-option.unavailable span {
    color: #999;
}

.platform-alt-name {
    font-size: 12px;
    color: #777;
    margin-left: 2px;
}

.coming-soon {
    font-size: 
        max-width: 400px;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    .plan-select-button {
        width: 60%;
    }
}

/* Platform Selection Styles */
.form-section {
    width: 100%;
}

.checkbox-grid {

    gap: 0px; /* Reduced from 8px to 4px */
    width: 50%;
}

.checkbox-grid label {
    position: relative;
}

.button-checkbox {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e1e3e6;
    border-radius: 1px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* If container is too small, allow horizontal scroll rather than wrap */
.form-group {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px; /* Space for scrollbar */
}

/* X/Twitter icon */
.x-icon {
    fill: currentColor;
    width: 16px;
    height: 16px;
}

/* Platform icons */
.platform-option i, .platform-option .x-icon {
    font-size: 14px;
    color: #5469d4;
    min-width: 16px;
    text-align: center;
}

.platform-option.unavailable i, 
.platform-option.unavailable .x-icon {
    color: #aaa;
}

.platform-option span {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.platform-option.unavailable span {
    color: #999;
}

.platform-alt-name {
    font-size: 12px;
    color: #777;
    margin-left: 2px;
}

.coming-soon {
    font-size: 11px;
    color: #999;
    font-style: italic;
    margin-left: 4px;
}

/* Unavailable state */
.platform-option.unavailable {
    cursor: not-allowed;
    opacity: 0.7;
}

.platform-option.unavailable .platform-content {
    background: #f9f9f9;
    border-color: #eee;
}

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Date Range Styles */
.date-range-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.date-input-group {
    flex: 1;
    min-width: 0;
}

.date-input-wrapper {
    position: relative;
}

.flatpickr-input {
    width: 100%;
    padding: 8px 35px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.calendar-icon {
    position: absolute;
   
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

/* Plan Selection Styles */
.plan-options-container {
    width: 100%;
    max-width: 1000px; /* Adjust this value based on your desired max width */
    margin: 0 auto;
    padding: 0 20px; /* Add some side padding */
    box-sizing: border-box;
}

.plan-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr)); /* 2 columns with minimum width */
    gap: 20px;
    margin: 20px auto; /* Center the grid */
    width: 100%;
    justify-content: center; /* Center the grid items */
}

.plan-option {
    position: relative;
    width: 100%;
}

.plan-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.plan-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    box-sizing: border-box;
}

/* Selected plan styling */
.plan-option input[type="radio"]:checked + .plan-card {
    border-color: var(--primary);
    background-color: rgba(67, 97, 238, 0.05);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.1);
}

.plan-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text */
}

/* Keep all other styles the same */
.plan-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.plan-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.plan-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.plan-select-button {
    display: block;
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 12px;
    margin-top: auto;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 80%; /* Make button width consistent */
    max-width: 200px; /* Limit button width */
    margin-left: auto;
    margin-right: auto;
}

/* Enterprise Card Styling - keep existing */
.plan-card.enterprise {
    background: linear-gradient(135deg, var(--dark) 0%, #2a3a5a 100%);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .plan-options {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
    }
}

@media (max-width: 650px) {
    .plan-options {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    .plan-select-button {
        width: 60%;
    }
}

/* Platform Selection Styles */
.form-section {
    width: 100%;
}

.checkbox-grid {

    gap: 0px; /* Reduced from 8px to 4px */
    width: 50%;
}

.checkbox-grid label {
    position: relative;
}

.button-checkbox {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e1e3e6;
    border-radius: 1px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* If container is too small, allow horizontal scroll rather than wrap */
.form-group {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px; /* Space for scrollbar */
}

/* X/Twitter icon */
.x-icon {
    fill: currentColor;
    width: 16px;
    height: 16px;
}

/* Platform icons */
.platform-option i, .platform-option .x-icon {
    font-size: 14px;
    color: #5469d4;
    min-width: 16px;
    text-align: center;
}

.platform-option.unavailable i, 
.platform-option.unavailable .x-icon {
    color: #aaa;
}

.platform-option span {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.platform-option.unavailable span {
    color: #999;
}

.platform-alt-name {
    font-size: 12px;
    color: #777;
    margin-left: 2px;
}

.coming-soon {
    font-size: 11px;
    color: #999;
    font-style: italic;
    margin-left: 4px;
}

/* Unavailable state */
.platform-option.unavailable {
    cursor: not-allowed;
    opacity: 0.7;
}

.platform-option.unavailable .platform-content {
    background: #f9f9f9;
    border-color: #eee;
}

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Date Range Styles */
.date-range-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.date-input-group {
    flex: 1;
    min-width: 0;
}

.date-input-wrapper {
    position: relative;
}

.flatpickr-input {
    width: 100%;
    padding: 8px 35px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.calendar-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    pointer-events: none;
}

@media (max-width: 768px) {
    .date-range-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .date-input-group {
        width: 100%;
    }
}
/* Password Reset Section */
.password-reset-section {
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.password-reset-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.password-reset-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
    color: #333;
}

.password-reset-card .subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.password-reset-form {
    margin-top: 30px;
}

.password-reset-form .form-group {
    margin-bottom: 20px;
}

.password-reset-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.password-reset-form .input-with-icon {
    position: relative;
}

.password-reset-form .input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #

/* Tighten main-content bottom spacing override - placed at end so it wins */
.main-content {
    padding-bottom: 12px;
}
    width: 16px;
    height: 16px;
}

/* Platform icons */
.platform-option i, .platform-option .x-icon {
    font-size: 14px;
    color: #5469d4;
    min-width: 16px;
    text-align: center;
}

.platform-option.unavailable i, 
.platform-option.unavailable .x-icon {
    color: #aaa;
}

.platform-option span {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.platform-option.unavailable span {
    color: #999;
}

.platform-alt-name {
    font-size: 12px;
    color: #777;
    margin-left: 2px;
}

.coming-soon {
    font-size: 11px;
    color: #999;
    font-style: italic;
    margin-left: 4px;
}

/* Unavailable state */
.platform-option.unavailable {
    cursor: not-allowed;
    opacity: 0.7;
}

.platform-option.unavailable .platform-content {
    background: #f9f9f9;
    border-color: #eee;
}

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Date Range Styles */
.date-range-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.date-input-group {
    flex: 1;
    min-width: 0;
}

.date-input-wrapper {
    position: relative;
}

.flatpickr-input {
    width: 100%;
    padding: 8px 35px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.calendar-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    pointer-events: none;
}

@media (max-width: 768px) {
    .date-range-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .date-input-group {
        width: 100%;
    }
}
/* Password Reset Section */
.password-reset-section {
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.password-reset-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.password-reset-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
    color: #333;
}

.password-reset-card .subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.password-reset-form {
    margin-top: 30px;
}

.password-reset-form .form-group {
    margin-bottom: 20px;
}

.password-reset-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.password-reset-form .input-with-icon {
    position: relative;
}

.password-reset-form .input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #
    margin-left: 4px;
}

/* Unavailable state */
.platform-option.unavailable {
    cursor: not-allowed;
    opacity: 0.7;
}

.platform-option.unavailable .platform-content {
    background: #f9f9f9;
    border-color: #eee;
}

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Date Range Styles */
.date-range-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.date-input-group {
    flex: 1;
    min-width: 0;
}

.date-input-wrapper {
    position: relative;
}

.flatpickr-input {
    width: 100%;
    padding: 8px 35px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.calendar-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    pointer-events: none;
}

@media (max-width: 768px) {
    .date-range-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .date-input-group {
        width: 100%;
    }
}
/* Password Reset Section */
.password-reset-section {
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.password-reset-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.password-reset-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
    color: #333;
}

.password-reset-card .subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
}

.password-reset-form {
    margin-top: 30px;
}

.password-reset-form .form-group {
    margin-bottom: 20px;
}

.password-reset-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.password-reset-form .input-with-icon {
    position: relative;
}

.password-reset-form .input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #
