/* Navbar - Findeks Style */
.navbar {
    background-color: var(--color-white);
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    /* Sticky positioning */
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* Shadow for separation */
}

.navbar-container {
    width: 100%;
    /* Fix: Ensure container fills navbar to allow centering */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 2rem;
    /* Ensure gap between logo and nav */
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
    flex-shrink: 0;
    /* Prevent logo shrinking */
}

.logo span {
    font-size: 2rem;
    letter-spacing: -1px;
}

/* Nav Content Wrapper */
.nav-content {
    display: flex;
    align-items: center;
    flex-grow: 1;
    /* Take remaining space */
    justify-content: flex-end;
    /* Align links to the right */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    /* Increased gap for better readability */
    margin: 0;
}

.nav-item a {
    font-weight: 700;
    /* Bold */
    font-size: 1rem;
    /* Slightly larger */
    color: var(--color-primary);
    /* Dark Blue */
    letter-spacing: -0.01em;
}

.nav-item a:hover,
.nav-item a.active {
    color: var(--color-brand-teal-dark);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* Hamburger Menu Toggles */
.nav-toggle {
    display: none;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

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

/* Holographic Card Effect */
.card {
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
}

.card-link-wrapper:hover .card::after {
    left: 200%;
    transition: 1s;
    /* Slow shimmer on hover */
}

.nav-toggle-label {
    display: none;
    /* Hidden by default */
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--color-primary);
    height: 3px;
    width: 25px;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    /* Rounded pill buttons */
}

.btn-outline:hover {
    background: var(--color-bg-light);
}

/* Hero 2.0 Styles */
.hero-wrapper {
    background: radial-gradient(circle at top right, var(--color-primary-light), var(--color-primary-dark));
    padding: 12rem 0 10rem;
    /* Increased vertical breathing room */
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 Columns for Desktop */
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* Subtle Animated Mesh Overlay */
.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(at 10% 10%, rgba(67, 199, 221, 0.15) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(123, 44, 191, 0.15) 0px, transparent 50%);
    pointer-events: none;
}

/* Typing Text Animation */
.typer-text {
    overflow: hidden;
    border-right: 3px solid var(--color-brand-teal);
    white-space: nowrap;
    width: 0;
    animation:
        typing 3.5s steps(30, end) forwards,
        blink .75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--color-brand-teal)
    }
}

/* Card 2.0 - Glassmorphism & Skeleton */
.card {
    background: rgba(255, 255, 255, 0.95);
    /* Slight transparency */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Very subtle border */
    border-radius: 16px;
    /* Slightly tighter radius */
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    /* Modern diffuse shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-link-wrapper:hover .card {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    /* Deep shadow on hover */
    border-color: var(--color-brand-cyan);
}

/* Skeleton Loading Animation */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
    width: 80%;
}

.skeleton-image {
    width: 100%;
    height: 220px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Abstract Background Grid */
.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 242, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: top center;
    pointer-events: none;
}

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 242, 255, 0.1);
    color: var(--color-brand-teal);
    border-radius: 50px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.6;
}

/* Glow Effect Button */
/* Glow Effect Button with Pulse */
.glow-effect {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    background: var(--color-brand-cyan);
    color: var(--color-primary-dark);
    border: none;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1rem 3rem;
    /* Larger CTA */
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    transition: transform 0.6s;
    pointer-events: none;
}

.glow-effect:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.glow-effect:hover {
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.6);
    transform: translateY(-2px);
    background: white;
}

