/* ============================================
   WINPAGE MAIN STYLES - COMPLETE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --wp-gradient-1: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --wp-gradient-2: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --wp-dark: #0a0a12;
    --wp-dark-2: #12121e;
    --wp-dark-3: #1a1a2e;
    --wp-white: #ffffff;
    --wp-green: #10b981;
    --wp-red: #ef4444;
    --wp-yellow: #f59e0b;
    --wp-radius: 16px;
    --wp-radius-sm: 10px;
    --wp-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body { font-family: var(--wp-font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.gradient-text {
    background: var(--wp-gradient-1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === BUTTONS === */
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; background: var(--wp-gradient-1);
    color: #fff; border: none; border-radius: 50px;
    font-family: var(--wp-font); font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all 0.3s; text-decoration: none;
    box-shadow: 0 8px 30px rgba(99,102,241,0.35);
    white-space: nowrap; line-height: 1.4;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(99,102,241,0.45); }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; background: rgba(255,255,255,0.08);
    color: #fff; border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px; font-family: var(--wp-font); font-size: 15px;
    font-weight: 600; cursor: pointer; transition: all 0.3s;
    text-decoration: none; white-space: nowrap; line-height: 1.4;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

/* Form Messages */
.form-message { margin: 12px 0; }
.msg-success { padding: 12px 16px; background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); border-radius: 10px; font-size: 14px; color: #6ee7b7; }
.msg-error { padding: 12px 16px; background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); border-radius: 10px; font-size: 14px; color: #fca5a5; }

/* =============================================
   HOME PAGE
   ============================================= */
.wp-home { background: var(--wp-dark); color: #fff; overflow-x: hidden; width: 100%; }

/* Hero */
.home-hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    gap: 50px; padding: 100px 5% 80px; position: relative; overflow: hidden; flex-wrap: wrap;
}
.home-hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(99,102,241,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(168,85,247,0.1) 0%, transparent 60%);
}
.home-hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; animation: orbFloat 8s ease-in-out infinite; }
.orb1 { width: 350px; height: 350px; background: rgba(99,102,241,0.3); top: -80px; left: -80px; }
.orb2 { width: 250px; height: 250px; background: rgba(236,72,153,0.2); bottom: -40px; right: -40px; animation-delay: -3s; }
.orb3 { width: 180px; height: 180px; background: rgba(14,165,233,0.25); top: 50%; left: 50%; animation-delay: -5s; }
.home-hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                       linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}
@keyframes orbFloat { 0%,100%{transform:translate(0,0)} 33%{transform:translate(15px,-20px)} 66%{transform:translate(-10px,15px)} }

