:root {
    --primary: #2563eb; /* Blue 600 */
    --primary-hover: #1d4ed8; /* Blue 700 */
    --secondary: #3b82f6; /* Blue 500 */
    --bg-light: #f8fafc; /* Slate 50 */
    --card-bg: #ffffff;
    --text-main: #0f172a; /* Slate 900 */
    --text-dim: #64748b; /* Slate 500 */
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --border: #e2e8f0; /* Slate 200 */
    --border-hover: #cbd5e1; /* Slate 300 */
    --success: #10b981;
}

.simple-shortener, .stats-page {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: transparent;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
    border: none;
}

/* Home LP Sections */
.lp-container {
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Hide the WordPress theme page title */
.page .entry-title,
.page .wp-block-post-title,
.page > .entry-header,
body.page h1:not(.lp-logo-blue) {
    display: none !important;
}

.hero-section {
    position: relative;
    padding: 0 1.5rem;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    z-index: 1;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
}

.hero-header h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.05em;
    line-height: 1.1;
}

.hero-header h1 span {
    color: var(--primary);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-header p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-form-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 8px solid #dbeafe; /* Slightly darker blue border */
    border-radius: 1.5rem;
    padding: 0.75rem;
    box-shadow: 0 15px 30px -10px rgba(37, 99, 235, 0.15), 0 10px 15px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-wrapper:focus-within {
    border-color: #bfdbfe;
    transform: translateY(-2px);
    box-shadow: 0 25px 40px -15px rgba(37, 99, 235, 0.2);
}

.input-wrapper input[type="url"] {
    flex: 1;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    outline: none !important;
}

/* Centered Hero Header */
.hero-header-centered {
    margin-bottom: 2.5rem;
    padding-top: 4rem;
}

.lp-logo-blue {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.04em;
    text-align: center;
}

.lp-logo-blue span {
    color: var(--primary);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    background: #deeafb;
    color: var(--primary);
    padding: 0.25rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Mascot */
.mascot-container {
    position: absolute;
    bottom: -60px;
    right: -40px;
    width: 220px;
    pointer-events: none;
}

.mascot-container img {
    width: 100%;
    animation: floating 3s ease-in-out infinite;
}

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

/* Features */
.section-wrapper {
    padding: 5rem 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-title p {
    color: var(--text-dim);
    font-size: 1.125rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-dim);
    line-height: 1.6;
}

/* Scenes */
.scene-section {
    background-color: #ffffff;
    padding: 5rem 1.5rem;
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.scene-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.scene-number {
    background: var(--accent-gradient);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.scene-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.faq-item h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item h4::before {
    content: "Q.";
    font-weight: 900;
}

/* Security */
.security-box {
    background: #f1f5f9;
    padding: 3rem;
    border-radius: 1.5rem;
    border-left: 8px solid var(--primary);
}

.security-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.security-box ul {
    list-style: none;
    padding: 0;
}

.security-box li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #475569;
}

.security-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Footer Links Styling */
.shortener-footer {
    padding: 4rem 1.5rem;
    background: #ffffff;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-nav {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
}

.footer-nav a:hover {
    color: var(--primary);
}

/* --- Result Page Styling --- */
.shorturl-result {
    margin-top: 2rem;
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}/* --- Horizontal Premium Result Row --- */
.result-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

/* --- New Vertical Premium Result Section --- */
.shorturl-result-wrap {
    margin: 1.5rem auto;
    max-width: 600px;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-card-premium {
    background: #ffffff;
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 30px 60px -12px rgba(37, 99, 235, 0.12);
    border: 1px solid #e2e8f0;
}

.result-vertical-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.url-label-small {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    text-align: center;
}

.original-url-section {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
}

.original-url-display {
    font-size: 0.9375rem;
    color: #64748b;
    word-break: break-all;
    background: #f8fafc;
    padding: 0.6rem 1.25rem;
    border-radius: 0.75rem;
    display: block;
    min-height: 1.5em;
}

.short-url-section {
    width: 100%;
    margin-bottom: 1rem;
}

.short-url-input-box {
    background: #f0f7ff;
    padding: 1.25rem 1rem;
    border-radius: 1.25rem;
    border: 3px solid #dbeafe;
    box-shadow: inset 0 2px 4px rgba(37, 99, 235, 0.05);
}

#result-url {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    font-size: 2rem !important; /* Adjusted slightly */
    font-weight: 900 !important;
    color: var(--primary) !important;
    text-align: center !important;
    width: 100% !important;
    font-family: 'Inter', sans-serif !important;
    box-shadow: none !important;
    height: auto !important;
    line-height: 1.2 !important;
}

.copy-button-container {
    width: 100%;
    margin-bottom: 1.5rem;
}

.btn-copy-wide {
    width: 100%;
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
    color: white !important;
    border: none !important;
    padding: 1.25rem !important;
    border-radius: 1.25rem !important;
    font-weight: 900 !important;
    font-size: 1.35rem !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 15px 30px -10px rgba(101, 163, 13, 0.5), inset 0 -4px 0 rgba(0, 0, 0, 0.15) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-copy-wide:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px -15px rgba(101, 163, 13, 0.6), inset 0 -4px 0 rgba(0, 0, 0, 0.15);
}

.btn-copy-wide.copied {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.link-stats-premium {
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.125rem;
}

.divider-line {
    width: 100%;
    height: 1px;
    background: #e2e8f0;
    margin: 1rem 0;
}

.qr-section-premium {
    text-align: center;
}

.qr-frame-premium {
    background: white;
    padding: 1.25rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    display: inline-block;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
    margin-bottom: 0.75rem;
}

.qr-frame-premium img {
    width: 200px;
    height: 200px;
    display: block;
}

.qr-caption {
    font-size: 0.875rem;
    color: #94a3b8;
}

.btn-reset-simple {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
}

/* Existing utility updates */
.hero-header-centered {
    margin-bottom: 2.5rem;
    padding-top: 4rem;
}

.lp-logo-blue {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.04em;
    text-align: center;
}