/* Stats Ticker */
.stats-ticker {
    margin-top: 3rem;
    padding: 1rem;
    border-radius: 12px;
    width: fit-content;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-content {
    display: inline-block;
    animation: ticker 15s linear infinite;
    color: white;
    font-family: monospace;
}

.ticker-content span {
    margin-right: 2rem;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 3D Floating Visuals */
.hero-visual-3d {
    position: relative;
    height: 400px;
    perspective: 1000px;
    display: flex;
    /* Centering content */
    align-items: center;
    justify-content: center;
    margin-top: -2rem;
    /* Slight adjustment */
}

.floating-card {
    position: absolute;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.floating-card:hover {
    transform: translateZ(20px) rotateX(5deg);
}

.glass-card-1 {
    width: 320px;
    height: 200px;
    top: 50px;
    right: 50px;
    transform: rotateY(-15deg) rotateX(10deg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 24px;
    animation: float1 6s ease-in-out infinite;
    z-index: 2;
}

.glass-card-2 {
    width: 200px;
    height: 260px;
    top: 100px;
    right: 250px;
    transform: rotateY(10deg) translateZ(-50px);
    background: linear-gradient(135deg, var(--color-brand-purple), rgba(123, 44, 191, 0.4));
    animation: float2 8s ease-in-out infinite;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 8px solid white;
    border-top-color: var(--color-brand-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.8rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.chip {
    width: 50px;
    height: 35px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 6px;
    margin-bottom: 20px;
}

.card-number {
    color: white;
    font-family: monospace;
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-name {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 2px;
}

@keyframes float1 {

    0%,
    100% {
        transform: rotateY(-15deg) rotateX(10deg) translateY(0);
    }

    50% {
        transform: rotateY(-15deg) rotateX(10deg) translateY(-20px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: rotateY(10deg) translateZ(-50px) translateY(0);
    }

    50% {
        transform: rotateY(10deg) translateZ(-50px) translateY(20px);
    }
}

/* Blog Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    /* Dynamic columns */
    gap: 2.5rem;
    padding: 2rem 0;
}

/* Responsive Media Queries */
/* Responsive Menu Logic */
@media (max-width: 900px) {
    .navbar {
        height: auto;
        padding: 0.5rem 0;
        /* Compact padding */
        background-color: white;
        position: sticky;
        /* Keep sticky on mobile */
        top: 0;
        z-index: 1000;
    }

    .navbar-container {
        display: flex;
        /* Ensure it is flex */
        justify-content: space-between;
        /* Space logo and burger */
        align-items: center;
        width: 100%;
        position: relative;
        height: auto;
        /* Reset desktop fixed height */
        min-height: 50px;
        /* Minimum touch target size */
    }

    .logo span {
        font-size: 1.6rem;
    }

    /* BURGER ICON FIX - Vertically Centered */
    .nav-toggle-label {
        display: block !important;
        position: absolute;
        /* Absolute relative to container */
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        /* Perfect Center */
        margin: 0;
        z-index: 1050;
        width: 40px;
        height: 40px;
        background: transparent;
    }

    /* Stronger color for burger lines */
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        background: #003056 !important;
        /* Force Dark Blue */
        height: 3px;
        width: 28px;
    }

    /* Centering the lines in the 40px box */
    .nav-toggle-label span {
        top: 18px;
        left: 6px;
    }

    /* DROPDOWN MENU */
    .nav-content {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        padding-top: 1rem;
        border-top: 1px solid #eee;
        position: absolute;
        /* Float below header */
        top: 100%;
        left: 0;
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .nav-toggle:checked~.nav-content {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

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

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Hamburger Animation */
    .nav-toggle:checked~.nav-toggle-label span {
        background: transparent;
    }

    .nav-toggle:checked~.nav-toggle-label span::before {
        transform: rotate(45deg);
        bottom: 0;
    }

    .nav-toggle:checked~.nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        margin: 1rem 0;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-item a {
        display: block;
        padding: 1rem;
        font-size: 1rem;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        padding: 1.5rem;
    }

    /* Ensure only outline button is styled right */
    .nav-actions .btn-outline {
        width: 100%;
        display: block;
        color: var(--color-primary);
        border-color: var(--color-primary);
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        /* Stack on tablet/mobile */
        text-align: center;
        gap: 3rem;
    }

    /* Center visuals on mobile stack */
    .hero-visual-3d {
        justify-content: center;
        margin-top: 2rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-card-visual {
        transform: none;
        /* Disable 3D effect on mobile for performance/layout */
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: auto;
        padding: 1rem 0;
    }

    .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        margin: 0;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .nav-actions {
        width: 100%;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        /* Smaller font for mobile */
        word-wrap: break-word;
        /* Prevent overflow */
    }

    .typer-text {
        white-space: normal;
        /* Allow wrapping */
        border-right: none;
        /* Remove cursor on mobile wrap */
        animation: none;
        /* Disable complex typing on mobile */
        width: 100%;
        text-align: center;
    }

    /* Hide complex 3D elements on mobile to prevent overflow/overlap */
    .hero-visual-3d {
        display: none;
    }

    .stats-ticker {
        width: 100%;
        overflow-x: hidden;
        margin-top: 2rem;
    }

    .ticker-content span {
        font-size: 0.9rem;
    }

    .hero-wrapper {
        padding: 8rem 0 4rem;
        /* Reduced padding */
    }
}

/* Card Styles */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    /* Dynamic columns */
    gap: 2.5rem;
    padding: 2rem 0;
}

/* Card Link Wrapper - Makes the whole card clickable while preserving styles */
.card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    /* Moving transition to the card itself for better performance */
}

/* When wrapper is hovered, transform the CARD inside it */
.card-link-wrapper:hover .card {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

/* Card Modernization */
.card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* restoration of transform transition */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-content {
    padding: 2rem;
    /* Increased padding from default/previous value */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-date {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-summary {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    /* Pushes the link/button to the bottom */
}

/* "İncele" Link Styling within the card */
.fake-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-brand-teal);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 0.8rem;
    /* Slide arrow effect */
}

/* Footer */
.footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Post Detail */
.post-header {
    background-color: var(--color-bg-light);
    padding: 4rem 0;
    text-align: center;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem var(--spacing-md);
    background: var(--color-white);
    margin-top: -2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    position: relative;
}

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

.post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Tools Section Enhancements */
.tools-grid .glass-panel {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.12);
    /* Deeper shadow */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Character: Subtle Tech Pattern Overlay */
.tools-grid .glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-brand-cyan), var(--color-brand-teal));
    /* Top Brand Line */
    z-index: 2;
}

.tools-grid .glass-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#0A2540 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.03;
    /* Micro-dot pattern */
    pointer-events: none;
    z-index: 1;
}

.tools-grid .glass-panel:hover {
    transform: translateY(-5px);
}

.tools-grid h3 {
    color: var(--color-primary);
    /* Dark Blue */
    font-weight: 800;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--color-bg-light);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    background: none;
    -webkit-text-fill-color: initial;
    /* Reset gradient text */
}

/* Modern Soft-Filled Inputs */
.tools-grid input[type="number"],
.tools-grid input[type="range"] {
    background: #F8FAFC !important;
    /* Soft Tint instead of stark white */
    border: 1px solid transparent !important;
    /* Remove harsh borders */
    border-bottom: 2px solid #E2E8F0 !important;
    /* Keep bottom rail */
    box-shadow: none;
    color: var(--color-primary);
    font-weight: 700;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    /* Slight rounding top */
    padding: 1rem !important;
    /* More breathing room */
}

/* Floating Focus Effect */
.tools-grid input[type="number"]:focus {
    background: #ffffff !important;
    border-color: transparent !important;
    border-bottom-color: var(--color-brand-cyan) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
}

/* Gradient Slider Track */
.tools-grid input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #F1F5F9;
    /* Base */
    border-radius: 10px;
    outline: none;
    border: none !important;
    margin: 1.5rem 0;
    padding: 0 !important;
    cursor: pointer;
}

/* The actual colored bar effect needs a trick if we don't use JS for 'fill', 
   but we can make the track itself gradient for a 'potential' look */
.tools-grid input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--color-brand-teal) 0%, var(--color-brand-cyan) 100%);
    border-radius: 10px;
    cursor: pointer;
}

