/* AI Tools Hub - Premium SaaS Theme */
:root {
	--ath-bg: #0a0a12;
	--ath-bg-alt: #0f0f1a;
	--ath-surface: rgba(255,255,255,.04);
	--ath-border: rgba(255,255,255,.08);
	--ath-text: #f8fafc;
	--ath-text-muted: rgba(248,250,252,.6);
	--ath-primary: #8b5cf6;
	--ath-primary-dark: #7c3aed;
	--ath-accent: #3b82f6;
	--ath-neon: #06b6d4;
	--ath-gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
	--ath-radius: 16px;
	--ath-radius-sm: 10px;
	--ath-shadow: 0 8px 32px rgba(0,0,0,.4);
	--ath-font: 'Inter', system-ui, -apple-system, sans-serif;
	--ath-transition: .25s cubic-bezier(.4,0,.2,1);
}

.ath-light {
	--ath-bg: #f8fafc;
	--ath-bg-alt: #f1f5f9;
	--ath-surface: rgba(255,255,255,.8);
	--ath-border: rgba(0,0,0,.08);
	--ath-text: #0f172a;
	--ath-text-muted: rgba(15,23,42,.6);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body.ath-body{margin:0;font-family:var(--ath-font);background:var(--ath-bg);color:var(--ath-text);line-height:1.6;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--ath-primary);text-decoration:none;transition:color var(--ath-transition)}
a:hover{color:var(--ath-accent)}