.home-hero-content { flex: 1 1 300px; max-width: 580px; position: relative; z-index: 2; }
.home-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3);
    border-radius: 50px; font-size: 12px; font-weight: 600; color: #a5b4fc; margin-bottom: 22px;
}
.home-hero-content h1 { font-size: clamp(30px, 5vw, 58px); font-weight: 800; line-height: 1.1; margin-bottom: 18px; }
.home-hero-content > p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.65); margin-bottom: 32px; max-width: 480px; }
.home-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.home-hero-stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.home-hero-stats .stat strong { display: block; font-size: 24px; font-weight: 800; background: var(--wp-gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.home-hero-stats .stat span { font-size: 12px; color: rgba(255,255,255,0.5); }

.home-hero-visual { flex: 1 1 260px; max-width: 420px; position: relative; z-index: 2; }
.mockup-browser { background: var(--wp-dark-2); border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 25px 60px rgba(0,0,0,0.4); }
.mockup-dots { display: flex; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.05); }
.mockup-dots span { width: 9px; height: 9px; border-radius: 50%; }
.mockup-dots span:nth-child(1){background:#ff5f56} .mockup-dots span:nth-child(2){background:#ffbd2e} .mockup-dots span:nth-child(3){background:#27c93f}
.mockup-screen { padding: 20px; }
.mockup-header { height: 7px; width: 40%; background: rgba(255,255,255,0.08); border-radius: 4px; margin-bottom: 20px; }
.mockup-content { text-align: center; }
.mockup-title { height: 16px; width: 70%; background: rgba(99,102,241,0.3); border-radius: 5px; margin: 0 auto 10px; }
.mockup-text { height: 7px; width: 50%; background: rgba(255,255,255,0.06); border-radius: 4px; margin: 0 auto 16px; }
.mockup-btn { height: 26px; width: 100px; background: var(--wp-gradient-1); border-radius: 50px; margin: 0 auto 20px; }
.mockup-cards { display: flex; gap: 8px; }
.mockup-card { flex: 1; height: 65px; background: rgba(255,255,255,0.04); border-radius: 8px; border: 1px solid rgba(255,255,255,0.06); }

/* Sections */
.home-features { padding: 90px 5%; background: var(--wp-dark-2); }
.home-section-title { font-size: clamp(24px, 4vw, 40px); font-weight: 800; text-align: center; margin-bottom: 10px; line-height: 1.2; }
.home-section-sub { text-align: center; color: rgba(255,255,255,0.5); font-size: 15px; margin-bottom: 45px; max-width: 480px; margin-left: auto; margin-right: auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1050px; margin: 0 auto; }
.feature-card { padding: 28px 22px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--wp-radius); transition: all 0.3s; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(99,102,241,0.3); }
.feature-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 18px; color: #fff; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* Steps */
.home-how { padding: 90px 5%; background: var(--wp-dark); }
.steps-grid { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; max-width: 950px; margin: 45px auto 0; }
.step-card { flex: 1; min-width: 220px; max-width: 280px; padding: 35px 25px; text-align: center; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--wp-radius); transition: all 0.3s; }
.step-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.3); }
.step-number { font-size: 44px; font-weight: 800; background: var(--wp-gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 12px; }
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.step-arrow { color: rgba(255,255,255,0.12); font-size: 22px; flex-shrink: 0; }

/* Templates Showcase */
.home-templates { padding: 90px 5%; background: var(--wp-dark-2); }
.templates-showcase { display: flex; gap: 16px; overflow-x: auto; padding: 8px 0 25px; max-width: 1100px; margin: 0 auto; -webkit-overflow-scrolling: touch; }
.templates-showcase::-webkit-scrollbar { height: 6px; }
.templates-showcase::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.3); border-radius: 3px; }
.template-preview-card { min-width: 200px; max-width: 200px; flex-shrink: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); transition: all 0.3s; }
.template-preview-card:hover { transform: translateY(-4px); }
.template-preview-bg { height: 150px; display: flex; align-items: center; justify-content: center; padding: 16px; }
.template-preview-mock { width: 100%; padding: 12px; border-radius: 6px; background: rgba(0,0,0,0.2); }
.tpm-header { height: 5px; width: 50%; border-radius: 3px; margin-bottom: 10px; }
.tpm-title { height: 10px; width: 70%; border-radius: 4px; margin-bottom: 6px; }
.tpm-text { height: 5px; width: 90%; border-radius: 3px; margin-bottom: 10px; }
.tpm-btn { height: 14px; width: 50px; border-radius: 8px; }
.tpm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 6px; }
.tpm-item { height: 28px; border-radius: 4px; }
.template-preview-info { padding: 12px; }
.template-type { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #a5b4fc; background: rgba(99,102,241,0.15); padding: 2px 8px; border-radius: 50px; }
.template-type.cat-type { color: #6ee7b7; background: rgba(16,185,129,0.15); }
.template-preview-info h4 { font-size: 14px; font-weight: 700; margin: 8px 0 3px; }
.template-preview-info p { font-size: 11px; color: rgba(255,255,255,0.4); }

/* Pricing Home */
.home-pricing { padding: 90px 5%; background: var(--wp-dark); }
.pricing-card-home { max-width: 420px; margin: 45px auto 0; padding: 45px 35px; background: linear-gradient(145deg, rgba(99,102,241,0.1), rgba(168,85,247,0.05)); border: 1px solid rgba(99,102,241,0.2); border-radius: 22px; text-align: center; position: relative; }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 18px; background: var(--wp-gradient-1); border-radius: 50px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pricing-amount { margin: 18px 0 28px; display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.pricing-amount .currency { font-size: 24px; font-weight: 600; opacity: 0.6; }
.pricing-amount .number { font-size: 64px; font-weight: 800; background: var(--wp-gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pricing-amount .period { font-size: 15px; opacity: 0.5; }
.pricing-features-list { list-style: none; text-align: left; margin-bottom: 30px; }
.pricing-features-list li { padding: 9px 0; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.pricing-features-list li i { color: var(--wp-green); font-size: 15px; flex-shrink: 0; }
.pricing-note { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.4); }

/* CTA */
.home-cta { padding: 90px 5%; background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(236,72,153,0.08)); text-align: center; }
.home-cta h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 800; margin-bottom: 12px; }
.home-cta p { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 30px; }

/* Footer */
.home-footer { padding: 50px 5% 25px; background: var(--wp-dark); border-top: 1px solid rgba(255,255,255,0.05); }
.home-footer-content { display: flex; gap: 50px; flex-wrap: wrap; max-width: 950px; margin: 0 auto 35px; }
.home-footer-brand { flex: 2; min-width: 200px; }
.home-footer-brand h3 { font-size: 22px; margin-bottom: 8px; }
.home-footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); max-width: 280px; }
.home-footer-links { flex: 1; min-width: 130px; }
.home-footer-links h4 { font-size: 12px; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.home-footer-links a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); padding: 4px 0; transition: color 0.2s; }
.home-footer-links a:hover { color: #a5b4fc; }
.home-footer-bottom { text-align: center; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.05); }
.home-footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }

/* =============================================
   AUTH PAGES (Login / Register)
   ============================================= */
.wp-auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--wp-dark); padding: 30px 15px; color: #fff; }
.auth-container { display: flex; max-width: 880px; width: 100%; background: var(--wp-dark-2); border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.auth-left { flex: 1; padding: 40px 30px; background: linear-gradient(145deg, rgba(99,102,241,0.12), rgba(168,85,247,0.06)); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,0.05); }
.auth-brand h2 { font-size: 24px; margin-bottom: 5px; }
.auth-brand p { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 30px; }
.auth-features-list { display: flex; flex-direction: column; gap: 12px; }
.auth-feat { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.auth-feat i { color: var(--wp-green); font-size: 14px; flex-shrink: 0; }
.auth-trial-badge { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-top: 30px; background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.2); border-radius: 12px; }
.auth-trial-badge i { font-size: 24px; color: #a5b4fc; flex-shrink: 0; }
.auth-trial-badge strong { display: block; font-size: 14px; }
.auth-trial-badge span { font-size: 11px; color: rgba(255,255,255,0.5); }

.auth-right { flex: 1.2; padding: 40px 30px; overflow-y: auto; max-height: 90vh; }
.auth-right h2 { font-size: 22px; font-weight: 800; margin-bottom: 5px; }
.auth-right > p { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 24px; }
.auth-form .form-group { margin-bottom: 14px; }
.auth-form label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; color: rgba(255,255,255,0.7); }
.auth-form label i { margin-right: 4px; opacity: 0.6; }
.auth-form input[type="text"], .auth-form input[type="email"],
.auth-form input[type="password"], .auth-form input[type="tel"],
.auth-form input[type="url"], .auth-form textarea, .auth-form select {
    width: 100%; padding: 11px 14px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); border-radius: var(--wp-radius-sm);
    color: #fff; font-family: var(--wp-font); font-size: 14px; outline: none; transition: border-color 0.2s;
}
.auth-form input:focus, .auth-form textarea:focus { border-color: rgba(99,102,241,0.5); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.auth-form input::placeholder, .auth-form textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; min-width: 0; }
.auth-footer-link { text-align: center; margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.5); }
.auth-footer-link a { color: #a5b4fc; font-weight: 600; }

/* =============================================
   PRICING PAGE
   ============================================= */
.wp-pricing-page { background: var(--wp-dark); color: #fff; min-height: 100vh; overflow-x: hidden; }
.pricing-hero { padding: 80px 5% 45px; text-align: center; position: relative; overflow: hidden; }
.pricing-hero-bg { position: absolute; inset: 0; }
.pricing-hero-content { position: relative; z-index: 2; }
.pricing-hero h1 { font-size: clamp(26px, 5vw, 46px); font-weight: 800; margin-bottom: 10px; }
.pricing-hero p { font-size: 15px; color: rgba(255,255,255,0.6); }
.pricing-main { padding: 0 5% 60px; }
.pricing-card-big { max-width: 640px; margin: 0 auto; padding: 42px 35px; background: var(--wp-dark-2); border: 1px solid rgba(99,102,241,0.2); border-radius: 22px; position: relative; }
.pricing-badge-big { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 20px; background: var(--wp-gradient-1); border-radius: 50px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pricing-price-big { text-align: center; margin: 20px 0 30px; display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.pricing-currency { font-size: 26px; font-weight: 600; opacity: 0.6; }
.pricing-number { font-size: 68px; font-weight: 800; background: var(--wp-gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pricing-period { font-size: 16px; opacity: 0.5; }
.pricing-includes h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; text-align: center; }
.pricing-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 30px; }
.pricing-feat { display: flex; gap: 12px; align-items: flex-start; padding: 12px; background: rgba(255,255,255,0.03); border-radius: 10px; border: 1px solid rgba(255,255,255,0.05); }
.pricing-feat-icon { width: 38px; height: 38px; min-width: 38px; display: flex; align-items: center; justify-content: center; background: rgba(99,102,241,0.15); border-radius: 10px; color: #a5b4fc; font-size: 15px; }
.pricing-feat strong { display: block; font-size: 13px; margin-bottom: 2px; }
.pricing-feat p { font-size: 11px; color: rgba(255,255,255,0.4); margin: 0; }
.pricing-cta-section { text-align: center; }
.pricing-cta-btn { margin: 4px; }

/* FAQ */
.pricing-faq { max-width: 640px; margin: 0 auto; padding: 60px 5%; }
.pricing-faq h2 { font-size: 26px; font-weight: 800; text-align: center; margin-bottom: 30px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; overflow: hidden; }
.faq-question { padding: 15px 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; transition: background 0.2s; gap: 10px; }
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-question i { transition: transform 0.3s; color: rgba(255,255,255,0.3); flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; padding: 0 18px; font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; transition: all 0.3s; }
.faq-item.open .faq-answer { max-height: 200px; padding: 0 18px 15px; }

@keyframes fadeInUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* =============================================
   RESPONSIVE - TABLET
   ============================================= */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-features-grid { grid-template-columns: 1fr; }
}

/* =============================================
   RESPONSIVE - MOBILE
   ============================================= */
@media (max-width: 768px) {
    .home-hero { padding: 80px 20px 50px; flex-direction: column; text-align: center; gap: 35px; min-height: auto; }
    .home-hero-content { max-width: 100%; }
    .home-hero-content > p { margin-left: auto; margin-right: auto; }
    .home-hero-btns { justify-content: center; }
    .home-hero-stats { justify-content: center; gap: 20px; }
    .home-hero-visual { max-width: 300px; width: 100%; }
    .home-features, .home-how, .home-templates, .home-pricing, .home-cta { padding: 60px 16px; }
    .features-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
    .step-arrow { display: none; }
    .steps-grid { flex-direction: column; align-items: center; }
    .step-card { max-width: 100%; width: 100%; }
    .auth-container { flex-direction: column; }
    .auth-left { display: none; }
    .auth-right { padding: 28px 20px; max-height: none; }
    .form-row { flex-direction: column; gap: 0; }
    .pricing-card-big { padding: 30px 18px; }
    .pricing-number { font-size: 52px; }
    .pricing-faq { padding: 40px 16px; }
    .home-footer-content { gap: 25px; flex-direction: column; }
    .templates-showcase { padding-left: 16px; }
    .pricing-card-home { padding: 30px 18px; }
    .pricing-amount .number { font-size: 48px; }
}

@media (max-width: 400px) {
    .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 13px; }
    .home-hero-btns { flex-direction: column; align-items: stretch; }
    .home-hero-btns .btn-primary, .home-hero-btns .btn-secondary { width: 100%; justify-content: center; }
    .home-hero-content h1 { font-size: 26px; }
    .home-section-title { font-size: 22px; }
    .mockup-cards { flex-direction: column; gap: 5px; }
    .mockup-card { height: 35px; }
}
