/* Theme variables matching homepage */
:root {
    --navy: #0f2747;
    --accent: #2563eb;
    --accent-glow: #60a5fa;
    --white: #ffffff;
    --off-white: #f8fafd;
    --gray-light: #eef3fa;
    --gray-mid: #94a3b8;
    --gray-dark: #475569;
    --text: #0f172a;
    --text-soft: #334155;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, .badge {
    font-family: 'Sora', sans-serif;
}

/* Header Adjustments for consistency */
header {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid #eee !important;
}

/* Hero Section matching homepage style */
.hero-shorter {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 140px 6vw 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, #f0f7ff 0%, #ffffff 55%, #eef3fa 100%);
    text-align: center;
}

.hero-shorter::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 39, 71, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 39, 71, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.15;
    pointer-events: none;
    animation: floatBlob 10s ease-in-out infinite;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -100px;
    right: -50px;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: var(--navy);
    bottom: -100px;
    left: -50px;
    animation-delay: -5s;
}

@keyframes floatBlob {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(37, 99, 235, 0.09);
    border: 1px solid rgba(37, 99, 235, 0.22);
    color: var(--accent);
    padding: 0.3rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -1.5px;
    margin-bottom: 1.25rem;
}

h1 em {
    font-style: normal;
    color: var(--accent);
    position: relative;
}

h1 em::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-glow));
    border-radius: 2px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-soft);
    margin: 0 auto 3rem;
    max-width: 550px;
}

/* Sinerli Shorter Card */
.shorter-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(15, 39, 71, 0.1), 0 10px 20px rgba(15, 39, 71, 0.05);
    border: 1px solid rgba(15, 39, 71, 0.06);
    margin-bottom: 40px;
}

.input-wrapper {
    display: flex;
    background: var(--off-white);
    border: 2px solid #eef2f8;
    border-radius: 16px;
    padding: 8px;
    align-items: center;
    transition: 0.3s;
    margin-bottom: 20px;
}

.input-wrapper:focus-within {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.input-wrapper i {
    color: var(--gray-mid);
    margin: 0 20px;
    font-size: 1.2rem;
}

.input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--navy);
    padding: 12px 0;
}

.input-wrapper button {
    background: var(--navy);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
}

.input-wrapper button:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.options-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 0 10px;
}

.custom-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-soft);
    cursor: pointer;
    font-weight: 500;
}

.custom-check input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.custom-field {
    display: flex;
    align-items: center;
    background: var(--gray-light);
    padding: 10px 15px;
    border-radius: 10px;
    animation: fadeInDown 0.3s ease;
}

.custom-field .prefix {
    color: var(--gray-mid);
    font-weight: 600;
    font-size: 0.85rem;
}

.custom-field input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: 4px;
    width: 150px;
}

/* Result Area */
.result-area {
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid #eee;
    text-align: left;
    animation: fadeInUp 0.5s ease;
}

.result-label {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.result-box {
    display: flex;
    background: #f0f7ff;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 20px;
}

.result-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

.result-box button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.result-box button:hover {
    background: var(--navy);
}

.test-link-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #0f2747;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.test-link-btn:hover {
    background: #2563eb;
}

.share-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-links span {
    font-size: 0.85rem;
    color: var(--gray-mid);
    font-weight: 500;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: white;
    color: var(--navy);
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    transform: translateY(-4px);
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Stats */
.shorter-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .val {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
}

.stat .lab {
    font-size: 0.8rem;
    color: var(--gray-mid);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hidden { display: none !important; }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Footer Consistency */
footer {
    padding: 60px 0 30px;
    background: var(--off-white);
    border-top: 1px solid #eee;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--gray-mid);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--gray-mid);
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-shorter { padding-top: 120px; }
    .shorter-card { padding: 30px 20px; }
    h1 { font-size: 2.5rem; }
    .input-wrapper { flex-direction: column; background: transparent; border: none; padding: 0; }
    .input-wrapper input { background: var(--off-white); width: 100%; border: 2px solid #eef2f8; border-radius: 12px; padding: 15px 20px; margin-bottom: 10px; }
    .input-wrapper button { width: 100%; padding: 15px; }
    .input-wrapper i { display: none; }
    .shorter-stats { gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
