/* Modern Glassmorphism & Responsive Styling for AI Google Review Booster */

:root {
    --gr-primary: #4f46e5;
    --gr-primary-hover: #4338ca;
    --gr-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gr-star: #fbbf24;
    --gr-bg-dark: #0f172a;
    --gr-text-dark: #1e293b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Landing Page Styling */
.gr-landing-body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #311042 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: #ffffff;
}

.gr-landing-wrapper {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.gr-landing-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 32px 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.gr-client-logo {
    max-height: 60px;
    max-width: 160px;
    object-fit: contain;
    margin-bottom: 12px;
}

.gr-biz-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.gr-biz-category {
    font-size: 14px;
    color: #a5b4fc;
    margin-top: 4px;
    font-weight: 500;
}

.gr-star-rating {
    margin: 16px 0;
    font-size: 28px;
    color: var(--gr-star);
    letter-spacing: 4px;
}

.gr-tone-selector {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 16px;
    justify-content: center;
}

.gr-tone-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.gr-tone-pill.active, .gr-tone-pill:hover {
    background: var(--gr-primary);
    color: #ffffff;
    border-color: var(--gr-primary);
}

.gr-label {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 8px;
    text-align: left;
    font-weight: 600;
}

.gr-review-box {
    background: rgba(255, 255, 255, 0.95);
    color: var(--gr-text-dark);
    border-radius: 18px;
    padding: 20px;
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
    min-height: 110px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s ease;
    word-break: break-word;
}

.gr-btn-refresh {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #e2e8f0;
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 14px;
    transition: background 0.2s;
}

.gr-btn-refresh:hover {
    background: rgba(255, 255, 255, 0.1);
}

.gr-btn-copy {
    background: var(--gr-gradient);
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 18px;
    font-size: 17px;
    font-weight: 800;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.45);
    transition: transform 0.15s, box-shadow 0.15s;
}

.gr-btn-copy:active {
    transform: scale(0.97);
}

.gr-footer-text {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 16px;
}

/* Floating Toast */
.gr-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: #ffffff;
    padding: 16px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 99999;
}

/* Frontend Form Shortcode Styling */
.gr-form-wrapper {
    max-width: 640px;
    margin: 30px auto;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.gr-form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.gr-form-title {
    font-size: 24px;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 6px;
}

.gr-form-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.gr-form-group {
    margin-bottom: 20px;
}

.gr-form-group label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #334155;
    margin-bottom: 8px;
}

.gr-form-group input, .gr-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    color: #0f172a;
    transition: border-color 0.2s;
}

.gr-form-group input:focus, .gr-form-group textarea:focus {
    outline: none;
    border-color: var(--gr-primary);
}

.gr-help-text {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    display: block;
}

.gr-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--gr-gradient);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.35);
}

.gr-notice {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
}
