/* ==========================================================================
   AI Studio — WP Plugin Frontend
   Tek scope: .aisutido-app
   Bütün stiller bu prefix altında — tema CSS'iyle çakışmaz.
   ========================================================================== */

.aisutido-app, .aisutido-app * { box-sizing: border-box; }

/* ---------------------------------------------------------
 * Body kararması: shortcode içeren sayfada arka plan koyu
 * ve sayfa boşluklarındaki beyaz alanlar görünmesin.
 *
 * NOT: Tam ekran için page template (aisutido-fullpage.php) zaten
 * tema chrome'unu bypass eder. Bu kurallar template seçilmediği
 * fallback durum için ekstra güvence.
 * --------------------------------------------------------- */
body.has-aisutido,
body.aisutido-fullpage {
    background: #0b1224 !important;
    color: #fff;
}
body.has-aisutido .entry-content,
body.has-aisutido .post-content,
body.has-aisutido .site-content,
body.has-aisutido article,
body.has-aisutido main,
body.has-aisutido .container,
body.has-aisutido .wrap { background-color: transparent !important; }

/* Tema öğelerini gizle: header, sidebar, footer, page title, breadcrumbs */
body.has-aisutido .site-header,
body.has-aisutido > header,
body.has-aisutido > .site > header,
body.has-aisutido .site-navigation,
body.has-aisutido .main-navigation,
body.has-aisutido .primary-navigation,
body.has-aisutido nav.navigation,
body.has-aisutido .site-branding,
body.has-aisutido .site-description,
body.has-aisutido .site-title,
body.has-aisutido .site-footer,
body.has-aisutido > footer,
body.has-aisutido .footer-widgets,
body.has-aisutido .widget-area,
body.has-aisutido aside.sidebar,
body.has-aisutido #secondary,
body.has-aisutido .entry-header,
body.has-aisutido .page-header,
body.has-aisutido .post-header,
body.has-aisutido .entry-title,
body.has-aisutido .entry-meta,
body.has-aisutido .entry-footer,
body.has-aisutido h1.page-title,
body.has-aisutido h1.entry-title,
body.has-aisutido .breadcrumbs,
body.has-aisutido .breadcrumb,
body.has-aisutido .yoast-breadcrumbs,
body.has-aisutido nav.woocommerce-breadcrumb { display: none !important; }

/* Container'ları sıfırla — boşluk kalmasın */
body.has-aisutido .site,
body.has-aisutido #page,
body.has-aisutido #main,
body.has-aisutido #content,
body.has-aisutido #primary,
body.has-aisutido .site-main,
body.has-aisutido .content-area,
body.has-aisutido .entry-content,
body.has-aisutido .post-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* ---------------------------------------------------------
 * Full-bleed mode: shortcode tema container'ından dışarı taşar
 * ve sayfayı tam genişlik kaplar.
 * --------------------------------------------------------- */
.aisutido-app.full-bleed {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
}
/* Sticky header'ın WP admin bar'ın altında kalması */
body.admin-bar .aisutido-app .ais-header { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .aisutido-app .ais-header { top: 46px; }
}
/* Mobilde yatay scroll'u engelle */
.aisutido-app.full-bleed { overflow-x: hidden; }

