/* Scattify - Premium SaaS Design */

/* ===== VARIABLES ===== */
:root {
    --primary: #2563EB;
    --primary-dark: #1E3A8A;
    --primary-light: #BFDBFE;
    --primary-50: #EFF6FF;
    --secondary: #0EA5E9;
    --accent: #0284C7;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --navy-blue: #1E3A8A;
    
    --text-dark: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-gray: #F1F5F9;
    --bg-dark: #0F172A;
    
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 60px rgba(37, 99, 235, 0.3);
    --shadow-glow-blue: 0 0 60px rgba(14, 165, 233, 0.25);
    
    --gradient-primary: linear-gradient(135deg, #1E3A8A 0%, #2563EB 50%, #3B82F6 100%);
    --gradient-hero: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 50%, #2563EB 100%);
    --gradient-card: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(37, 99, 235, 0.15) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(30, 58, 138, 0.1) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(14, 165, 233, 0.1) 0px, transparent 50%),
                     radial-gradient(at 80% 50%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, rgba(37, 99, 235, 0.1) 0px, transparent 50%);
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 0.875rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.navbar-brand:hover {
    color: var(--text-dark);
    transform: scale(1.02);
}

.brand-logo {
    transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo {
    transform: scale(1.05);
}

.brand-text {
    font-weight: 800;
    font-size: 1.625rem;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: baseline;
}

.brand-scatt {
    color: #1E3A5C;
    background: linear-gradient(135deg, #1E3A5C 0%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-ify {
    background: linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    font-weight: 700;
}

.navbar-brand-text {
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.nav-link {
    color: var(--text-body);
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
    position: relative;
}

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

.nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 8px;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.75rem;
    right: 0.75rem;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.navbar-toggler {
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-sm);
}

/* ===== BUTTONS ===== */
.btn {
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.45);
    background: var(--gradient-primary);
}

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

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

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

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.0625rem;
    border-radius: var(--border-radius-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 5rem 0 4rem;
    background: var(--gradient-mesh), var(--bg-white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 60%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 60%);
    animation: float 25s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(2deg); }
    50% { transform: translate(-10px, 20px) rotate(-1deg); }
    75% { transform: translate(-20px, -10px) rotate(1deg); }
}

.hero-brand {
    margin-bottom: 1.25rem;
}

.hero-brand-name {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    letter-spacing: 0.01em;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-body);
    margin-bottom: 1.75rem;
    max-width: 500px;
    line-height: 1.6;
}

/* Platform Grid */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

.platform-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    box-shadow: var(--shadow-sm);
}

.platform-badge:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    background: white;
}

.platform-badge span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-body);
}

/* ===== SECTIONS ===== */
.section {
    padding: 4.5rem 0;
    position: relative;
}

.section-light {
    background: var(--bg-light);
}

.section-gradient {
    background: var(--gradient-mesh), var(--bg-white);
}

.section-dark {
    background: var(--bg-dark);
    color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: white;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    text-align: center;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* ===== PROBLEM/SOLUTION CARDS ===== */
.problem-card,
.solution-card {
    height: 100%;
    padding: 2rem 2.25rem;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
}

.problem-card {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border: 1px solid #FECACA;
}

.solution-card {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 1px solid #A7F3D0;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.12);
}

.problem-card:hover,
.solution-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== STEP CARDS ===== */
.step-card {
    text-align: center;
    padding: 2rem 1.75rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.step-title {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
    font-weight: 700;
}

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

/* ===== PRICING SECTION ===== */
.pricing-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 99, 235, 0.1);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(37, 99, 235, 0.15);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 1;
}

.pricing-card.featured .pricing-tier {
    margin-top: 1rem;
}

.pricing-tier {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0;
    color: var(--text-body);
    font-size: 0.875rem;
}

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

/* ===== TRUST SECTION ===== */
.trust-section {
    padding: 2rem 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.trust-icon svg,
.trust-icon i {
    width: 20px;
    height: 20px;
}

.trust-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.trust-subtext {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-light);
}

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

