/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 1rem;
}

/* Layout utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-top: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(16, 185, 129, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: #10b981;
    color: #10b981;
    transform: translateY(-1px);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f1f5f9;
    z-index: 1000;
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo {
    width: 140px;
    height: 140px;
}

/* Removed brand-text since logo contains text */

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #10b981;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #475569;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin-top: 160px;
    position: relative;
    z-index: 1;
}

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

.hero-headline {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #065f46 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subhead {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #64748b;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    font-size: 0.875rem;
    color: #059669;
    font-weight: 500;
}

.hero-visual {
    position: relative;
}

.dashboard-mockup {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.dashboard-screenshot {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.commission-alert {
    position: absolute;
    top: 2rem;
    right: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

/* Mobile-specific commission alert */
@media (max-width: 1024px) {
    .dashboard-mockup {
        position: relative !important;
        overflow: visible !important;
    }
    
    .commission-alert {
        position: absolute !important;
        top: 1rem !important;
        right: 0.5rem !important;
        left: auto !important;
        margin: 0 !important;
        max-width: 200px !important;
        width: auto !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        animation: mobileFloat 3s ease-in-out infinite !important;
        background: white !important;
        padding: 1rem !important;
        border-radius: 0.75rem !important;
        box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.15) !important;
        border: 1px solid #e2e8f0 !important;
        z-index: 100 !important;
    }
    
    /* Prevent any fade-in or other animations from affecting commission alert on mobile */
    .commission-alert.fade-in,
    .commission-alert.visible,
    .commission-alert:not(.visible) {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    .alert-content {
        gap: 0.75rem !important;
    }
    
    .alert-icon {
        font-size: 1.5rem !important;
    }
    
    .alert-amount {
        font-size: 1.125rem !important;
        font-weight: 700 !important;
    }
    
    .alert-title {
        font-size: 0.75rem !important;
    }
    
    .alert-subtitle {
        font-size: 0.625rem !important;
    }
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-icon {
    font-size: 2rem;
}

.alert-title {
    font-weight: 600;
    color: #059669;
    font-size: 0.875rem;
}

.alert-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
}

.alert-subtitle {
    font-size: 0.75rem;
    color: #64748b;
}

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

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

/* Problem Section */
.problem {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
    background: white;
}

.problem .section-header h2 {
    white-space: nowrap;
    text-align: center;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.problem-card {
    text-align: center;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid #f1f5f9;
    background: #fafafa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.problem-stat {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

/* Removed - using .stat-card .stat-number instead for consistency */

.stat-text {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    text-align: center;
    width: 100%;
    line-height: 1.4;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-visual {
    margin-top: 5rem;
}

.split-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.before-state, .after-state {
    text-align: center;
    padding: 3rem;
    border-radius: 1.5rem;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.before-state {
    background: linear-gradient(135deg, #fce7e7 0%, #f8d7da 100%);
    border: 2px solid #f1a8a8;
}

.after-state {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #86efac;
}

.agent-icon, .checkmarks {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.process-screenshot {
    width: 100%;
    max-width: 400px;
    height: 280px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-screenshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.2);
}

.manual-process, .auto-text {
    font-weight: 600;
    font-size: 1.125rem;
    color: #0f172a;
    margin-top: 1.5rem;
    padding: 1rem 0;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

/* Solution Section */
.solution {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    z-index: 3;
}

/* Hide line break on mobile */
.desktop-only {
    display: block;
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
    align-items: stretch;
}

.feature-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 1rem;
    min-height: 400px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    margin: 0;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    font-size: 1.7rem;
    white-space: nowrap;
}

.feature-card p {
    margin: 0;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.feature-detail {
    font-size: 1.1rem;
    color: #64748b;
    font-style: italic;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    align-self: end;
}

.solution-cta {
    text-align: center;
}

/* Proof Section */
.proof {
    padding: 6rem 0;
    position: relative;
    z-index: 4;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid #e2e8f0;
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 200px;
    gap: 0;
}

.stat-card:hover {
    border-color: #10b981;
}

.stat-card .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #10b981;
    margin: 2rem 0 1rem 0;
    line-height: 1.1;
    text-align: center;
    width: 100%;
    display: block;
    flex-shrink: 0;
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 2rem;
    background: #f8fafc;
    border-radius: 1rem;
    border-left: 4px solid #10b981;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.author-name {
    font-weight: 600;
    color: #0f172a;
}

.author-title {
    font-size: 0.875rem;
    color: #64748b;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fafafa 0%, #f4f4f5 100%);
    position: relative;
    z-index: 5;
}

.pricing-table {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.pricing-row-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
}

.pricing-row-enterprise {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pricing-row-enterprise .pricing-card {
    max-width: 320px;
    width: 100%;
}

/* Responsive adjustments for Enterprise positioning */
@media (min-width: 768px) and (max-width: 1023px) {
    .pricing-row-main {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }
    
    .pricing-row-enterprise .pricing-card {
        max-width: 280px;
    }
}

.pricing-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    position: relative;
    border: 2px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.popular {
    border-color: #10b981;
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-top: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #10b981;
}

.period {
    font-size: 1.125rem;
    color: #64748b;
    margin-left: 0.25rem;
}

.custom {
    font-size: 2rem;
    font-weight: 800;
    color: #10b981;
}

.pricing-features {
    margin-bottom: 2rem;
}

.feature {
    padding: 0.75rem 0;
    color: #475569;
    font-weight: 500;
    border-bottom: 1px solid #f8fafc;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    display: block;
    text-align: center;
    margin: 0 auto;
}

.pricing-note {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    background: #eff6ff;
    border-radius: 1rem;
    border: 1px solid #dbeafe;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    position: relative;
    z-index: 6;
    background: white;
}

.steps-container {
    display: grid;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    align-items: start;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 1rem;
    color: #0f172a;
}

.step-visual {
    margin-top: 1.5rem;
}

.step-screenshot {
    width: 100%;
    max-width: 400px;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Upload animation styles removed - now using screenshot */

.dashboard-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}

/* Final CTA Section */
.final-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #065f46 0%, #064e3b 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 7;
}

.final-cta h2, .final-cta p {
    color: white;
}

.final-cta h2 {
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-guarantee {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-guarantee span {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 8;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

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

.footer-logo {
    width: 140px;
    height: 140px;
}

/* Removed footer-brand-text since logo contains text */

.footer-tagline {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-column a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #10b981;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #10b981;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .solution-features {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 900px;
    }
    
    .stat-card {
        padding: 1.75rem;
        justify-content: flex-start;
        gap: 0;
    }
    
    .stat-card .stat-number {
        font-size: 3rem;
        line-height: 1;
        text-align: center;
        width: 100%;
        display: block;
        margin: 1.5rem 0 1rem 0;
        flex-shrink: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .dashboard-mockup {
        overflow: visible;
        position: relative;
    }
    
    
    .problem-grid,
    .testimonials {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .split-screen {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .before-state, .after-state {
        padding: 2rem;
        min-height: 400px;
    }
    
    .process-screenshot {
        max-width: 350px;
        height: 220px;
        margin-bottom: 1.5rem;
    }
    
    .manual-process, .auto-text {
        font-size: 1rem;
        padding: 0.75rem 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .desktop-only {
        display: none;
    }
    
    .solution-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .footer-logo {
        width: 80px;
        height: 80px;
    }
    
    .hero {
        padding: 3rem 0 4rem;
        margin-top: 100px;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .problem .section-header h2 {
        white-space: normal;
    }
    
    .hero-ctas {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
    
    .hero-ctas .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .trust-indicators {
        justify-content: center;
    }
    
    .pricing-row-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .pricing-row-enterprise {
        margin-top: 1.5rem;
    }
    
    .pricing-row-main .pricing-card {
        max-width: 350px;
    }
    
    .pricing-row-enterprise .pricing-card {
        max-width: 350px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
        min-height: 150px;
        justify-content: flex-start;
        gap: 0;
    }
    
    .stat-card .stat-number {
        font-size: 2.5rem;
        line-height: 1;
        text-align: center;
        width: 100%;
        display: block;
        word-break: break-word;
        margin: 1rem 0 1rem 0;
        flex-shrink: 0;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .pricing-card.popular .pricing-header {
        padding-top: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .popular-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .pricing-table {
        gap: 1.5rem;
    }
    
    .pricing-row-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-row-main .pricing-card {
        max-width: none;
        width: 100%;
    }
    
    .pricing-row-enterprise {
        margin-top: 0rem;
    }
    
    .pricing-row-enterprise .pricing-card {
        max-width: none;
        width: 100%;
    }
    
    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .cta-guarantee {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2.5rem 0 3rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .pricing-card,
    .feature-card,
    .problem-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .pricing-card.popular .pricing-header {
        padding-top: 1.25rem;
        padding-bottom: 1rem;
    }
    
    .popular-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
    }
    
    .commission-alert {
        max-width: 180px !important;
        padding: 0.75rem !important;
        top: 0.75rem !important;
        right: 0.25rem !important;
    }
    
    .alert-content {
        gap: 0.5rem !important;
    }
    
    .alert-icon {
        font-size: 1.25rem !important;
    }
    
    .alert-amount {
        font-size: 1rem !important;
    }
    
    .alert-title {
        font-size: 0.7rem !important;
    }
    
    .alert-subtitle {
        font-size: 0.6rem !important;
    }
    
    .alert-amount {
        font-size: 1.125rem;
    }
    
    .alert-icon {
        font-size: 1.5rem;
    }
}

/* Legal Pages */
.legal-content {
    padding: 8rem 0 4rem;
    margin-top: 160px;
    background: #ffffff;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-header h1 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0f172a 0%, #065f46 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    font-size: 1rem;
    color: #64748b;
    font-style: italic;
    margin: 0;
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-body h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
    color: #0f172a;
    font-size: 1.75rem;
}

.legal-body h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #059669;
    font-size: 1.25rem;
    font-weight: 600;
}

.legal-body p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
}

.legal-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-body ul li {
    margin-bottom: 0.5rem;
    color: #475569;
    line-height: 1.6;
}

.back-to-site {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
    text-align: center;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 6rem 0 3rem;
        margin-top: 100px;
    }
    
    .legal-header {
        margin-bottom: 3rem;
    }
    
    .legal-header h1 {
        font-size: 2.5rem;
    }
    
    .legal-body h2 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .legal-body h3 {
        font-size: 1.125rem;
    }
    
    .legal-body ul {
        padding-left: 1rem;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 5rem 0 2rem;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-body h2 {
        font-size: 1.375rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

/* Animation utilities */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