.ath-bg-gradient{position:fixed;inset:0;background:radial-gradient(ellipse 80% 50% at 50% -20%,rgba(139,92,246,.15),transparent),radial-gradient(ellipse 60% 40% at 100% 50%,rgba(59,130,246,.08),transparent);pointer-events:none;z-index:0}
.ath-bg-orbs{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.ath-orb{position:absolute;border-radius:50%;filter:blur(80px);opacity:.4;animation:ath-float 20s ease-in-out infinite}
.ath-orb-1{width:400px;height:400px;background:#8b5cf6;top:-100px;right:-100px}
.ath-orb-2{width:300px;height:300px;background:#3b82f6;bottom:20%;left:-50px;animation-delay:-7s}
.ath-orb-3{width:250px;height:250px;background:#06b6d4;top:50%;right:20%;animation-delay:-14s}
@keyframes ath-float{0%,100%{transform:translate(0,0)}50%{transform:translate(30px,-30px)}}

.ath-container{max-width:1200px;margin:0 auto;padding:0 1.5rem;position:relative;z-index:1}
.glass{background:var(--ath-surface);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid var(--ath-border);border-radius:var(--ath-radius)}

/* Header */
.ath-header{position:sticky;top:0;z-index:100;background:rgba(10,10,18,.8);backdrop-filter:blur(20px);border-bottom:1px solid var(--ath-border)}
.ath-header-inner{display:flex;align-items:center;justify-content:space-between;height:72px;gap:1rem}
.ath-logo{display:flex;align-items:center;gap:.5rem;font-weight:700;font-size:1.25rem;color:var(--ath-text)}
.ath-logo-icon{font-size:1.5rem}
.ath-nav{display:flex;gap:2rem}
.ath-nav a{color:var(--ath-text-muted);font-size:.9rem;font-weight:500}
.ath-nav a:hover{color:var(--ath-text)}
.ath-header-actions{display:flex;align-items:center;gap:.75rem}
.ath-theme-toggle{width:40px;height:40px;border-radius:50%;border:1px solid var(--ath-border);background:var(--ath-surface);cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center}
.ath-light .ath-icon-moon,.ath-dark .ath-icon-sun{display:none}
.ath-mobile-toggle{display:none;background:none;border:none;color:var(--ath-text);font-size:1.5rem;cursor:pointer}

/* Buttons */
.ath-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1.25rem;border-radius:var(--ath-radius-sm);font-weight:600;font-size:.875rem;border:none;cursor:pointer;transition:all var(--ath-transition);text-decoration:none;font-family:inherit}
.ath-btn-gradient{background:var(--ath-gradient);color:#fff;box-shadow:0 4px 20px rgba(139,92,246,.4)}
.ath-btn-gradient:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(139,92,246,.5);color:#fff}
.ath-btn-ghost{background:transparent;border:1px solid var(--ath-border);color:var(--ath-text)}
.ath-btn-ghost:hover{border-color:var(--ath-primary);color:var(--ath-primary)}
.ath-btn-lg{padding:.875rem 1.75rem;font-size:1rem}
.ath-btn-block{width:100%}
.ath-btn-sm{padding:.4rem .875rem;font-size:.8rem}
.ath-btn-social{width:100%;margin-bottom:.5rem;background:var(--ath-surface);border:1px solid var(--ath-border);color:var(--ath-text)}

/* Hero */
.ath-hero{padding:5rem 0 6rem;position:relative}
.ath-hero .ath-container{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.ath-hero-badge{display:inline-block;padding:.35rem 1rem;background:rgba(139,92,246,.15);border:1px solid rgba(139,92,246,.3);border-radius:999px;font-size:.8rem;color:#a78bfa;margin-bottom:1.5rem}
.ath-hero-title{font-size:clamp(2.5rem,5vw,3.75rem);font-weight:800;line-height:1.1;margin:0 0 1.5rem;letter-spacing:-.02em}
.ath-gradient-text{background:var(--ath-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.ath-hero-desc{font-size:1.125rem;color:var(--ath-text-muted);margin:0 0 2rem;max-width:520px}
.ath-hero-cta{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:3rem}
.ath-hero-stats{display:flex;gap:3rem}
.ath-stat strong{display:block;font-size:2rem;font-weight:800;background:var(--ath-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.ath-stat span{font-size:.8rem;color:var(--ath-text-muted)}
.ath-hero-mockup{padding:1rem;border-radius:var(--ath-radius);animation:ath-float 6s ease-in-out infinite}
.ath-mockup-bar{display:flex;gap:.5rem;margin-bottom:1rem}
.ath-mockup-bar span{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.2)}
.ath-mockup-content{display:flex;gap:1rem;min-height:280px}
.ath-mockup-sidebar{width:60px;background:rgba(255,255,255,.05);border-radius:8px}
.ath-mockup-main{flex:1}
.ath-mockup-line{height:12px;background:rgba(255,255,255,.08);border-radius:6px;margin-bottom:.75rem}
.ath-mockup-line.short{width:60%}
.ath-mockup-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-top:1.5rem}
.ath-mockup-card{height:80px;background:rgba(139,92,246,.1);border-radius:8px}

/* Sections */
.ath-section{padding:5rem 0;position:relative;z-index:1}
.ath-section-alt{background:var(--ath-bg-alt)}
.ath-section-header{text-align:center;margin-bottom:3rem}
.ath-section-label{display:inline-block;font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;color:var(--ath-primary);margin-bottom:.75rem}
.ath-section-header h2{font-size:clamp(1.75rem,3vw,2.5rem);font-weight:700;margin:0 0 .75rem}
.ath-section-header p{color:var(--ath-text-muted);max-width:560px;margin:0 auto}

/* Tools */
.ath-tools-showcase,.ath-tools-access-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}
.ath-tool-card,.ath-tool-access-card{padding:1.75rem;transition:transform var(--ath-transition),box-shadow var(--ath-transition)}
.ath-tool-card:hover,.ath-tool-access-card:hover{transform:translateY(-4px);box-shadow:var(--ath-shadow)}
.ath-tool-card-logo,.ath-tool-emoji{width:56px;height:56px;border-radius:14px;object-fit:cover;margin-bottom:1rem;font-size:2rem;display:flex;align-items:center;justify-content:center}
.ath-tool-card h3,.ath-tool-access-card h3{margin:0 0 .5rem;font-size:1.125rem}
.ath-tool-card p{color:var(--ath-text-muted);font-size:.875rem;margin:0 0 1.25rem}
.ath-premium-badge{display:inline-block;padding:.2rem .6rem;background:var(--ath-gradient);border-radius:999px;font-size:.7rem;font-weight:600;color:#fff;margin-bottom:.5rem}
.ath-tool-access-card{display:flex;flex-direction:column;gap:1rem}
.ath-tool-access-card.suspended{opacity:.6}
.ath-tool-meta{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;color:var(--ath-text-muted)}
.ath-status.active{color:#4ade80}
.ath-status.suspended{color:#f87171}

/* Features */
.ath-features-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}
.ath-feature-card{padding:2rem}
.ath-feature-icon{font-size:2rem;display:block;margin-bottom:1rem}
.ath-feature-card h3{margin:0 0 .5rem}
.ath-feature-card p{color:var(--ath-text-muted);font-size:.9rem;margin:0}

/* Pricing */
.ath-billing-toggle{display:flex;justify-content:center;gap:.5rem;margin-bottom:2rem;background:var(--ath-surface);padding:.35rem;border-radius:999px;width:fit-content;margin-left:auto;margin-right:auto;border:1px solid var(--ath-border)}
.ath-billing-toggle button{padding:.5rem 1.25rem;border:none;background:transparent;color:var(--ath-text-muted);border-radius:999px;cursor:pointer;font-weight:500;font-family:inherit;transition:all var(--ath-transition)}
.ath-billing-toggle button.active{background:var(--ath-gradient);color:#fff}
.ath-save-badge{font-size:.7rem;background:rgba(34,197,94,.2);color:#4ade80;padding:.15rem .5rem;border-radius:999px;margin-left:.25rem}
.ath-pricing-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem}
.ath-pricing-card{padding:2rem;position:relative;transition:transform var(--ath-transition)}
.ath-pricing-card.popular{border-color:rgba(139,92,246,.5);transform:scale(1.02)}
.ath-popular-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--ath-gradient);color:#fff;font-size:.7rem;padding:.25rem .75rem;border-radius:999px}
.ath-pricing-card h3{margin:0 0 1rem}
.ath-price-display{font-size:2.5rem;font-weight:800;margin-bottom:1.5rem}
.ath-price-display small{font-size:1rem;font-weight:400;color:var(--ath-text-muted)}
.ath-features-list{list-style:none;padding:0;margin:0 0 1.5rem}
.ath-features-list li{padding:.4rem 0;font-size:.875rem;color:var(--ath-text-muted)}
.ath-features-list li::before{content:'✓ ';color:var(--ath-primary)}

/* Testimonials */
.ath-testimonials-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}
.ath-testimonial-card{padding:2rem}
.ath-testimonial-card p{font-style:italic;color:var(--ath-text-muted);margin:0 0 1.5rem}
.ath-testimonial-author{display:flex;align-items:center;gap:1rem}
.ath-avatar{width:40px;height:40px;border-radius:50%;background:var(--ath-gradient);display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff}
.ath-testimonial-author span{display:block;font-size:.8rem;color:var(--ath-text-muted)}

/* FAQ */
.ath-faq-container{max-width:720px}
.ath-faq-item{margin-bottom:.75rem;padding:0}
.ath-faq-item summary{padding:1.25rem 1.5rem;cursor:pointer;font-weight:600;list-style:none}
.ath-faq-item summary::-webkit-details-marker{display:none}
.ath-faq-item p{padding:0 1.5rem 1.25rem;color:var(--ath-text-muted);margin:0}

/* CTA */
.ath-cta-section{padding:4rem 0}
.ath-cta-card{text-align:center;padding:4rem 2rem}
.ath-cta-card h2{margin:0 0 .75rem;font-size:2rem}
.ath-cta-card p{color:var(--ath-text-muted);margin:0 0 2rem}

/* Auth */
.ath-auth-section{min-height:calc(100vh - 200px);display:flex;align-items:center;justify-content:center;padding:3rem 1.5rem}
.ath-auth-card{width:100%;max-width:440px;padding:2.5rem}
.ath-auth-header{text-align:center;margin-bottom:2rem}
.ath-auth-header .ath-logo-icon{font-size:2.5rem;display:block;margin-bottom:1rem}
.ath-auth-header h1{margin:0 0 .5rem;font-size:1.75rem}
.ath-auth-header p{color:var(--ath-text-muted);margin:0;font-size:.9rem}
.ath-divider{text-align:center;margin:1.5rem 0;color:var(--ath-text-muted);font-size:.8rem}
.ath-divider span{background:var(--ath-bg);padding:0 1rem;position:relative}
.ath-divider::before{content:'';position:absolute;left:0;right:0;top:50%;height:1px;background:var(--ath-border);z-index:-1}
.ath-auth-footer{text-align:center;margin-top:1.5rem;font-size:.875rem;color:var(--ath-text-muted)}
.ath-form-group{margin-bottom:1.25rem}
.ath-form-group label{display:block;font-size:.875rem;margin-bottom:.4rem;font-weight:500}
.ath-form-group input,.ath-form-group textarea,.ath-form-group select{width:100%;padding:.75rem 1rem;background:rgba(0,0,0,.2);border:1px solid var(--ath-border);border-radius:var(--ath-radius-sm);color:var(--ath-text);font-family:inherit;font-size:1rem}
.ath-light .ath-form-group input{background:rgba(255,255,255,.8)}
.ath-otp-input{text-align:center;letter-spacing:.5em;font-size:1.5rem}
.ath-otp-fallback{padding:1.25rem;margin-bottom:1.25rem;text-align:center;border:1px solid rgba(139,92,246,.3);background:rgba(139,92,246,.08)}
.ath-otp-fallback-note{font-size:.8rem;color:var(--ath-text-muted);margin:.5rem 0}
.ath-otp-display{font-size:2rem;font-weight:800;letter-spacing:.35em;color:#a78bfa;margin:.75rem 0 0;font-family:ui-monospace,monospace}
.ath-verify-hint{font-size:.875rem;color:var(--ath-text-muted);text-align:center;margin:0 0 1rem}
.ath-verify-message{padding:.75rem 1rem;border-radius:10px;margin-bottom:1rem;font-size:.875rem;text-align:center}
.ath-verify-message.ath-success{background:rgba(34,197,94,.15);color:#4ade80}
.ath-verify-message.ath-error{background:rgba(239,68,68,.15);color:#f87171}
.ath-error-text{color:#f87171}
.ath-verify-card{max-width:480px;width:100%}
.ath-resend-wrap{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--ath-border);text-align:center}
.ath-resend-label{margin:0 0 .75rem;font-size:.875rem;color:var(--ath-text-muted)}
.ath-btn-resend{background:rgba(139,92,246,.15)!important;border:1px solid rgba(139,92,246,.5)!important;color:#c4b5fd!important;font-weight:600}
.ath-btn-resend:hover{background:rgba(139,92,246,.25)!important;border-color:#8b5cf6!important;color:#fff!important}
.ath-lookup-form{margin-bottom:1rem}
#ath-login-form p{margin-bottom:1rem}
#ath-login-form label{display:block;font-size:.875rem;margin-bottom:.4rem}
#ath-login-form input[type=text],#ath-login-form input[type=password]{width:100%;padding:.75rem 1rem;background:rgba(0,0,0,.2);border:1px solid var(--ath-border);border-radius:var(--ath-radius-sm);color:var(--ath-text)}
#ath-login-form .button-primary,.ath-form .ath-btn-gradient{width:100%;margin-top:.5rem}

/* Dashboard */
.ath-dash-page-title{margin:0 0 1.5rem;font-size:1.5rem;font-weight:700}
.ath-hero-minimal{padding:4rem 0 5rem}
.ath-footer-minimal{padding:1.5rem 0}
.ath-footer-minimal .ath-footer-bottom{border:none;padding:0;text-align:center}
.ath-dashboard-layout{display:grid;grid-template-columns:280px 1fr;min-height:calc(100vh - 72px);gap:0}
.ath-dash-sidebar{padding:1.5rem;display:flex;flex-direction:column;border-right:1px solid var(--ath-border);position:sticky;top:72px;height:calc(100vh - 72px)}
.ath-dash-user{display:flex;align-items:center;gap:1rem;padding-bottom:1.5rem;margin-bottom:1.5rem;border-bottom:1px solid var(--ath-border)}
.ath-avatar-img{border-radius:50%}
.ath-plan-badge{font-size:.75rem;color:var(--ath-primary);text-transform:uppercase}
.ath-dash-nav{display:flex;flex-direction:column;gap:.25rem;flex:1}
.ath-dash-nav a{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-radius:var(--ath-radius-sm);color:var(--ath-text-muted);transition:all var(--ath-transition)}
.ath-dash-nav a:hover,.ath-dash-nav a.active{background:rgba(139,92,246,.15);color:var(--ath-primary)}
.ath-dash-logout{margin-top:auto;padding:.75rem;color:var(--ath-text-muted);font-size:.875rem}
.ath-dash-main{padding:2rem;overflow:auto}
.ath-dash-loading{text-align:center;padding:4rem}
.ath-spinner{width:40px;height:40px;border:3px solid var(--ath-border);border-top-color:var(--ath-primary);border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 1rem}
@keyframes spin{to{transform:rotate(360deg)}}
.ath-dash-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;margin-bottom:2rem}
.ath-dash-card{padding:1.5rem}
.ath-dash-card h4{margin:0 0 .5rem;font-size:.8rem;color:var(--ath-text-muted);text-transform:uppercase}
.ath-dash-card .value{font-size:1.75rem;font-weight:700}
.ath-dash-tools{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}
.ath-dash-tool-card{padding:1.25rem;display:flex;flex-direction:column}
.ath-dash-tool-logo{width:48px;height:48px;border-radius:12px;margin-bottom:.75rem;object-fit:cover}
.ath-tool-showcase-card{padding:0;overflow:hidden;display:flex;flex-direction:column;text-align:center}
.ath-tool-showcase-banner{background:linear-gradient(135deg,#4c1d95,#6d28d9);min-height:140px;display:flex;align-items:center;justify-content:center;padding:1.25rem}
.ath-tool-showcase-logo{max-width:100%;max-height:90px;object-fit:contain}
.ath-tool-showcase-fallback{font-size:2.5rem;font-weight:800;color:#fff}
.ath-tool-showcase-body{padding:1.25rem 1.25rem 1.5rem;display:flex;flex-direction:column;align-items:center;gap:.5rem;flex:1}
.ath-tool-showcase-title{margin:0;font-size:1.125rem;font-weight:700}
.ath-btn-showcase{margin-top:auto;width:100%;padding:.75rem 1rem;border-radius:999px;font-weight:600;text-align:center;text-decoration:none;display:inline-block}
.ath-tool-access-card-showcase{padding:0;overflow:hidden;text-align:center}
.ath-tool-access-card-showcase .ath-tool-showcase-banner{min-height:130px}
.ath-tool-access-card-showcase .ath-tool-showcase-body{padding:1rem 1.25rem 1.25rem}
.ath-empty-state{text-align:center;padding:4rem 2rem}
.ath-empty-icon{font-size:3rem;display:block;margin-bottom:1rem}

/* Page hero */
.ath-page-hero{padding:4rem 0 2rem;text-align:center}
.ath-page-hero-sm{padding:2rem 0}
.ath-page-hero h1{font-size:2.5rem;margin:0 0 .5rem}

/* Comparison & payments */
.ath-comparison-table{padding:1.5rem;overflow-x:auto}
.ath-comparison-table table{width:100%;border-collapse:collapse}
.ath-comparison-table th,.ath-comparison-table td{padding:1rem;text-align:center;border-bottom:1px solid var(--ath-border)}
.ath-comparison-table th:first-child,.ath-comparison-table td:first-child{text-align:left}
.ath-payment-methods{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}
.ath-payment-card{padding:1rem 2rem;font-weight:600}

/* Affiliate */
.ath-affiliate-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:2rem}
.ath-stat-card{padding:1.5rem;text-align:center}
.ath-stat-card span{display:block;font-size:.8rem;color:var(--ath-text-muted);margin-bottom:.5rem}
.ath-referral-link{padding:2rem}
.ath-copy-field{display:flex;gap:.5rem;margin:1rem 0}
.ath-copy-field input{flex:1;padding:.75rem;background:rgba(0,0,0,.2);border:1px solid var(--ath-border);border-radius:var(--ath-radius-sm);color:var(--ath-text)}

/* Footer */
.ath-footer{border-top:1px solid var(--ath-border);padding:4rem 0 2rem;margin-top:4rem;position:relative;z-index:1}
.ath-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:3rem;margin-bottom:3rem}
.ath-footer-brand p{color:var(--ath-text-muted);font-size:.9rem;margin-top:1rem;max-width:320px}
.ath-footer-links h4{margin:0 0 1rem;font-size:.9rem}
.ath-footer-links a{display:block;color:var(--ath-text-muted);font-size:.875rem;padding:.25rem 0}
.ath-footer-bottom{text-align:center;padding-top:2rem;border-top:1px solid var(--ath-border);color:var(--ath-text-muted);font-size:.8rem}

/* Chatbot */
.ath-chatbot{position:fixed;bottom:1.5rem;right:1.5rem;z-index:999}
.ath-chatbot-toggle{width:56px;height:56px;border-radius:50%;border:none;background:var(--ath-gradient);font-size:1.5rem;cursor:pointer;box-shadow:var(--ath-shadow);transition:transform var(--ath-transition)}
.ath-chatbot-toggle:hover{transform:scale(1.05)}
.ath-chatbot-panel{position:absolute;bottom:70px;right:0;width:360px;max-height:480px;display:none;flex-direction:column;overflow:hidden}
.ath-chatbot.open .ath-chatbot-panel{display:flex}
.ath-chatbot-header{display:flex;justify-content:space-between;padding:1rem;border-bottom:1px solid var(--ath-border)}
.ath-chatbot-close{background:none;border:none;color:var(--ath-text);font-size:1.25rem;cursor:pointer}
.ath-chatbot-messages{flex:1;padding:1rem;overflow-y:auto;max-height:300px}
.ath-chat-msg{padding:.75rem;border-radius:12px;margin-bottom:.5rem;font-size:.875rem}
.ath-chat-msg.bot{background:rgba(139,92,246,.15)}
.ath-chatbot-input{display:flex;padding:.75rem;gap:.5rem;border-top:1px solid var(--ath-border)}
.ath-chatbot-input input{flex:1;padding:.5rem;background:transparent;border:1px solid var(--ath-border);border-radius:8px;color:var(--ath-text)}
.ath-chatbot-input button{background:var(--ath-gradient);border:none;border-radius:8px;color:#fff;padding:.5rem 1rem;cursor:pointer}

/* Animations */
.animate-fade-in{animation:fadeIn .8s ease forwards}
.animate-slide-up{animation:slideUp .8s ease forwards}
.delay-1{animation-delay:.1s}
.delay-2{animation-delay:.2s}
.delay-3{animation-delay:.3s}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes slideUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}

/* Gateway modal */
.ath-gateway-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:1rem}
.ath-gateway-modal[hidden]{display:none!important}
.ath-gateway-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.7);backdrop-filter:blur(4px)}
.ath-gateway-panel{position:relative;width:100%;max-width:440px;padding:2rem;z-index:1;max-height:90vh;overflow-y:auto}
.ath-gateway-close{position:absolute;top:1rem;right:1rem;background:none;border:none;color:var(--ath-text);font-size:1.5rem;cursor:pointer}
.ath-gateway-panel h3{margin:0 0 .5rem}
.ath-gateway-sub{color:var(--ath-text-muted);font-size:.875rem;margin:0 0 1.5rem}
.ath-coupon-row{margin-bottom:1rem}
.ath-coupon-row input{width:100%;padding:.75rem;background:rgba(0,0,0,.2);border:1px solid var(--ath-border);border-radius:var(--ath-radius-sm);color:var(--ath-text)}
.ath-gateway-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem}
.ath-gateway-option{display:flex;align-items:center;gap:1rem;padding:1rem;background:rgba(0,0,0,.15);border:1px solid var(--ath-border);border-radius:var(--ath-radius-sm);cursor:pointer;text-align:left;color:var(--ath-text);font-family:inherit;width:100%;transition:all var(--ath-transition)}
.ath-gateway-option:hover,.ath-gateway-option.selected{border-color:var(--ath-primary);background:rgba(139,92,246,.1)}
.ath-gw-icon{font-size:1.5rem}
.ath-gw-info strong{display:block}
.ath-gw-info small{color:var(--ath-text-muted);font-size:.8rem}
.ath-fees-list{margin-bottom:1rem}

/* Auth messages */
.ath-form-msg{padding:.75rem 1rem;border-radius:var(--ath-radius-sm);font-size:.9rem;font-weight:500;margin-bottom:1rem}
.ath-form-error{background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.35);color:#fca5a5}
.ath-form-success{background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.35);color:#86efac}
.ath-btn-full{width:100%;justify-content:center}

/* Hide WP admin bar for members */
#wpadminbar{display:none!important}
html{margin-top:0!important}

/* Responsive */
@media(max-width:1024px){
	.ath-hero .ath-container{grid-template-columns:1fr;text-align:center}
	.ath-hero-desc{margin-left:auto;margin-right:auto}
	.ath-hero-cta,.ath-hero-stats{justify-content:center}
	.ath-hero-visual{display:none}
	.ath-dashboard-layout{grid-template-columns:1fr}
	.ath-dash-sidebar{position:relative;height:auto;top:0}
}
@media(max-width:768px){
	.ath-nav{display:none;position:absolute;top:72px;left:0;right:0;background:var(--ath-bg);flex-direction:column;padding:1rem;border-bottom:1px solid var(--ath-border)}
	.ath-nav.open{display:flex}
	.ath-mobile-toggle{display:block}
	.ath-header-actions .ath-btn-ghost{display:none}
	.ath-footer-grid{grid-template-columns:1fr}
	.ath-affiliate-stats{grid-template-columns:1fr}
}