.testimonial-quote {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1.25rem;
    border-left: 3px solid var(--primary);
}

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

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

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 4.5rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm-20 20v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    color: white;
    text-align: center;
    margin-bottom: 0.75rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn-light {
    background: white;
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-heading {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

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

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-nav a:hover {
    color: #60a5fa;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-icon {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0 1.5rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-made {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-email {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.footer-email:hover {
    color: #60a5fa !important;
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.card-body {
    padding: 1.5rem;
}

/* ===== FORMS ===== */
.form-control {
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

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

/* ===== ALERTS ===== */
.alert {
    border: none;
    border-radius: var(--border-radius-md);
    padding: 1rem 1.25rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    color: #065F46;
}

.alert-danger {
    background: linear-gradient(135deg, #FEF2F2 0%, #FECACA 100%);
    color: #991B1B;
}

.alert-warning {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    color: #92400E;
}

.alert-info {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: #1E40AF;
}

/* ===== PLATFORM OUTPUT CARDS ===== */
.platform-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

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

.platform-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.platform-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.platform-name {
    font-weight: 700;
    color: var(--text-dark);
}

.platform-content {
    padding: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-body);
    white-space: pre-wrap;
}

.copy-btn {
    background: var(--bg-gray);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background: var(--primary);
    color: white;
}

.copy-btn.copied {
    background: var(--success);
    color: white;
}

/* ===== TABS ===== */
.nav-tabs {
    border-bottom: 2px solid var(--border-light);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: 1rem 1.5rem;
    margin-bottom: -2px;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
    border: none;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    background: transparent;
    border: none;
    border-bottom: 3px solid var(--primary);
}

/* ===== BADGES ===== */
.badge {
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: var(--gradient-primary);
    color: white;
}

.badge-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}

.badge-warning {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Hero badges: one line on desktop, wrap on mobile */
@media (min-width: 992px) {
    .hero-badges {
        flex-wrap: nowrap !important;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 3.5rem 0 3rem;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-brand-name {
        font-size: 0.8125rem;
    }
    
    .hero-badges {
        justify-content: center;
        gap: 0.5rem !important;
    }
    
    .cta-subtitle {
        white-space: normal !important;
    }
    
    .platforms-grid {
        margin: 1.5rem auto 0;
        max-width: 340px;
    }
    
    .d-flex.gap-3.flex-wrap {
        justify-content: center;
    }
    
    .d-flex.gap-4.flex-wrap {
        justify-content: center;
    }
    
    .section {
        padding: 3.5rem 0;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .cta-section {
        padding: 3.5rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 2.5rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.75rem;
    }
    
    .section-subtitle span[style*="white-space"] {
        white-space: normal !important;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center !important;
        gap: 0.375rem !important;
    }
    
    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.625rem;
        max-width: 300px;
    }
    
    .platform-badge {
        padding: 0.75rem 0.375rem;
    }
    
    .platform-badge span {
        font-size: 0.6875rem;
    }
    
    .platform-badge svg,
    .platform-badge i {
        width: 20px !important;
        height: 20px !important;
    }
    
    .problem-card,
    .solution-card {
        padding: 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem 1.25rem;
    }
    
    .pricing-card {
        padding: 1.75rem 1.5rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-quote {
        font-size: 0.9375rem;
        padding-left: 1rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-title {
        font-size: 1.375rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }
    
    .trust-badge {
        padding: 0.75rem 1rem;
    }
    
    .trust-icon {
        width: 36px;
        height: 36px;
    }
    
    .trust-text {
        font-size: 0.8125rem;
    }
    
    .trust-subtext {
        font-size: 0.6875rem;
    }
    
    .footer-links {
        margin-top: 1rem;
    }
    
    .footer-links a {
        margin-left: 0;
        margin-right: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-brand-name {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .pricing-price {
        font-size: 2.25rem;
    }
    
    .pricing-features li {
        font-size: 0.8125rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-mesh {
    background: var(--gradient-mesh);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.rounded-xl {
    border-radius: var(--border-radius-xl);
}

/* ===== LOADING STATES ===== */
.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ===== SCHEDULER STYLES ===== */
.reminder-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.reminder-card:hover {
    box-shadow: var(--shadow-md);
}

.reminder-time {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-view {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* ===== AUTH PAGES ===== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--gradient-mesh), var(--bg-light);
}

.auth-card {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    width: 100%;
    max-width: 440px;
}

.auth-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ===== ACCOUNT PAGE ===== */
.account-header {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.usage-bar {
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    overflow: hidden;
}

.usage-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* ===== COMPOSE PAGE ===== */
.compose-container {
    max-width: 800px;
    margin: 0 auto;
}

.input-method-tabs {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-gray);
    padding: 0.5rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 1.5rem;
}

.input-method-tab {
    flex: 1;
    padding: 0.875rem 1rem;
    background: transparent;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.input-method-tab:hover {
    color: var(--text-dark);
}

.input-method-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    background: white;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary);
}

.faq-accordion .accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ===== ENHANCED HERO BADGE ===== */
.hero-badge {
    display: inline-block;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.2); }
    50% { box-shadow: 0 0 20px 5px rgba(37, 99, 235, 0.15); }
}

/* ===== ENHANCED CONTENT CARDS ===== */
.content-card {
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary);
}

.content-card .card-title {
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.4;
}

/* Library Section - Force dark text on white background with maximum specificity */
#librarySection,
#librarySection *,
.library-section,
.library-section * {
    -webkit-text-fill-color: initial !important;
}

#librarySection .content-card,
#librarySection .content-card .card-body,
.library-section .content-card,
.library-section .content-card .card-body {
    background: #fff !important;
    color: #1f2937 !important;
    -webkit-text-fill-color: #1f2937 !important;
}

#librarySection .content-card h6,
#librarySection .content-card .fw-bold,
#librarySection .content-card h5,
#librarySection .content-card strong,
.library-section .content-card h6,
.library-section .content-card .fw-bold,
.library-section .content-card h5,
.library-section .content-card strong {
    color: #1f2937 !important;
    -webkit-text-fill-color: #1f2937 !important;
}

#librarySection .content-card small,
#librarySection .content-card .text-muted,
#librarySection .content-card p,
.library-section .content-card small,
.library-section .content-card .text-muted,
.library-section .content-card p {
    color: #6b7280 !important;
    -webkit-text-fill-color: #6b7280 !important;
}

#librarySection .card-header h5,
.library-section .card-header h5 {
    color: #1f2937 !important;
    -webkit-text-fill-color: #1f2937 !important;
}

/* ===== ENHANCED PLATFORM SHOWCASE ===== */
.platform-showcase {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
}

.platform-showcase .card {
    border: none;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-showcase .card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 99, 235, 0.1);
}

/* ===== ENHANCED INPUT FORM ===== */
.input-form-card {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.input-form-card .nav-pills {
    background: var(--bg-light);
    padding: 0.5rem;
    border-radius: var(--border-radius-lg);
}

.input-form-card .nav-pills .nav-link {
    border-radius: var(--border-radius-md);
    font-weight: 600;
    padding: 0.875rem 1.25rem;
    color: var(--text-body);
    transition: all 0.2s ease;
}

.input-form-card .nav-pills .nav-link.active {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: var(--shadow-md);
}

.input-form-card .nav-pills .nav-link.active svg,
.input-form-card .nav-pills .nav-link.active i {
    color: white !important;
    stroke: white !important;
}

/* ===== ENHANCED STEP NUMBERS ===== */
.step-number-enhanced {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.75rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
    position: relative;
}

.step-number-enhanced::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(37, 99, 235, 0.3);
    animation: spin 20s linear infinite;
}

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

/* ===== HOW IT WORKS ENHANCED ===== */
.how-it-works-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 50%, var(--bg-light) 100%);
    border-radius: var(--border-radius-xl);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-light), var(--primary-light), var(--border-light), transparent);
    z-index: 0;
}

.how-it-works-section .col-md-4 {
    position: relative;
    z-index: 1;
}

/* ===== MY CONTENT PAGE ENHANCEMENTS ===== */
.my-content-header {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}

.nav-tabs {
    border-bottom: 2px solid var(--border-light);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    padding: 1rem 1.5rem;
    position: relative;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
    border: none;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    background: transparent;
    border: none;
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px 2px 0 0;
}

/* ===== COMPOSE PAGE ENHANCEMENTS ===== */
.composer-page {
    min-height: calc(100vh - 80px);
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.composer-header {
    background: linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 50%, #2563EB 100%) !important;
    padding: 3rem 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.composer-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm-20 20v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.composer-header h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.composer-header .lead {
    color: rgba(255, 255, 255, 0.85);
}

.composer-card {
    border: none;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    background: white;
}

.composer-card .card-header {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem;
}

.card-header-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.card-header-icon svg {
    width: 24px;
    height: 24px;
}

.composer-card .card-body {
    padding: 2rem;
}

.composer-tabs {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 0.5rem;
    gap: 0.5rem;
}

.composer-tabs .nav-link {
    border-radius: var(--border-radius-md);
    font-weight: 600;
    padding: 1rem 1.5rem;
    color: var(--text-body);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.composer-tabs .nav-link:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
}

.composer-tabs .nav-link.active {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.composer-tabs .nav-link.active * {
    color: white !important;
    stroke: white !important;
    fill: none !important;
}

.help-me-write-toggle {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    border: 2px dashed rgba(37, 99, 235, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 1rem 1.5rem;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.help-me-write-toggle:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(14, 165, 233, 0.12) 100%);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.help-me-write-panel {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(37, 99, 235, 0.03) 100%);
    border: 1px solid var(--border-light);
    border-top: none;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    margin-top: -4px;
}

.generate-content-btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--border-radius-lg);
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.generate-content-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.45);
}

.generate-content-btn:active {
    transform: translateY(-1px);
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Floating platform icons animation */
.platform-icons-float {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.floating-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: float-icon 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.floating-icon svg {
    width: 24px;
    height: 24px;
}

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

/* Enhanced textarea styling */
.composer-card textarea.form-control {
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
    resize: vertical;
    transition: all 0.3s ease;
}

.composer-card textarea.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), var(--shadow-md);
}

.composer-card textarea.form-control::placeholder {
    color: var(--text-light);
}

/* Content style radio buttons enhancement */
.content-style-options .btn-outline-secondary {
    border: 2px solid var(--border-light);
    color: var(--text-body);
    font-weight: 600;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.content-style-options .btn-outline-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary-light);
    color: var(--primary);
}

.content-style-options .btn-check:checked + .btn-outline-secondary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Source URL link styling */
.source-url-link {
    padding: 0.25rem 0.5rem;
    background: var(--bg-light);
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.8125rem;
}

.source-url-link:hover {
    background: var(--primary-50);
    color: var(--primary) !important;
}