/* Slider Thumb (Premium Halo) */
.tools-grid input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -8px;
    /* Center on track */
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 6px solid var(--color-primary);
    /* Dark Blue Core */
    cursor: grab;
    box-shadow: 0 0 0 4px rgba(239, 208, 77, 0.3);
    /* Gold Glow */
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tools-grid input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(239, 208, 77, 0.5);
    border-color: var(--color-brand-cyan);
}

.tools-grid input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: #ffffff;
    /* Keep white center */
}

/* Floating Label / Focus Effect */
.tools-grid input[type="number"]:focus,
.tools-grid input[type="range"]:focus {
    border-color: var(--color-brand-teal) !important;
    box-shadow: 0 0 0 4px rgba(67, 199, 221, 0.15) !important;
    /* Soft Glow */
    transform: scale(1.01);
}

/* Score Circle Animation */
.score-circle {
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--color-brand-cyan);
    opacity: 0;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* Digital Receipt Result Box */
.tools-grid div[style*="background: linear-gradient"] {
    background: radial-gradient(circle at top right, #F8FAFC, #FFFFFF) !important;
    border: none !important;
    border-left: 4px solid var(--color-brand-cyan) !important;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08);
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
    /* Tech Font */
}

.tools-grid div[style*="background: linear-gradient"]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-brand-cyan);
    /* Gold accent line */
}

/* Dashed Separator Line */
.tools-grid div[style*="width: 100%; height: 1px"] {
    background: none !important;
    border-top: 2px dashed #cbd5e1;
    height: 2px !important;
    margin: 1rem 0 !important;
    opacity: 0.5;
}