.aisutido-app {
    --gold-1: #facc15;
    --gold-2: #eab308;
    --gold-3: #ca8a04;
    --purple-1: #a855f7;
    --purple-2: #7c3aed;
    --violet-1: #8b5cf6;
    --cyan-1: #22d3ee;
    --cyan-2: #06b6d4;
    --green-1: #4ade80;
    --green-2: #22c55e;
    --red-1: #f87171;
    --red-2: #dc2626;

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', 'Space Grotesk', sans-serif;
    color: #fff;
    background: linear-gradient(180deg, #0b1224 0%, #0f172a 40%, #1e1b4b 100%);
    min-height: 600px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.aisutido-app h1, .aisutido-app h2, .aisutido-app h3, .aisutido-app h4 { color: #fff; margin: 0 0 12px; line-height: 1.2; }
.aisutido-app p { color: #cbd5e1; line-height: 1.6; margin: 0 0 12px; }
.aisutido-app a { color: #facc15; text-decoration: none; }
.aisutido-app a:hover { color: #fde047; }
.aisutido-app code { background: rgba(0,0,0,0.4); padding: 2px 6px; border-radius: 4px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; }

/* ============================================================
   Login prompt (signed out)
   ============================================================ */
.aisutido-login-prompt {
    text-align: center;
    padding: 80px 24px;
    max-width: 600px;
    margin: 0 auto;
}
.aisutido-login-prompt h2 {
    font-size: 36px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #facc15, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.aisutido-login-prompt p { font-size: 16px; margin-bottom: 24px; }
.aisutido-login-prompt .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Buttons
   ============================================================ */
.aisutido-app .aisutido-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 22px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.08); color: #fff !important;
    text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600; font-size: 14px; cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
}
.aisutido-app .aisutido-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.aisutido-app .aisutido-btn:disabled, .aisutido-app .aisutido-btn[disabled] {
    opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none;
}
.aisutido-app .aisutido-btn.primary {
    background: linear-gradient(135deg, #facc15, #eab308);
    color: #0b1224 !important; border-color: transparent;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.25);
}
.aisutido-app .aisutido-btn.primary:hover {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    box-shadow: 0 10px 25px rgba(250, 204, 21, 0.4);
}
.aisutido-app .aisutido-btn.royal {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff !important; border-color: transparent;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
}
.aisutido-app .aisutido-btn.royal:hover { background: linear-gradient(135deg, #9333ea, #6d28d9); }
.aisutido-app .aisutido-btn.cyan {
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    color: #0b1224 !important; border-color: transparent;
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.3);
    font-weight: 700;
}
.aisutido-app .aisutido-btn.success { background: #16a34a; border-color: transparent; }
.aisutido-app .aisutido-btn.success:hover { background: #15803d; }
.aisutido-app .aisutido-btn.danger { background: #dc2626; border-color: transparent; }
.aisutido-app .aisutido-btn.danger:hover { background: #b91c1c; }
.aisutido-app .aisutido-btn.lg { padding: 14px 32px; font-size: 16px; }
.aisutido-app .aisutido-btn.xl { padding: 18px 40px; font-size: 18px; }
.aisutido-app .aisutido-btn.block { width: 100%; }

/* ============================================================
   Header / Top-bar
   ============================================================ */
.aisutido-app .ais-header {
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    background: rgba(11, 18, 36, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
}
.aisutido-app .ais-logo {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; user-select: none;
}
.aisutido-app .ais-logo .logo-icon {
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(250, 204, 21, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 22px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}
.aisutido-app .ais-logo .logo-text h1 {
    font-size: 22px; font-weight: 900; margin: 0;
    background: linear-gradient(135deg, #facc15, #a855f7, #facc15);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: ais-gradient-shift 4s linear infinite;
}
.aisutido-app .ais-logo .logo-text small { color: #94a3b8; font-size: 11px; font-weight: 500; }
@keyframes ais-gradient-shift { to { background-position: 200% center; } }

.aisutido-app .ais-nav {
    display: flex; align-items: center; gap: 18px;
    flex-wrap: wrap;
}
.aisutido-app .ais-nav-btn {
    background: none; border: none; color: #cbd5e1;
    font-size: 14px; font-weight: 600; cursor: pointer;
    padding: 6px 4px; position: relative;
    transition: color 0.2s;
    font-family: inherit;
}
.aisutido-app .ais-nav-btn:hover { color: #facc15; }
.aisutido-app .ais-nav-btn.active { color: #facc15; }
.aisutido-app .ais-nav-btn.active::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #facc15, #a855f7);
    border-radius: 2px;
}
.aisutido-app .ais-nav-btn .ais-icon { display: inline-flex; vertical-align: middle; margin-right: 4px; }

.aisutido-app .credit-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    padding: 6px 14px; border-radius: 999px;
    font-weight: 700; font-size: 13px;
    cursor: pointer; transition: all 0.2s;
}
.aisutido-app .credit-pill:hover {
    background: rgba(34, 197, 94, 0.22);
    border-color: rgba(34, 197, 94, 0.7);
    transform: translateY(-1px);
}
.aisutido-app .user-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    border: 2px solid rgba(250, 204, 21, 0.4);
    object-fit: cover;
    background: linear-gradient(135deg, #a855f7, #facc15);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff;
}

/* ============================================================
   Sections / Pages
   ============================================================ */
.aisutido-app .ais-page { display: none; padding: 0; }
.aisutido-app .ais-page.active { display: block; animation: ais-fade-in 0.4s ease; }
@keyframes ais-fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.aisutido-app .container {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
}

/* ============================================================
   Hero Section (Landing)
   ============================================================ */
.aisutido-app .hero {
    position: relative; padding: 60px 16px 80px;
    text-align: center; overflow: hidden;
}
.aisutido-app .hero::before, .aisutido-app .hero::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(80px);
    pointer-events: none; z-index: 0;
}
.aisutido-app .hero::before {
    top: 5%; left: 8%; width: 280px; height: 280px;
    background: rgba(139, 92, 246, 0.3);
    animation: ais-float 8s ease-in-out infinite;
}
.aisutido-app .hero::after {
    bottom: 5%; right: 8%; width: 360px; height: 360px;
    background: rgba(250, 204, 21, 0.18);
    animation: ais-float 10s ease-in-out infinite reverse;
}
@keyframes ais-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.05); }
}
.aisutido-app .hero > * { position: relative; z-index: 1; }
.aisutido-app .hero .badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 13px; font-weight: 600;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.15), rgba(250, 204, 21, 0.15));
}
.aisutido-app .hero h1 {
    font-size: clamp(36px, 8vw, 76px); font-weight: 900;
    margin-bottom: 24px; line-height: 1.05;
    letter-spacing: -0.02em;
}
.aisutido-app .text-gradient-royal {
    background: linear-gradient(135deg, #a855f7, #7c3aed, #a855f7);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: ais-gradient-shift 4s linear infinite;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}
.aisutido-app .text-gradient-gold {
    background: linear-gradient(135deg, #facc15, #ca8a04, #facc15);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: ais-gradient-shift 4s linear infinite;
    text-shadow: 0 0 30px rgba(250, 204, 21, 0.4);
}
.aisutido-app .text-gradient-cyan {
    background: linear-gradient(135deg, #22d3ee, #0ea5e9, #22d3ee);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: ais-gradient-shift 4s linear infinite;
}
.aisutido-app .hero .typed-cursor {
    display: inline-block; width: 4px; background: #facc15;
    height: 0.8em; margin-left: 4px; vertical-align: middle;
    animation: ais-blink 1s step-end infinite;
}
@keyframes ais-blink { 50% { opacity: 0; } }
.aisutido-app .hero .lead {
    font-size: clamp(15px, 2vw, 20px);
    color: #cbd5e1; max-width: 720px; margin: 0 auto 40px;
}
.aisutido-app .hero-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 14px; max-width: 600px; margin: 0 auto;
}
.aisutido-app .hero-stats .stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 18px; padding: 18px 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.aisutido-app .hero-stats .stat:hover {
    transform: translateY(-4px);
    border-color: rgba(250, 204, 21, 0.4);
}
.aisutido-app .hero-stats .stat .value {
    font-size: clamp(22px, 3vw, 36px); font-weight: 800;
    margin-bottom: 4px;
}
.aisutido-app .hero-stats .stat .label { font-size: 12px; color: #94a3b8; }

/* Floating particles */
.aisutido-app .particle {
    position: absolute; bottom: -20px;
    width: 4px; height: 4px; border-radius: 50%;
    background: #facc15; opacity: 0.6;
    animation: ais-particle 12s linear infinite;
    pointer-events: none;
}
@keyframes ais-particle {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-110vh) translateX(40px); opacity: 0; }
}

/* ============================================================
   Welcome banner (signed in)
   ============================================================ */
.aisutido-app .welcome-banner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 18px; padding: 18px 22px;
    display: flex; align-items: center; gap: 18px;
    flex-wrap: wrap; margin: 28px 24px 12px;
    backdrop-filter: blur(12px);
}
.aisutido-app .welcome-banner .pic {
    width: 50px; height: 50px; border-radius: 14px;
    background: linear-gradient(135deg, #a855f7, #facc15);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 22px;
    overflow: hidden;
}
.aisutido-app .welcome-banner .pic img { width: 100%; height: 100%; object-fit: cover; }
.aisutido-app .welcome-banner .who { flex: 1; min-width: 200px; }
.aisutido-app .welcome-banner .who .hi { font-size: 18px; font-weight: 800; }
.aisutido-app .welcome-banner .who .em { font-size: 12px; color: #94a3b8; }
.aisutido-app .welcome-banner .badges { display: flex; gap: 8px; flex-wrap: wrap; }
.aisutido-app .welcome-banner .badge-stat {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 700;
    border: 1px solid; background: rgba(255, 255, 255, 0.04);
}
.aisutido-app .welcome-banner .badge-stat.green { color: #4ade80; border-color: rgba(34, 197, 94, 0.3); background: rgba(34, 197, 94, 0.08); }
.aisutido-app .welcome-banner .badge-stat.gold { color: #facc15; border-color: rgba(250, 204, 21, 0.3); background: rgba(250, 204, 21, 0.08); }

/* ============================================================
   Section base
   ============================================================ */
.aisutido-app .section {
    padding: 60px 0;
    position: relative; overflow: hidden;
}
.aisutido-app .section.alt-bg { background: rgba(0, 0, 0, 0.3); }
.aisutido-app .section .section-head {
    text-align: center; margin-bottom: 40px;
    max-width: 700px; margin-left: auto; margin-right: auto; padding: 0 16px;
}
.aisutido-app .section h2 {
    font-size: clamp(28px, 4.5vw, 42px); font-weight: 800; margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.aisutido-app .section .lead { font-size: 16px; color: #94a3b8; }

/* ============================================================
   Before / After
   ============================================================ */
.aisutido-app .grid-2 { display: grid; gap: 24px; grid-template-columns: 1fr; padding: 0 16px; }
@media (min-width: 768px) { .aisutido-app .grid-2 { grid-template-columns: 1fr 1fr; gap: 32px; } }

.aisutido-app .ba-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px; padding: 22px;
    transition: all 0.4s ease;
}
.aisutido-app .ba-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.15);
}
.aisutido-app .ba-card h3 { text-align: center; font-size: 20px; margin-bottom: 16px; }
.aisutido-app .ba-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.aisutido-app .ba-grid.three { grid-template-columns: 1fr 1fr 1fr; }
.aisutido-app .ba-img {
    position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden;
    background: linear-gradient(135deg, #1f2937, #0f172a); padding: 4px;
}
.aisutido-app .ba-img img { width: 100%; height: 100%; object-fit: contain; }
.aisutido-app .ba-img .tag {
    position: absolute; top: 8px; left: 8px;
    padding: 4px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 700; z-index: 2;
    backdrop-filter: blur(6px);
}
.aisutido-app .ba-img .tag.before { background: rgba(220, 38, 38, 0.85); color: #fff; }
.aisutido-app .ba-img .tag.after { background: linear-gradient(135deg, #a855f7, #7c3aed); color: #fff; }
.aisutido-app .ba-img .tag.gold { background: linear-gradient(135deg, #facc15, #ca8a04); color: #0b1224; }

/* ============================================================
   Features
   ============================================================ */
.aisutido-app .features-grid {
    display: grid; grid-template-columns: 1fr; gap: 18px; padding: 0 16px;
}
@media (min-width: 640px) { .aisutido-app .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .aisutido-app .features-grid { grid-template-columns: repeat(4, 1fr); } }
.aisutido-app .feature {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px; padding: 26px;
    transition: all 0.3s ease; backdrop-filter: blur(8px);
}
.aisutido-app .feature:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(168, 85, 247, 0.05);
}
.aisutido-app .feature .icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px; font-size: 28px;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
    transition: transform 0.3s;
}
.aisutido-app .feature:hover .icon { transform: scale(1.1) rotate(8deg); }
.aisutido-app .feature h3 { font-size: 18px; margin-bottom: 8px; }
.aisutido-app .feature p { font-size: 14px; color: #94a3b8; margin: 0; }

/* ============================================================
   Testimonials
   ============================================================ */
.aisutido-app .testimonials-grid {
    display: grid; grid-template-columns: 1fr; gap: 22px; padding: 0 16px;
}
@media (min-width: 768px) { .aisutido-app .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.aisutido-app .testimonial {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px; padding: 28px;
}
.aisutido-app .testimonial .quote-mark {
    position: absolute; top: -14px; left: -14px;
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #facc15, #ca8a04);
    display: flex; align-items: center; justify-content: center;
    color: #0b1224; font-weight: 900; font-size: 24px;
    box-shadow: 0 6px 16px rgba(250, 204, 21, 0.4);
}
.aisutido-app .testimonial .stars { color: #facc15; margin-bottom: 14px; font-size: 16px; }
.aisutido-app .testimonial .content { color: #cbd5e1; font-style: italic; margin-bottom: 16px; font-size: 14px; }
.aisutido-app .testimonial .who { display: flex; align-items: center; gap: 12px; }
.aisutido-app .testimonial .who .ava {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff;
}
.aisutido-app .testimonial .who .name { font-weight: 700; font-size: 14px; }
.aisutido-app .testimonial .who .role { font-size: 12px; color: #94a3b8; }

/* ============================================================
   Pricing
   ============================================================ */
.aisutido-app .pricing-grid {
    display: grid; grid-template-columns: 1fr; gap: 22px;
    max-width: 1080px; margin: 0 auto; padding: 0 16px;
}
@media (min-width: 768px) { .aisutido-app .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.aisutido-app .plan {
    position: relative;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px; padding: 32px 22px;
    transition: all 0.4s ease;
}
.aisutido-app .plan.popular {
    background: rgba(15, 23, 42, 0.85);
    border: 2px solid #a855f7;
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(168, 85, 247, 0.18);
}
.aisutido-app .plan .popular-tag {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    padding: 4px 16px; border-radius: 999px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff; font-size: 12px; font-weight: 700;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}
.aisutido-app .plan h3 { font-size: 18px; margin-bottom: 4px; text-align: center; }
.aisutido-app .plan .price {
    text-align: center; margin-bottom: 24px;
    display: flex; align-items: baseline; justify-content: center; gap: 4px;
}
.aisutido-app .plan .price .num { font-size: 42px; font-weight: 900; }
.aisutido-app .plan .price .per { color: #94a3b8; font-size: 14px; }
.aisutido-app .plan ul { list-style: none; padding: 0; margin: 0 0 24px; }
.aisutido-app .plan li {
    padding: 8px 0; font-size: 14px; color: #cbd5e1;
    display: flex; align-items: center; gap: 8px;
}
.aisutido-app .plan li::before {
    content: '✓'; color: #4ade80; font-weight: 700; flex-shrink: 0;
}
.aisutido-app .plan.popular li::before { color: #facc15; }

/* ============================================================
   Footer (Landing)
   ============================================================ */
.aisutido-app .ais-footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 24px 24px; margin-top: 40px;
    position: relative;
}
.aisutido-app .ais-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, #facc15, #a855f7, transparent);
}
.aisutido-app .footer-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
    max-width: 1180px; margin: 0 auto;
}
@media (min-width: 768px) { .aisutido-app .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.aisutido-app .ais-footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.aisutido-app .ais-footer ul { list-style: none; padding: 0; margin: 0; }
.aisutido-app .ais-footer li { margin-bottom: 8px; }
.aisutido-app .ais-footer a { color: #94a3b8; font-size: 14px; }
.aisutido-app .ais-footer a:hover { color: #facc15; }
.aisutido-app .ais-footer .copyright {
    text-align: center; color: #64748b; font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 18px; margin-top: 24px;
}

/* ============================================================
   Studio Form (create page)
   ============================================================ */
.aisutido-app .studio-wrap {
    padding: 40px 16px;
    max-width: 1080px; margin: 0 auto;
}
.aisutido-app .studio-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 22px; padding: 26px;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.aisutido-app .studio-card.cyan { border-color: rgba(34, 211, 238, 0.3); }
.aisutido-app .studio-card .card-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px; flex-wrap: wrap; gap: 8px;
}
.aisutido-app .studio-card .card-head h2 { font-size: 22px; margin: 0; }
.aisutido-app .powered-by {
    font-size: 11px; padding: 4px 10px; border-radius: 6px;
    background: rgba(168, 85, 247, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Form */
.aisutido-app label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
.aisutido-app .label-hint { font-size: 11px; color: #94a3b8; font-weight: 500; margin-left: 6px; }
.aisutido-app input[type=text], .aisutido-app input[type=number], .aisutido-app input[type=password],
.aisutido-app input[type=url], .aisutido-app textarea, .aisutido-app select {
    width: 100%; padding: 11px 14px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px; color: #fff;
    font-family: inherit; font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.aisutido-app input:focus, .aisutido-app textarea:focus, .aisutido-app select:focus {
    outline: none; border-color: rgba(250, 204, 21, 0.6);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.15);
}
.aisutido-app textarea { resize: vertical; min-height: 90px; }
.aisutido-app .row { display: flex; gap: 12px; flex-wrap: wrap; }
.aisutido-app .row > * { flex: 1; min-width: 140px; }

/* Mode tabs */
.aisutido-app .mode-tabs {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
    margin-bottom: 20px;
}
@media (min-width: 640px) { .aisutido-app .mode-tabs { grid-template-columns: repeat(4, 1fr); } }
.aisutido-app .mode-tab {
    padding: 14px 10px; border-radius: 12px; cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s; text-align: center;
    font-family: inherit;
    color: #cbd5e1;
}
.aisutido-app .mode-tab:hover { border-color: rgba(255, 255, 255, 0.25); }
.aisutido-app .mode-tab.active {
    background: rgba(250, 204, 21, 0.1);
    border-color: #facc15;
    color: #facc15;
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
}
.aisutido-app .mode-tab .icon { font-size: 22px; margin-bottom: 4px; }
.aisutido-app .mode-tab .label { font-size: 13px; font-weight: 700; }
.aisutido-app .mode-tab .meta { font-size: 10px; color: #94a3b8; margin-top: 2px; }

/* Preset grid */
.aisutido-app .preset-grid {
    display: grid; gap: 8px; margin-bottom: 14px;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
.aisutido-app .preset-cell {
    padding: 12px 6px; border-radius: 12px; cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s; text-align: center;
    font-family: inherit; color: #cbd5e1;
}
.aisutido-app .preset-cell:hover { border-color: rgba(255, 255, 255, 0.3); }
.aisutido-app .preset-cell.active {
    background: rgba(250, 204, 21, 0.1);
    border-color: #facc15; color: #fff;
}
.aisutido-app .preset-cell .icon { font-size: 24px; }
.aisutido-app .preset-cell .label { font-size: 11px; margin-top: 4px; line-height: 1.2; font-weight: 600; }

.aisutido-app .preset-info {
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: 10px; padding: 10px 14px;
    margin-bottom: 14px; font-size: 13px;
}
.aisutido-app .preset-info strong { color: #facc15; }

/* Image upload */
.aisutido-app .upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.18);
    border-radius: 14px; padding: 32px 16px;
    text-align: center; cursor: pointer;
    color: #94a3b8; transition: all 0.2s;
    background: rgba(0, 0, 0, 0.2);
}
.aisutido-app .upload-zone:hover {
    border-color: rgba(250, 204, 21, 0.5);
    background: rgba(250, 204, 21, 0.05);
    color: #fff;
}
.aisutido-app .upload-zone .upload-icon { font-size: 32px; margin-bottom: 8px; display: block; }
.aisutido-app .upload-zone small { display: block; font-size: 11px; color: #64748b; margin-top: 6px; }
.aisutido-app .upload-preview { position: relative; display: inline-block; margin: 4px; }
.aisutido-app .upload-preview img {
    max-height: 180px; max-width: 100%; border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: block;
}
.aisutido-app .upload-preview .remove {
    position: absolute; top: 6px; right: 6px;
    background: #dc2626; color: #fff;
    border: none; border-radius: 50%;
    width: 26px; height: 26px; cursor: pointer;
    font-size: 14px; line-height: 1; padding: 0;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Cost summary */
.aisutido-app .cost-summary {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px; border-radius: 12px; margin: 14px 0;
    flex-wrap: wrap; gap: 8px;
}
.aisutido-app .cost-summary .left { font-size: 14px; }
.aisutido-app .cost-summary .left strong { color: #facc15; font-size: 16px; margin-left: 6px; }
.aisutido-app .cost-summary .right { color: #4ade80; font-weight: 700; }
.aisutido-app .cost-summary .right.insufficient { color: #f87171; }

/* Big submit btn */
.aisutido-app .submit-btn {
    width: 100%; padding: 14px 22px;
    background: linear-gradient(135deg, #facc15, #eab308);
    color: #0b1224 !important;
    font-weight: 800; font-size: 16px;
    border: none; border-radius: 14px; cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.3);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: inherit;
}
.aisutido-app .submit-btn:hover { background: linear-gradient(135deg, #eab308, #ca8a04); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(250, 204, 21, 0.45); }
.aisutido-app .submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.aisutido-app .submit-btn.cyan { background: linear-gradient(135deg, #22d3ee, #06b6d4); box-shadow: 0 8px 25px rgba(34, 211, 238, 0.3); }
.aisutido-app .submit-btn.cyan:hover { background: linear-gradient(135deg, #06b6d4, #0891b2); }

/* Result grid */
.aisutido-app .result-grid {
    display: grid; gap: 12px; margin-top: 16px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.aisutido-app .result-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 14px; overflow: hidden;
    transition: all 0.3s ease;
}
.aisutido-app .result-card:hover { border-color: rgba(168, 85, 247, 0.8); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(168, 85, 247, 0.25); }
.aisutido-app .result-card img, .aisutido-app .result-card video {
    width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
}
.aisutido-app .result-card .actions {
    padding: 10px 12px;
    display: flex; gap: 8px; justify-content: space-between; align-items: center;
    font-size: 12px;
}

/* ============================================================
   Alerts / Loading
   ============================================================ */
.aisutido-app .alert {
    padding: 12px 14px; border-radius: 10px; margin: 12px 0;
    font-size: 14px; line-height: 1.5;
    display: flex; gap: 10px; align-items: flex-start;
}
.aisutido-app .alert .ico { flex-shrink: 0; font-size: 16px; line-height: 1; margin-top: 1px; }
.aisutido-app .alert.error { background: rgba(220, 38, 38, 0.12); border: 1px solid rgba(220, 38, 38, 0.4); color: #fca5a5; }
.aisutido-app .alert.success { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.4); color: #86efac; }
.aisutido-app .alert.info { background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.4); color: #93c5fd; }
.aisutido-app .alert.warning { background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.4); color: #fcd34d; }

.aisutido-app .spinner {
    display: inline-block; width: 18px; height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #facc15;
    border-radius: 50%;
    animation: ais-spin 0.8s linear infinite;
}
@keyframes ais-spin { to { transform: rotate(360deg); } }
.aisutido-app .spinner.lg { width: 32px; height: 32px; border-width: 3px; }
.aisutido-app .ais-loading {
    text-align: center; padding: 60px 16px; color: #94a3b8;
}

/* ============================================================
   History / Account page
   ============================================================ */
.aisutido-app .account-head {
    display: flex; align-items: center; gap: 18px;
    margin-bottom: 24px; flex-wrap: wrap;
    padding: 0 16px;
}
.aisutido-app .account-head .pic {
    width: 72px; height: 72px; border-radius: 18px;
    background: linear-gradient(135deg, #a855f7, #facc15);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 28px; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.aisutido-app .account-head .pic img { width: 100%; height: 100%; object-fit: cover; }
.aisutido-app .account-head .who h1 {
    font-size: clamp(24px, 3vw, 36px); font-weight: 900; margin: 0;
}
.aisutido-app .account-head .who .em { color: #94a3b8; font-size: 14px; }

/* Stat cards */
.aisutido-app .stat-cards {
    display: grid; gap: 12px; margin-bottom: 22px; padding: 0 16px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .aisutido-app .stat-cards { grid-template-columns: repeat(4, 1fr); } }
.aisutido-app .stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; padding: 16px;
}
.aisutido-app .stat-card.green { border-color: rgba(34, 197, 94, 0.3); background: rgba(34, 197, 94, 0.04); }
.aisutido-app .stat-card.gold { border-color: rgba(250, 204, 21, 0.3); background: rgba(250, 204, 21, 0.04); }
.aisutido-app .stat-card .lbl {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.05em; margin-bottom: 8px;
}
.aisutido-app .stat-card .lbl.green { color: #4ade80; }
.aisutido-app .stat-card .lbl.gold { color: #facc15; }
.aisutido-app .stat-card .lbl.blue { color: #60a5fa; }
.aisutido-app .stat-card .lbl.purple { color: #c4b5fd; }
.aisutido-app .stat-card .val { font-size: 26px; font-weight: 900; }
.aisutido-app .stat-card .sub { font-size: 11px; color: #94a3b8; margin-top: 4px; }

/* Tabs */
.aisutido-app .sub-tabs {
    display: flex; gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 16px 18px; flex-wrap: wrap;
}
.aisutido-app .sub-tab {
    padding: 12px 18px; cursor: pointer;
    color: #94a3b8; border: none; background: none;
    font-weight: 700; font-size: 14px;
    border-bottom: 2px solid transparent;
    font-family: inherit;
    display: inline-flex; align-items: center; gap: 6px;
}
.aisutido-app .sub-tab:hover { color: #fff; }
.aisutido-app .sub-tab.active { color: #facc15; border-bottom-color: #facc15; }

/* History grid */
.aisutido-app .hist-grid {
    display: grid; gap: 18px; padding: 0 16px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .aisutido-app .hist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .aisutido-app .hist-grid { grid-template-columns: repeat(3, 1fr); } }
.aisutido-app .hist-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 18px; overflow: hidden;
    transition: all 0.3s ease;
}
.aisutido-app .hist-item:hover {
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(168, 85, 247, 0.2);
}
.aisutido-app .hist-item .media-wrap {
    padding: 8px;
    display: grid; gap: 4px;
    grid-template-columns: 1fr;
}
.aisutido-app .hist-item .media-wrap.duo { grid-template-columns: 1fr 1fr; }
.aisutido-app .hist-item .media {
    position: relative;
    aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden;
    background: #0f172a;
}
.aisutido-app .hist-item .media img,
.aisutido-app .hist-item .media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.aisutido-app .hist-item .media .pill {
    position: absolute; top: 6px; right: 6px;
    background: rgba(0, 0, 0, 0.75); color: #facc15;
    padding: 2px 8px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
}
.aisutido-app .hist-item .meta { padding: 12px 14px; font-size: 13px; }
.aisutido-app .hist-item .meta .row1 { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
.aisutido-app .hist-item .meta .size { color: #cbd5e1; font-weight: 600; }
.aisutido-app .hist-item .meta .cost {
    margin-left: auto;
    font-size: 11px; padding: 2px 8px;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.3);
    color: #facc15; font-weight: 700;
    border-radius: 6px;
}
.aisutido-app .hist-item .prompt {
    color: #cbd5e1; font-size: 12px; line-height: 1.4;
    max-height: 50px; overflow: hidden;
    margin: 6px 0;
}
.aisutido-app .hist-item .date { font-size: 11px; color: #64748b; }
.aisutido-app .hist-item .actions {
    display: flex; gap: 6px; padding: 0 12px 12px;
}
.aisutido-app .hist-item .actions a, .aisutido-app .hist-item .actions button {
    flex: 1;
    font-size: 12px; padding: 8px;
    background: rgba(168, 85, 247, 0.6); color: #fff !important;
    border: none; border-radius: 8px;
    cursor: pointer; text-decoration: none; text-align: center;
    font-weight: 600;
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    font-family: inherit;
}
.aisutido-app .hist-item .actions a:hover, .aisutido-app .hist-item .actions button:hover {
    background: rgba(168, 85, 247, 0.85);
}

/* Transactions table */
.aisutido-app .txn-table-wrap {
    margin: 0 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px; overflow: hidden;
}
.aisutido-app .txn-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.aisutido-app .txn-table th {
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 14px; text-align: left;
    font-size: 12px; font-weight: 700; color: #cbd5e1;
    text-transform: uppercase; letter-spacing: 0.04em;
}
.aisutido-app .txn-table td {
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
}
.aisutido-app .txn-table tr:hover td { background: rgba(255, 255, 255, 0.02); }
.aisutido-app .txn-table .tdate { color: #64748b; font-size: 11px; }
.aisutido-app .txn-table .tdelta { text-align: right; font-weight: 700; font-family: ui-monospace, monospace; }
.aisutido-app .txn-table .tdelta.pos { color: #4ade80; }
.aisutido-app .txn-table .tdelta.neg { color: #f87171; }
.aisutido-app .txn-table .tbal { text-align: right; font-family: ui-monospace, monospace; }

/* Topup card list */
.aisutido-app .topup-list { display: grid; gap: 10px; padding: 0 16px; margin-bottom: 18px; }
.aisutido-app .topup-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid;
    border-radius: 12px; padding: 14px 16px;
}
.aisutido-app .topup-card.pending { border-color: rgba(251, 191, 36, 0.4); }
.aisutido-app .topup-card.approved { border-color: rgba(34, 197, 94, 0.4); }
.aisutido-app .topup-card.rejected { border-color: rgba(220, 38, 38, 0.4); }
.aisutido-app .topup-card .row1 { display: flex; gap: 12px; align-items: center; }
.aisutido-app .topup-card .amount { font-weight: 900; font-size: 18px; }
.aisutido-app .topup-card .status-tag {
    margin-left: auto; padding: 4px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 700;
}
.aisutido-app .topup-card.pending .status-tag { background: rgba(251, 191, 36, 0.2); color: #fcd34d; }
.aisutido-app .topup-card.approved .status-tag { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.aisutido-app .topup-card.rejected .status-tag { background: rgba(220, 38, 38, 0.2); color: #fca5a5; }
.aisutido-app .topup-card .date { font-size: 11px; color: #64748b; }
.aisutido-app .topup-card .msg { margin-top: 8px; font-size: 13px; color: #cbd5e1; font-style: italic; }
.aisutido-app .topup-card .resp {
    margin-top: 6px; padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px; color: #94a3b8;
}

/* ============================================================
   Modal
   ============================================================ */
.aisutido-modal {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex; align-items: flex-start; justify-content: center;
    padding: 4vh 16px; z-index: 99999;
    animation: ais-fade-in 0.25s ease;
}
.aisutido-modal .modal-card {
    background: linear-gradient(180deg, #1e293b, #0f172a);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 18px;
    width: 100%; max-width: 480px;
    padding: 24px; color: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    animation: ais-pop-in 0.3s ease;
}
@keyframes ais-pop-in { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.aisutido-modal .modal-card h3 { font-size: 20px; margin-top: 0; }
.aisutido-modal .modal-card .modal-actions {
    display: flex; gap: 10px; margin-top: 18px;
    justify-content: flex-end;
}
.aisutido-modal .quick-amounts {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 6px; margin-top: 8px;
}
.aisutido-modal .quick-amounts button {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #cbd5e1; padding: 8px; border-radius: 8px;
    cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600;
}
.aisutido-modal .quick-amounts button:hover {
    border-color: rgba(34, 197, 94, 0.5); color: #86efac;
}

/* Result Modal */
.aisutido-modal.result-modal .modal-card { max-width: 720px; border-color: rgba(168, 85, 247, 0.4); }
.aisutido-modal.result-modal .result-media {
    width: 100%; max-height: 60vh; object-fit: contain;
    border-radius: 12px; background: #0b1224;
}

/* ============================================================
   Auth Modal — Giriş / Kayıt (yeniden tasarlandı)
   ============================================================ */
.aisutido-modal.auth-modal {
    align-items: center;          /* dikey ortalama */
    padding: 16px;
}
.aisutido-modal.auth-modal .auth-card {
    width: 100%;
    max-width: 480px;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(168, 85, 247, 0.15);
    position: relative;
}
.aisutido-modal.auth-modal .auth-close {
    position: absolute; top: 10px; right: 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 22px; line-height: 1;
    cursor: pointer; z-index: 5;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    font-family: inherit;
    padding: 0;
}
.aisutido-modal.auth-modal .auth-close:hover {
    background: rgba(220, 38, 38, 0.4);
    color: #fff;
    transform: rotate(90deg);
}

/* Tabs */
.aisutido-modal.auth-modal .auth-tabs {
    display: flex; margin: 0;
    background: rgba(0, 0, 0, 0.4);
}
.aisutido-modal.auth-modal .auth-tab {
    flex: 1; padding: 16px 14px;
    background: none; border: none;
    color: #94a3b8;
    font-weight: 700; font-size: 14px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-family: inherit;
    transition: all 0.2s;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.aisutido-modal.auth-modal .auth-tab:hover {
    color: #cbd5e1;
    background: rgba(168, 85, 247, 0.08);
}
.aisutido-modal.auth-modal .auth-tab.active {
    color: #facc15;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.15), transparent);
    border-bottom-color: #facc15;
}
.aisutido-modal.auth-modal .auth-tab-ico { font-size: 16px; }

/* Pane */
.aisutido-modal.auth-modal .auth-pane {
    padding: 28px 28px 24px;
}
.aisutido-modal.auth-modal .auth-pane h3 {
    font-size: 26px; font-weight: 800;
    margin: 0 0 6px;
    background: linear-gradient(135deg, #facc15 0%, #a855f7 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.aisutido-modal.auth-modal .auth-sub {
    font-size: 14px; color: #94a3b8;
    margin: 0 0 22px;
    line-height: 1.5;
}
.aisutido-modal.auth-modal .auth-sub strong { color: #cbd5e1; }

/* Form */
.aisutido-modal.auth-modal .form-group { margin-bottom: 14px; }
.aisutido-modal.auth-modal .form-row {
    display: grid; gap: 10px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0;
}
.aisutido-modal.auth-modal .form-row .form-group { margin-bottom: 14px; }
.aisutido-modal.auth-modal label {
    display: block;
    font-size: 12px; font-weight: 700;
    color: #cbd5e1;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}
.aisutido-modal.auth-modal label .req { color: #f87171; margin-left: 2px; }
.aisutido-modal.auth-modal label small {
    text-transform: none;
    font-weight: 400;
    color: #64748b;
    margin-left: 4px;
    letter-spacing: 0;
}
.aisutido-modal.auth-modal input {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
}
.aisutido-modal.auth-modal input::placeholder { color: #475569; }
.aisutido-modal.auth-modal input:focus {
    outline: none;
    border-color: rgba(250, 204, 21, 0.6);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.15);
    background: rgba(0, 0, 0, 0.6);
}

/* Submit button */
.aisutido-modal.auth-modal .auth-submit {
    width: 100%;
    padding: 14px 22px;
    margin-top: 8px;
    border: none; border-radius: 12px;
    font-weight: 800; font-size: 15px;
    cursor: pointer; font-family: inherit;
    transition: all 0.2s;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.aisutido-modal.auth-modal .auth-submit.primary {
    background: linear-gradient(135deg, #facc15, #eab308);
    color: #0b1224;
    box-shadow: 0 8px 22px rgba(250, 204, 21, 0.3);
}
.aisutido-modal.auth-modal .auth-submit.primary:hover {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(250, 204, 21, 0.45);
}
.aisutido-modal.auth-modal .auth-submit.success {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.3);
}
.aisutido-modal.auth-modal .auth-submit.success:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.45);
}

.aisutido-modal.auth-modal .auth-switch {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}
.aisutido-modal.auth-modal .auth-link {
    background: none; border: none;
    color: #facc15; font-weight: 700;
    cursor: pointer; font-size: inherit;
    font-family: inherit;
    padding: 0; margin-left: 4px;
    text-decoration: underline;
}
.aisutido-modal.auth-modal .auth-link:hover { color: #fde047; }

/* Mobile */
@media (max-width: 540px) {
    .aisutido-modal.auth-modal { padding: 0; align-items: stretch; }
    .aisutido-modal.auth-modal .auth-card {
        max-width: 100%;
        min-height: 100vh;
        border-radius: 0; border-width: 0;
    }
    .aisutido-modal.auth-modal .auth-pane { padding: 24px 20px 20px; }
    .aisutido-modal.auth-modal .auth-pane h3 { font-size: 22px; }
    .aisutido-modal.auth-modal .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   Studio2 — cyan tema
   ============================================================ */
.aisutido-app.theme-cyan .hero::before { background: rgba(34, 211, 238, 0.25); }
.aisutido-app.theme-cyan .hero::after { background: rgba(6, 182, 212, 0.18); }

/* ============================================================
   Empty state
   ============================================================ */
.aisutido-app .empty-state {
    text-align: center; padding: 60px 24px;
    color: #94a3b8;
}
.aisutido-app .empty-state .icon { font-size: 60px; margin-bottom: 14px; opacity: 0.4; }
.aisutido-app .empty-state h3 { font-size: 18px; margin-bottom: 8px; color: #cbd5e1; }

/* ============================================================
   Responsive — Tablet & Mobile
   ============================================================ */
@media (max-width: 900px) {
    .aisutido-app .ais-nav { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
    .aisutido-app .ais-nav-btn { font-size: 13px; padding: 4px 2px; }
    .aisutido-app .container { padding: 0 16px; }
}

@media (max-width: 720px) {
    .aisutido-app .ais-header {
        padding: 10px 14px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .aisutido-app .ais-logo .logo-icon { width: 36px; height: 36px; font-size: 18px; }
    .aisutido-app .ais-logo .logo-text h1 { font-size: 18px; }
    .aisutido-app .ais-logo .logo-text small { display: none; }

    /* Mobilde nav alta kaysın, full-width */
    .aisutido-app .ais-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    .aisutido-app .ais-nav-btn { font-size: 12px; }
    .aisutido-app .credit-pill { padding: 4px 10px; font-size: 12px; }
    .aisutido-app .credit-pill, .aisutido-app .user-avatar { order: 2; }

    /* Hero */
    .aisutido-app .hero { padding: 36px 12px 50px; }
    .aisutido-app .hero h1 { font-size: clamp(28px, 9vw, 48px); }
    .aisutido-app .hero .lead { font-size: 14px; padding: 0 8px; }
    .aisutido-app .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 0 8px; }
    .aisutido-app .hero-stats .stat { padding: 12px 8px; }
    .aisutido-app .hero-stats .stat .value { font-size: 22px; }

    /* Sections */
    .aisutido-app .section { padding: 36px 0; }
    .aisutido-app .section h2 { font-size: clamp(22px, 6vw, 32px); }
    .aisutido-app .ba-grid.three { grid-template-columns: 1fr 1fr; }
    .aisutido-app .ba-grid .ba-img:nth-child(3) { grid-column: 1 / -1; }
    .aisutido-app .ba-img { aspect-ratio: 4/5; }

    /* Welcome banner */
    .aisutido-app .welcome-banner {
        margin: 18px 12px 6px; padding: 14px 16px;
        flex-direction: column; align-items: flex-start; gap: 12px;
    }
    .aisutido-app .welcome-banner .badges { width: 100%; }
    .aisutido-app .welcome-banner .badges > * { flex: 1; min-width: 0; }

    /* Studio */
    .aisutido-app .studio-wrap { padding: 24px 12px; }
    .aisutido-app .studio-card { padding: 18px; border-radius: 16px; }
    .aisutido-app .mode-tabs { grid-template-columns: 1fr 1fr; }
    .aisutido-app .preset-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
    .aisutido-app .preset-cell .label { font-size: 10px; }

    /* Account head */
    .aisutido-app .account-head { padding: 0 12px; gap: 12px; }
    .aisutido-app .account-head .pic { width: 56px; height: 56px; font-size: 22px; }
    .aisutido-app .account-head .who h1 { font-size: 22px; }

    /* Stat cards */
    .aisutido-app .stat-cards { grid-template-columns: 1fr 1fr; padding: 0 12px; }
    .aisutido-app .stat-card { padding: 12px; }
    .aisutido-app .stat-card .val { font-size: 22px; }

    /* Tabs/lists padding'lerini mobile'a uyumla */
    .aisutido-app .sub-tabs { margin: 0 12px 14px; }
    .aisutido-app .sub-tab { padding: 10px 12px; font-size: 13px; }
    .aisutido-app .hist-grid { padding: 0 12px; gap: 14px; }
    .aisutido-app .topup-list { padding: 0 12px; }
    .aisutido-app .txn-table-wrap { margin: 0 12px; overflow-x: auto; }
    .aisutido-app .txn-table { min-width: 540px; }
}

@media (max-width: 480px) {
    .aisutido-app .hero h1 { font-size: 26px; }
    .aisutido-app .hero .lead { font-size: 13px; }
    .aisutido-app .hero-stats .stat .value { font-size: 18px; }
    .aisutido-app .hero-stats .stat .label { font-size: 10px; }
    .aisutido-app .ba-grid.three { grid-template-columns: 1fr; }
    .aisutido-app .ba-grid .ba-img:nth-child(3) { grid-column: auto; }
    .aisutido-app .pricing-grid { padding: 0 12px; }
    .aisutido-app .features-grid { padding: 0 12px; }
    .aisutido-app .testimonials-grid { padding: 0 12px; }
    .aisutido-app .ais-nav-btn { font-size: 11px; padding: 4px 1px; }
    .aisutido-app .stat-cards { grid-template-columns: 1fr; }

    /* Hero başlığı/CTA mobile uyumu */
    .aisutido-app .hero .aisutido-btn.xl { font-size: 14px; padding: 12px 18px; }
}
