:root {
    --primary-color: #0f1123;
    --secondary-color: #1a1b2e;
    --accent-color: #4e9eff;
    --text-color: #ffffff;
    --text-secondary: #b3b3b3;
    --glow-color: rgba(78, 158, 255, 0.5);
}

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

/* Typing Container */
.typing-container {
    max-width: 90%;
    width: 1000px;
    margin: 1rem auto;
    padding: 0 1rem;
    min-height: calc(100vh - 250px);
    display: flex;
    flex-direction: column;
}

.typing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.typing-header h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: var(--text-primary);
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
}

.typing-header p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.complex-notice {
    font-size: 0.9rem !important;
    color: var(--accent-color) !important;
    margin: 0.5rem 0 0.25rem 0 !important;
}

.complex-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 0.6rem;
    margin: 0.5rem auto;
    padding: 0.75rem 0.75rem 1.25rem 0.75rem;
    background: rgba(78, 158, 255, 0.05);
    border-radius: 8px;
    justify-content: center;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.complex-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.65rem;
    font: inherit;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    background-color: #2a2a2a;
    border: 0;
    color: #e0e0e0;
    border-radius: 0.5em;
    text-shadow: 0 0.0625em 0 #000;
    box-shadow:
      inset 0 0.03em 0 0 #3a3a3a,
      0 0.03em 0 0 #252525,
      0 0.0625em 0 0 #202020,
      0 0.125em 0 0 #1c1c1c,
      0 0.125em 0 0 #181818,
      0 0.2em 0 0 #141414,
      0 0.225em 0 0 #101010,
      0 0.225em 0.375em 0 #0a0a0a;
    transition: 0.15s ease;
    cursor: pointer;
    user-select: none;
    min-width: 44px;
    text-align: center;
    flex-shrink: 0;
    position: relative;
}

.complex-letter:hover {
    background-color: #323232;
    color: #ffffff;
    transform: none;
    box-shadow:
      inset 0 0.03em 0 0 #3a3a3a,
      0 0.03em 0 0 #252525,
      0 0.0625em 0 0 #202020,
      0 0.125em 0 0 #1c1c1c,
      0 0.125em 0 0 #181818,
      0 0.2em 0 0 #141414,
      0 0.225em 0 0 #101010,
      0 0.225em 0.375em 0 #0a0a0a;
}

.complex-letter:active {
    translate: 0 0.225em;
    box-shadow:
      inset 0 0.03em 0 0 #3a3a3a,
      0 0.03em 0 0 #252525,
      0 0.0625em 0 0 #202020,
      0 0.125em 0 0 #1c1c1c,
      0 0.125em 0 0 #181818,
      0 0.2em 0 0 #141414,
      0 0.225em 0 0 #101010,
      0 0.225em 0.375em 0 #0a0a0a;
}

/* Typing Box */
.typing-box {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: clamp(1rem, 3vw, 1.5rem);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.typing-controls {
    display: none;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    background: var(--primary-color);
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.control-btn:hover {
    background: var(--primary-color-dark);
}

.control-btn i {
    font-size: 1rem;
}

/* Typing Input - with more specific selectors */
body .typing-container .typing-box .typing-input {
    width: 100%;
    flex: 1;
    min-height: 250px;
    height: calc(100vh - 450px);
    max-height: 800px;
    padding: 1rem;
    margin: 0;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    background-color: #0F1123 !important;
    color: #ffffff !important;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.5;
    resize: vertical;
    transition: all 0.2s ease;
}

body .typing-container .typing-box .typing-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

body .typing-container .typing-box .typing-input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}

/* Selection color */
body .typing-container .typing-box .typing-input::selection {
    background: rgba(59, 130, 246, 0.3);
    color: #ffffff !important;
}

body .typing-container .typing-box .typing-input::-moz-selection {
    background: rgba(59, 130, 246, 0.3);
    color: #ffffff !important;
}

/* Override any potential theme colors */
.typing-box .typing-input {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.typing-box .typing-input:focus {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Suggestions dropdown */
.suggestions-dropdown {
    position: absolute;
    background: var(--secondary-color);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: auto;
    min-width: 150px;
    max-width: calc(100% - 2rem);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.suggestion-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-color);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background: var(--accent-color);
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    .suggestions-dropdown {
        max-width: calc(100% - 1rem);
        font-size: 0.9rem;
    }

    .suggestion-item {
        padding: 0.75rem;
    }
}

/* Suggestions Container */
.suggestions-container {
    position: absolute;
    top: -46px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    background: rgba(15, 17, 35, 0.8);
    border-radius: 8px;
    padding: 0.5rem 0.5rem 0.85rem 0.5rem;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    z-index: 10;
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Hide scrollbar for Chrome/Safari */
.suggestions-container::-webkit-scrollbar {
    display: none;
}

.suggestions-container:active {
    cursor: grabbing;
}

.suggestions-container.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.suggestions-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    font: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    background-color: #2a2a2a;
    border: 0;
    color: #e0e0e0;
    border-radius: 0.5em;
    text-shadow: 0 0.0625em 0 #000;
    box-shadow:
      inset 0 0.03em 0 0 #3a3a3a,
      0 0.03em 0 0 #252525,
      0 0.0625em 0 0 #202020,
      0 0.125em 0 0 #1c1c1c,
      0 0.125em 0 0 #181818,
      0 0.2em 0 0 #141414,
      0 0.225em 0 0 #101010,
      0 0.225em 0.375em 0 #0a0a0a;
    transition: 0.15s ease;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    position: relative;
    margin: 0 0.35rem;
    white-space: nowrap;
}

.suggestions-item:hover,
.suggestions-item.selected {
    background-color: #3B82F6;
    color: #ffffff;
    transform: none;
    text-shadow: 0 0.0625em 0 rgba(0, 0, 0, 0.4);
    box-shadow:
      inset 0 0.03em 0 0 #5c9eff,
      0 0.03em 0 0 #2b6cb0,
      0 0.0625em 0 0 #2b6cb0,
      0 0.125em 0 0 #2b6cb0,
      0 0.125em 0 0 #23527c,
      0 0.2em 0 0 #1b3d5c,
      0 0.225em 0 0 #12283a,
      0 0.225em 0.375em 0 rgba(0, 0, 0, 0.3);
}

.suggestions-item:active {
    translate: 0 0.225em;
    box-shadow:
      inset 0 0.03em 0 0 #3a3a3a,
      0 0.03em 0 0 #252525,
      0 0.0625em 0 0 #202020,
      0 0.125em 0 0 #1c1c1c,
      0 0.125em 0 0 #181818,
      0 0.2em 0 0 #141414,
      0 0.225em 0 0 #101010,
      0 0.225em 0.375em 0 #0a0a0a;
}

.suggestions-item.selected:active,
.suggestions-item:hover:active {
    translate: 0 0.225em;
    box-shadow:
      inset 0 0.03em 0 0 #5c9eff,
      0 0.03em 0 0 #2b6cb0,
      0 0.0625em 0 0 #2b6cb0,
      0 0.125em 0 0 #2b6cb0,
      0 0.225em 0 0 #23527c,
      0 0.2em 0 0 #1b3d5c,
      0 0.225em 0 0 #12283a,
      0 0.225em 0.375em 0 rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
    .suggestions-container {
        top: -42px;
        padding: 0.4rem 0.4rem 0.7rem 0.4rem;
    }

    .suggestions-item {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    background: #3B82F6;
    color: var(--primary-color);
    font-size: clamp(0.85rem, 2.5vw, 0.9rem);
    cursor: pointer;
    transition: background-color 0.2s;
    min-width: 180px;
}

.action-btn:hover {
    background: #2563EB;
}

.action-btn i {
    font-size: 1.1rem;
}

/* Notifications */
.notification-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.notification {
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

/* Responsive Design */
@media screen and (max-width: 480px) {
    .typing-container {
        max-width: 100%;
        margin: 0.5rem auto;
        padding: 0 0.5rem;
        min-height: calc(100vh - 200px);
    }

    body .typing-container .typing-box .typing-input {
        min-height: 200px;
        height: calc(100vh - 400px);
    }

    .typing-box {
        padding: 0.75rem;
    }

    .action-buttons {
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .action-btn {
        padding: 0.6rem 0.8rem;
        flex: 1 1 auto;
        min-width: 120px;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .typing-container {
        max-width: 95%;
        min-height: calc(100vh - 220px);
    }

    body .typing-container .typing-box .typing-input {
        min-height: 220px;
        height: calc(100vh - 420px);
    }
}

@media screen and (max-width: 768px) {
    .typing-header h1 {
        font-size: 1.8rem;
    }

    .typing-header p {
        font-size: 1rem;
    }

    .typing-input {
        min-height: 200px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .action-btn {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .typing-container {
        padding: 1rem;
    }

    .typing-header h1 {
        font-size: 1.5rem;
    }

    .typing-header p {
        font-size: 0.9rem;
    }
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-color);

    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.header {
    background-color: rgba(26, 27, 46, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #303949;
    padding: 0.75rem 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s ease-in-out;
}

.logo img:hover {
    transform: rotate(360deg);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
}

.nav-links a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    color: #4E9EFF;
    background-color: #1F2843;
}

/* Add your custom styles here */

@font-face {
    font-family: 'Preeti';
    src: url('/assets/media/Font/Preeti%20Normal.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

#legacy_text {
    font-family: 'Preeti', Arial, sans-serif !important;
}

#legacy_text::placeholder {
    font-family: 'Inter', sans-serif;
}

#unicode_text::placeholder {
    font-family: 'Inter', sans-serif;
}

/* CTA Button styles */
.login-btn,
.support-btn {
    background-color: #4E9EFF;
    color: #0F1123;
    padding: 0.45rem 0.95rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    box-shadow: none;
    font-size: 0.875rem;
}

.login-btn:hover,
.support-btn:hover {
    background-color: #3b8cf8;
    color: #ffffff;
    box-shadow: none;
    transform: translateY(-1px);
}

.login-btn i,
.support-btn i {
    font-size: 1em;
    color: inherit;
    order: -1;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 1rem;
    }

    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .mobile-menu-btn span {
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        position: relative;
    }

    .nav-menu.active .mobile-menu-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        top: 0;
    }

    .nav-menu.active .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .nav-menu.active .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        top: 0;
    }

    .nav-menu {
        position: static;
        order: 3;
    }

    .logo {
        z-index: 1002;
        position: relative;
        order: 1;
    }

    .cta-button {
        z-index: 1002;
        position: relative;
        order: 2;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 5rem 2rem;
        z-index: 1001;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        animation: slideIn 0.3s forwards;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-links a {
        display: inline-block;
        font-size: 1.25rem;
        padding: 1rem 2rem;
        width: auto;
        text-align: center;
    }

    .nav-links a.active {
        background-color: var(--secondary-color);
        color: var(--accent-color);
        margin: 0 auto;
    }

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

/* Button Styles */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: #3B82F6;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-btn i {
    font-size: 1em;
    transition: transform 0.3s ease;
}

.action-btn:hover {
    background: #4992eb;
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--glow-color);
}

.action-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 8px var(--glow-color);
}

/* Conversion Direction Dropdown */
#conversionDirection {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#conversionDirection:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--glow-color);
}

.action-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.action-btn:hover::after {
    opacity: 1;
}

/* Booking Form Styles */




.booking-form-container h2 {
    color: var(--text-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.booking-form-container p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: 1px solid #3a3c5a;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: #6b7280;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--glow-color);
}

.btn-submit {
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--glow-color);


}

@media screen and (max-width: 768px) {

    .booking-form-container {
        padding: 1rem auto;
        max-width: 95vw;
        margin-top: 5rem;
    }
}


/* Responsive styles for buttons */
@media screen and (max-width: 768px) {
    .action-buttons {
        gap: 0.75rem;
    }

    .action-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        flex: 1 1 auto;
        min-width: 120px;
    }
}

@media screen and (max-width: 480px) {
    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

.convert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: var(--accent-color);
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.convert-btn:hover {
    background-color: #3b8be6;
}

.convert-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--glow-color);
}

.convert-btn i {
    font-size: 0.9em;
}

/* Main Content Styles */
.main {
    margin-top: 10px;
    padding: 40px 0;
    flex: 1;
    background-color: var(--primary-color);
}

.converter-section {
    background-color: var(--secondary-color);

    border-radius: 10px;
    margin-bottom: 40px;
}

.converter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.text-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.3s ease;
}

textarea {
    width: 100%;
    height: 180px;
    padding: 18px 20px;
    border: 2px solid var(--accent-color);
    border-radius: 14px;
    background: #18192a;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px 0 rgba(78, 158, 255, 0.08);
    resize: vertical;
    transition: border 0.2s, box-shadow 0.2s;
}

textarea:focus {
    border-color: var(--glow-color);
    box-shadow: 0 0 0 3px var(--glow-color);
    outline: none;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 12px;
}

.action-btn {
    flex: 1;
    background: #4e9eff;
    color: #18192a;
    border: none;
    border-radius: 10px;
    padding: 18px 0;
    font-size: 1.15rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    box-shadow: 0 2px 8px 0 rgba(78, 158, 255, 0.08);
}

.action-btn:hover {
    background: #238dff;
    color: #fff;
    box-shadow: 0 4px 16px 0 rgba(78, 158, 255, 0.18);
}




.text-box:focus {
    outline: none;
    box-shadow: 0 0 30px var(--glow-color);
    border-color: var(--accent-color);
}

textarea:focus {
    outline: none;
    box-shadow: 0 0 15px var(--glow-color);
    border-color: var(--accent-color);
}

.font-selection {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.font-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.font-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: 1px solid var(--accent-color);
}

.font-btn.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Converter textarea styles */
.converter-textarea {
    width: 100%;
    min-height: 180px;
    padding: 0.75rem;
    background: var(--primary-color);
    border: 1px solid rgba(78, 158, 255, 0.3);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.3s ease;
}

.converter-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--glow-color);
}

.converter-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Blinking cursor style */
.converter-textarea:focus::after {
    content: '|';
    color: var(--accent-color);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Converter section styles */
.converter-section {

    padding: 1rem;
}

.converter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Font selector styles */
.font-selector {
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    border: 1px solid rgba(78, 158, 255, 0.3);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.font-selector:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--glow-color);
}

/* Convert button styles */
.convert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    border: none;
    border-radius: 8px;
    /* color: var(--primary-color); */
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.convert-btn:hover {
    background-color: #3b8be6;
}

.convert-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--glow-color);
}

/* Remove old download section styles */
.download-section,
.download-buttons,
.btn-download {
    display: none;
}

/* New Support Section Styles */
.support-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
}

.support-section h1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;

    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 50px 0;
    position: relative;
}

.support-section h3 {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 20px 0;
    position: relative;
}


.support-section h1::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    /* border-radius: 2px; */
}

.support-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.support-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.support-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.heart-animation {
    font-size: 3rem;
    color: var(--accent-color);
    margin: 10px 0 0 0;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.support-btn-large {
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 15px 40px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transform-origin: center;
    text-decoration: none;
    font-weight: 700;
}

.support-btn-large i {
    color: var(--primary-color);
    font-size: 1.4rem;
    animation: heartBeat 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes titleGlow {

    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 20px var(--glow-color);
    }

    50% {
        opacity: 0.8;
        text-shadow: 0 0 30px var(--glow-color);
    }
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .support-section h1 {
        font-size: 2.5rem;
    }

    .support-text h2 {
        font-size: 2rem;
    }

    .support-text p {
        font-size: 1rem;
    }

    .support-btn-large {
        font-size: 1rem;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .support-section h1 {
        font-size: 2rem;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--secondary-color);
    padding: 20px 0;
    margin-top: auto;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    flex: 1 1 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.footer-links a {
    color: var(--text-secondary, #a0aec0);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-color, #4e9eff);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.footer-social a {
    color: var(--accent-color, #4e9eff);
    font-size: 1.25rem;
    margin: 0 4px;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    border-bottom: none !important;
}

.footer-social a:hover,
.footer-social a:focus,
.footer-social a:active,
.footer-social a * {
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none;
}

.app-purpose-section {
    background: var(--bg-card, #1e1e1e);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px;
    margin: 32px 0;
}

.app-purpose-section h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.app-purpose-section p {
    color: var(--text-secondary, #cccccc);
    line-height: 1.6;
    margin-bottom: 14px;
}

.legal-link {
    color: var(--accent-color, #4e9eff);
    font-weight: 600;
    text-decoration: underline;
}

.legal-link:hover {
    color: #818cf8;
}

/* Contact Page Styles */
.contact-container {
    max-width: 800px;
    margin: 40px auto;
    width: 100%;
}

.contact-card {
    background: var(--secondary-color, #1a1b2e);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 28px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(78, 158, 255, 0.1);
    color: var(--accent-color, #4e9eff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary, #b3b3b3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-info a,
.contact-info span {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: var(--accent-color, #4e9eff);
}

/* Responsive Design */
@media (max-width: 768px) {
    .converter-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-social {
        margin-left: 0;
        justify-content: center;
    }
}

/* Dropdown Styles */
.select-wrapper {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.select-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    pointer-events: none;
}

.font-dropdown {
    width: 100%;
    padding: 10px 40px 10px 15px;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    appearance: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    height: 42px;
}

.font-dropdown:hover,
.font-dropdown:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--glow-color);
    outline: none;
}

.font-dropdown option {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 10px;
}

/* Action Buttons Styles */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--primary-color);
    border-radius: 8px;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(78, 158, 255, 0.4);
}

.action-btn:hover {
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.6);
    transform: translateY(-1px);
}

.copy-btn,
.download-pdf-btn,
.download-txt-btn {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(78, 158, 255, 0.4);
}

.copy-btn:hover,
.download-pdf-btn:hover,
.download-txt-btn:hover {
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.6);
    transform: translateY(-1px);
}

/* Support page social buttons */
.share-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: auto;
    padding-left: 20px;
}

.btn-social {
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}

.btn-social:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--glow-color);
}

.btn-social i {
    font-size: 1.2rem;
}

/* Update support cards grid for two cards */
.support-options {
    display: grid;
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .support-options {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* Update support cards to match */
.support-card {
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.support-card:hover::before {
    opacity: 1;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(78, 158, 255, 0.1);
    border-color: rgba(78, 158, 255, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(78, 158, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.card-icon i {
    font-size: 24px;
    color: var(--accent-color);
}

.support-card h2 {
    font-size: 24px;
    color: var(--text-color);
    margin: 15px 0;
}

.support-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.support-card .btn {
    align-self: flex-start;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.support-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 158, 255, 0.3);
}

.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(78, 158, 255, 0.1);
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.social-btn:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(78, 158, 255, 0.2);
}

/* Donation Popup Styling */
.donation-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 17, 35, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.donation-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 20px;
    max-width: 550px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.donation-popup.active .popup-content {
    transform: scale(1);
    opacity: 1;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(78, 158, 255, 0.1);
    border: none;
    color: var(--text-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: rgba(78, 158, 255, 0.2);
    transform: rotate(90deg);
}

.donation-header {
    text-align: center;
    margin-bottom: 30px;
}

.donation-header i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-block;
    animation: heartbeat 1.5s ease infinite;
}

.donation-header h2 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.donation-message {
    text-align: center;
    margin-bottom: 40px;
}

.donation-message p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
}

.impact-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.impact-item {
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-3px);
    background: rgba(78, 158, 255, 0.1);
}

.impact-item i {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.payment-options {
    text-align: center;
}

.payment-options h3 {
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 20px;
}

.payment-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.payment-btn {
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-btn:hover {
    transform: translateY(-3px);
    background: rgba(78, 158, 255, 0.1);
    border-color: var(--accent-color);
}

.payment-btn i {
    font-size: 24px;
    color: var(--accent-color);
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .support-options {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .support-card {
        padding: 30px;
    }

    .impact-points,
    .payment-buttons {
        grid-template-columns: 1fr;
    }

    .popup-content {
        padding: 30px;
    }

    .donation-header i {
        font-size: 36px;
    }

    .donation-header h2 {
        font-size: 24px;
    }
}

/* Extension Maintenance Page Styles */
.extension-maintenance {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--secondary-color);
    border-radius: 10px;
    margin-top: 40px;
}

.maintenance-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Animated Elements */
.maintenance-animation {
    margin-bottom: 40px;
}

.gear-container {
    position: relative;
    height: 80px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gear-icon {
    font-size: 3rem;
    color: var(--accent-color);
    position: absolute;
    animation: spin 4s linear infinite;
}

.gear-left {
    left: 35%;
    animation: spin 4s linear infinite reverse;
}

.gear-right {
    right: 35%;
    animation: spin 4s linear infinite;
}

.code-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(78, 158, 255, 0.5);
}

.code-icon::before {
    content: '<';
    font-weight: 700;
}

.code-icon::after {
    content: '>';
    font-weight: 700;
}

.code-icon span {
    width: 3px;
    height: 25px;
    background-color: var(--accent-color);
    display: inline-block;
    animation: blink 1.5s infinite;
    box-shadow: 0 0 10px rgba(78, 158, 255, 0.5);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.progress-bar {
    width: 80%;
    height: 4px;
    background: rgba(78, 158, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-fill {
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    animation: progress 2s ease-in-out infinite;
    transform-origin: left;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes progress {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

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

.extension-maintenance h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.extension-maintenance p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.features-coming {
    background: rgba(78, 158, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.features-coming h2 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: left;
}

.mt-40 {
    margin-top: 40px;
}

/* Browser List Styles */
.browser-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.browser-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-color);
    padding: 20px;
    background: rgba(78, 158, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.browser-list li i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.browser-list li:hover {
    transform: translateY(-5px);
    background: rgba(78, 158, 255, 0.1);
}

/* Software List Styles */
.software-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.software-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(78, 158, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(78, 158, 255, 0.2);
    text-align: left;
}

.software-list li i {
    font-size: 2rem;
    color: var(--accent-color);
    min-width: 40px;
}

.software-list li .software-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    display: block;
}

.software-list li .software-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
}

.software-list li:hover {
    transform: translateY(-5px);
    background: rgba(78, 158, 255, 0.1);
}

/* Notification Box Styles */
.notification-box {
    margin-top: 60px;
    padding: 30px;
    background: rgba(78, 158, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(78, 158, 255, 0.3);
}

.notification-box i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    animation: bellRing 2s infinite;
}

.notification-box p {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 25px;
}

.email-signup {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.email-signup input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    background: var(--primary-color);
    color: var(--text-color);
    font-size: 1rem;
}

.email-signup input:focus {
    outline: none;
    box-shadow: 0 0 15px var(--glow-color);
}

.email-signup .btn {
    padding: 12px 30px;
    font-size: 1rem;
    white-space: nowrap;
}

@keyframes bellRing {

    0%,
    100% {
        transform: rotate(0);
    }

    20%,
    40% {
        transform: rotate(-10deg);
    }

    30%,
    50% {
        transform: rotate(10deg);
    }
}

@media (max-width: 768px) {
    .extension-maintenance h1 {
        font-size: 2rem;
    }

    .extension-maintenance p {
        font-size: 1rem;
    }

    .features-coming {
        padding: 20px;
    }

    .features-coming h2 {
        font-size: 1.5rem;
    }

    .software-list {
        grid-template-columns: 1fr;
    }

    .email-signup {
        flex-direction: column;
    }

    .email-signup .btn {
        width: 100%;
    }
}

/* About Page Styles */
.about-section {
    padding: 40px 30px;
}

.about-title {
    font-size: 3rem;
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-title::after {
    content: none;
}

@keyframes glowingBorder {
    0% {
        box-shadow: 0 0 5px var(--accent-color);
    }

    50% {
        box-shadow: 0 0 20px var(--accent-color);
    }

    100% {
        box-shadow: 0 0 5px var(--accent-color);
    }
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    text-align: center;
}

.mission-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.mission-text a,
.built-by a {
    display: inline-flex;
    align-items: center;
    min-height: 1.65em;
    padding: 0.05em 0.45em;
    border: 1px solid rgba(78, 158, 255, 0.35);
    border-radius: 6px;
    background: rgba(78, 158, 255, 0.1);
    color: #dbeafe;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.mission-text a:hover,
.built-by a:hover {
    background: rgba(78, 158, 255, 0.18);
    border-color: rgba(78, 158, 255, 0.65);
    color: #ffffff;
}

.mission-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.highlight-item {
    text-align: center;
    padding: 30px;
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid #436a96;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.highlight-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.highlight-item p {
    color: var(--text-secondary);
}

.font-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.font-card {
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid #436a96;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.font-card:hover {
    transform: translateY(-5px);
}

.font-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.font-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.font-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .mission-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .font-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .mission-highlights {
        grid-template-columns: 1fr;
    }

    .font-grid {
        grid-template-columns: 1fr;
    }

    .about-title {
        font-size: 2.5rem;
    }
}

/* Add some spacing between sections */
.supported-fonts {
    margin-top: 100px;
    padding-top: 20px;
}

/* Donation Popup Styles */
.donation-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.donation-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.donation-popup.active .popup-content {
    transform: scale(1);
    opacity: 1;
}

.donation-popup.closing {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.donation-popup.closing .popup-content {
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: var(--accent-color);
}

.donation-header {
    text-align: center;
    margin-bottom: 30px;
}

.donation-header i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.donation-header h2 {
    font-size: 2rem;
    color: var(--text-color);
}

.donation-message {
    text-align: center;
    margin-bottom: 40px;
}

.donation-message p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.impact-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.impact-item {
    text-align: center;
    padding: 15px;
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid #436a96;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.impact-item:hover {
    transform: translateY(-5px);
}

.impact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.impact-item span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.payment-options {
    text-align: center;
}

.payment-options h3 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.payment-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.payment-btn {
    padding: 15px;
    border: 1px solid #436a96;
    border-radius: 8px;
    background: rgba(78, 158, 255, 0.05);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.payment-btn i {
    font-size: 1.5rem;
}

.payment-btn img {
    height: 28px;
    width: auto;
    object-fit: contain;
    margin-bottom: 2px;
}

.esewa-btn img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.esewa-btn:hover img {
    filter: brightness(0);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 576px) {

    .impact-points,
    .payment-buttons {
        grid-template-columns: 1fr;
    }
}

/* Ensure the button is clickable */
#donateBtn {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

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

@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    to {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
}

/* Add mobile responsiveness for gears */
@media (max-width: 576px) {
    .gear-icon {
        font-size: 2.5rem;
    }

    .code-icon {
        font-size: 2rem;
    }

    .code-icon span {
        width: 2.5px;
        height: 20px;
    }

    .gear-left {
        left: 30%;
    }

    .gear-right {
        right: 30%;
    }
}

@media (max-width: 480px) {
    .gear-icon {
        font-size: 2rem;
    }

    .code-icon {
        font-size: 1.8rem;
    }

    .code-icon span {
        width: 2px;
        height: 18px;
    }

    .gear-left {
        left: 25%;
    }

    .gear-right {
        right: 25%;
    }
}

/* Software Boxes Styles */
.software-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.software-box {
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

.software-box h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.icon-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    padding: 0 20px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: #1A1B2E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-circle img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    z-index: 2;
    position: relative;
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    background: linear-gradient(45deg, var(--accent-color), transparent);
    border-radius: 50%;
    z-index: 0;
    animation: rotate 2s linear infinite;
}

.icon-circle::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #1A1B2E;
    border-radius: 50%;
    z-index: 1;
}

.icon-circle i {
    font-size: 1.5rem;
    color: var(--accent-color);
    z-index: 2;
    position: relative;
}

.icon-circle:hover {
    transform: translateY(-5px);
}

.icon-circle:hover::before {
    animation: rotate 1s linear infinite;
    background: linear-gradient(45deg, var(--accent-color), var(--text-color));
}

@media (max-width: 768px) {
    .icon-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
    }

    .icon-circle img {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .icon-grid {
        gap: 15px;
    }

    .icon-circle {
        width: 45px;
        height: 45px;
    }

    .icon-circle img {
        width: 22px;
        height: 22px;
    }
}

.extension-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 10px 20px;
    margin: 150px auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.box-content {
    text-align: center;
}

.text-content {
    margin-top: 30px;
}

.text-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    background-image: linear-gradient(to right, #a5c7ff, #a5c7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-content .description {
    color: #a8b2d1;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.text-content .status-message {
    color: var(--accent-color);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-message i {
    font-size: 1.1rem;
}

.maintenance-animation {
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .extension-box {
        padding: 30px 20px;
        margin: 30px auto;
        border-radius: 15px;
    }

    .text-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .text-content .description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .text-content .status-message {
        font-size: 0.9rem;
    }

    .status-message i {
        display: none;
    }
}

@media (max-width: 480px) {
    .extension-box {
        padding: 25px 15px;
        margin: 20px auto;
    }

    .text-content h1 {
        font-size: 1.5rem;
    }

    .text-content .description {
        font-size: 0.95rem;
    }
}

/* Typing Page Styles */
.typing-section {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-top: 6rem;
}

.typing-header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.typing-header h1 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.typing-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.controls-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.control-group {
    background: var(--primary-color);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.control-group label {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.control-group select {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(78, 158, 255, 0.3);
    background: var(--secondary-color);
    color: var(--text-color);
    transition: all 0.2s;
}

.control-group select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(78, 158, 255, 0.2);
    outline: none;
}

.typing-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.typing-area {
    position: relative;
    background: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.typing-input {
    width: 100%;
    min-height: 200px;
    padding: 1.25rem;
    font-size: 1.2rem;
    border: 2px solid rgba(78, 158, 255, 0.2);
    border-radius: 8px;
    resize: vertical;
    transition: all 0.2s;
    color: var(--text-color);
    line-height: 1.6;
    background: var(--primary-color);
}

.typing-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.25rem;
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
    pointer-events: none;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-y: auto;
    background: transparent;
}

.typing-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(78, 158, 255, 0.3);
    outline: none;
}

.typing-input::placeholder {
    color: var(--text-secondary);
}

.typing-input:not(:placeholder-shown) {
    color: transparent;
    caret-color: var(--text-color);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--primary-color);
    border-radius: 8px;
    border: 1px solid rgba(78, 158, 255, 0.2);
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(78, 158, 255, 0.4);
}

.action-btn:hover {
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.6);
    transform: translateY(-1px);
}

.copy-btn {
    background: var(--accent-color);
}

.copy-btn:hover {
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.6);
}

.download-pdf-btn {
    background: var(--accent-color);
}

.download-pdf-btn:hover {
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.6);
}

.download-txt-btn {
    background: var(--accent-color);
}

.download-txt-btn:hover {
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.6);
}

.suggestions-dropdown {
    position: absolute;
    background: var(--secondary-color);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-height: 200px;
    overflow-y: auto;
    width: 250px;
    z-index: 1000;
    display: none;
}

.suggestions-dropdown.active {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(78, 158, 255, 0.1);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(78, 158, 255, 0.1);
}

.suggestion-item .roman {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.suggestion-item .unicode {
    color: var(--text-color);
    font-weight: 500;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #357abd;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .action-buttons .action-btn {
        width: 100%;
        padding: 12px;
        justify-content: center;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .action-buttons {
        padding: 0;
        gap: 10px;
    }

    .action-buttons .action-btn {
        padding: 10px;
        font-size: 0.9rem;
    }

    .action-buttons .action-btn i {
        font-size: 1rem;
    }
}

@media (hover: hover) {
    .action-buttons .btn:hover {
        transform: translateY(-2px);
    }
}

/* Controls section */
.controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.font-selection {
    flex: 1;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Make textareas match the typing area style */
.converter-textarea {
    width: 100%;
    min-height: 180px;
    padding: 0.75rem;
    background: var(--primary-color);
    border: 1px solid rgba(78, 158, 255, 0.3);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.3s ease;
}

.converter-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--glow-color);
}

.converter-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Blinking cursor style */
.converter-textarea:focus::after {
    content: '|';
    color: var(--accent-color);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    from,
    to {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Caret color for blinking cursor */
.converter-textarea {
    caret-color: var(--accent-color);
}

/* Font selector styles */
.font-selector {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    border: 1px solid rgba(78, 158, 255, 0.3);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e9eff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.font-selector:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--glow-color);
}

/* Convert button styles */
.convert-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    border: none;
    border-radius: 8px;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.convert-btn:hover {
    background-color: #3b8be6;
}

.convert-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--glow-color);
}

.convert-btn i {
    font-size: 0.9em;
}

/* Notification System */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3B82F6;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Toggle Button Animation */
#toggleDirection {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#toggleDirection i {
    transition: transform 0.3s ease;
    display: inline-block;
}

#toggleDirection.reversed i {
    transform: rotate(180deg);
}

#toggleDirection:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--glow-color);
}

#toggleDirection:active {
    transform: translateY(0);
    box-shadow: 0 0 8px var(--glow-color);
}

/* Improve Button Interactions */
.convert-btn {
    transition: all 0.2s ease;
    position: relative;
}

.convert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2);
}

.convert-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.convert-btn.btn-glow:hover {
    box-shadow: 0 0 15px var(--glow-color);
}

.convert-btn.btn-glow:active {
    box-shadow: 0 0 8px var(--glow-color);
}

.nepali-hindi-box {
    color: #608fc9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(78, 158, 255, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 32px;
    padding: 10px;
    margin: 15px auto 25px;
    max-width: fit-content;
    transition: all 0.3s ease;
}

.nepali-hindi-box:hover {
    background: rgba(78, 158, 255, 0.2);
    transform: translateY(-2px);
}

/* dropdown menu */


.conversion-direction {
    display: flex;
    align-items: center;
    font-size: 1rem;
    justify-content: center;
    gap: 10px;
    background: rgba(78, 158, 255, 0.217);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 10px;
    margin: auto;
    max-width: 450px;
    transition: all 0.3s ease;
}

.conversion-direction:hover {
    background: rgba(63, 149, 255, 0.125);
    /*  */
}

/* dropdown menu */

/* convertion direction  */

#conversionDirection {
    background-color: #151F39;
    transition: all 0.3s ease;
    color: var(--text-color);
    border: var(--glow-color) 1px solid;
    border-radius: 8px;
    padding: 6px;

}

#conversionDirection:hover {
    transform: translateY(-2px);
}

#conversionDirection select {
    width: 100%;
    padding: 20px;
    background: var(--primary-color);
    color: var(--text-color);
    border: 1px solid rgb(78, 158, 255);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;

}



/* Convertion direction end  */

.arrow-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
    animation: bounceUpDown 2s ease-in-out infinite;
}

@keyframes bounceUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.language-link {
    color: #86BDFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.language-link:hover {
    color: #a3cdff;
}

/* Support buttons on homepage */
.support-buttons {
    margin-top: 2rem;
}

.support-buttons .support-btn-large {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 15px 40px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(78, 158, 255, 0.3);
}

.support-buttons .support-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.5);
}

.support-buttons .support-btn-large i {
    color: var(--primary-color);
    font-size: 1.4rem;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.heart-animation.liked {
    animation: heartbeat 0.8s cubic-bezier(.4, 0, .2, 1);
}

/* converter input output css */

body {
    color: #e0e0e0;
    font-size: 87.5%;
    font-family: "Trebuchet MS", Trebuchet, "Lucida Sans Unicode", "Lucida Grande",
        "Lucida Sans", Arial, sans-serif;
    line-height: 1.429;
    margin: 0;
    padding: 0;
    text-align: left;
    background-color: #1a1f2c;
}

.body {
    clear: both;
    margin: 0 auto;
    padding: 20px;
}

.unicode_wrap {
    margin: 0 auto;
    padding-top: 20px;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.unicode_roman {
    text-align: left;
    color: #a0a0a0;
    flex: 1 1 48%;
    min-width: 320px;
    margin: 0;
}

.unicode_cap {
    width: 190px;
    line-height: 30px;
    font-size: 14px;
    background-color: #1e3a8a;
    color: #ffffff;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    padding: 10px 15px;
    border: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.unicode_cap_1 {
    width: 235px;
    line-height: 30px;
    font-size: 14px;
    text-align: left;
    background-color: #1e3a8a;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    border: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.textarea_unicode {
    width: 100%;
    height: 390px;
    outline: none;
    border: 1px solid #2d3748;
    padding: 12px;
    font-size: 20px;
    background-color: var(--primary-color);
    color: #fcfdfd;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.textarea_unicode:focus {
    border-color: #2257adc9;
    box-shadow: 0 0 0 2px rgba(30, 89, 185, 0.288);
}

.unicode_wrap .action-buttons {
    flex: 1 0 100%;
    width: 100%;
}

@media (max-width: 992px) {
    .unicode_roman {
        flex: 1 1 100%;
    }
}

.unicode-marquee {
    padding: 10px;
    background-color: #2d3748;
    border-radius: 8px;
}

#converter {
    background-color: #2563eb;
    color: #ffffff;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#converter:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Booking Form Custom Styles migrated from download.html */
.booking-form-container {
    max-width: 600px;
    margin: 1.5rem auto 0 auto;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
    background: #18192a;
    border: 1px solid #23243a;
    border-radius: 16px;
    position: relative;
    top: -30px;
}

.booking-form-container h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    background-image: linear-gradient(to right, #a5c7ff, #a5c7ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.booking-form-container p {
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.booking-form {
    gap: 1rem;
}

.btn-submit {
    width: 100%;
    margin-top: 0.5rem;
    font-size: 1.08rem;
}

#bookingThankYou {
    display: none;
    text-align: center;
    margin-top: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive stacking for booking form and extension box */
@media (max-width: 900px) {
    .container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .extension-box,
    .booking-form-container {
        margin: 0 auto;
        max-width: 98vw;
        position: static;
        top: unset;
    }
}

@media (max-width: 768px) {
    .booking-form-container {
        padding: 1rem 0.5rem;
        max-width: 99vw;
        margin-top: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    }

    .extension-box {
        margin: 1.5rem auto 0 auto;
    }
}

@media (max-width: 480px) {
    .booking-form-container {
        padding: 0.7rem 0.2rem;
        max-width: 100vw;
        border-radius: 8px;
    }

    .extension-box {
        margin: 1rem auto 0 auto;
        padding: 15px 5px;
    }
}

/* Support Section Cards */
.support-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.support-card {
    background: #0F1123;
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    background: rgba(78, 158, 255, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    width: 100%;
}

.support-card p {
    color: #b3b3b3;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Momo Animation */
.momo-icon-container {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(78, 158, 255, 0.1);
    border-radius: 50%;
}

.momo-body {
    width: 50px;
    height: 40px;
    background: #fff;
    border-radius: 50% 50% 20% 20%;
    position: relative;
    box-shadow: inset -2px -2px 5px rgba(0, 0, 0, 0.1);
    border: 2px solid #ddd;
    display: flex;
    justify-content: center;
}

/* Wrapper fold on top */
.momo-body::before {
    content: '';
    position: absolute;
    top: -5px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-top: 2px solid #ddd;
    border-left: 2px solid #ddd;
    transform: rotate(45deg);
    border-radius: 2px;
}

.momo-eyes {
    position: absolute;
    top: 15px;
    display: flex;
    gap: 12px;
    z-index: 2;
}

.eye {
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
    animation: blink 3.5s infinite;
}

@keyframes blink {

    0%,
    96%,
    100% {
        transform: scaleY(1);
    }

    98% {
        transform: scaleY(0.1);
    }
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: auto;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.donate-btn:hover {
    transform: scale(1.05);
    background: #3b82f6;
    box-shadow: 0 0 15px rgba(78, 158, 255, 0.4);
}

/* How To Use Section */
.how-to-use-section {
    padding: 60px 0;
    /* background-color: var(--secondary-color); */
}

.how-to-use-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 50px;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.step-card {
    background: rgba(78, 158, 255, 0.05);
    border: 1px solid rgba(78, 158, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(78, 158, 255, 0.1);
    border-color: var(--accent-color);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(78, 158, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 30px;
    color: var(--accent-color);
}

.step-card h3 {
    width: 100%;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.25rem;
}

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

@media (max-width: 768px) {
    .how-to-use-section .section-title {
        font-size: 2rem;
    }
}

/* Features Section */
.features-section {
    padding: 60px 0;

}

.features-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 50px;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 768px) {
    .features-section .section-title {
        font-size: 2rem;
    }
}

/* Blog Page Styles */
.about-section-blog .about-title {
    text-align: left;
    margin-left: 0;
}

.about-section-blog .about-content {
    text-align: left;
    max-width: 100%;
}

.about-section-blog .mission-text {
    text-align: left;
    margin: 0 0 20px 0;
    max-width: 100%;
}

.blog-text-secondary {
    text-align: left;
    margin-bottom: 30px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.blog-highlight-box {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(78, 158, 255, 0.1);
    margin-bottom: 30px;
    text-align: left;
}

.blog-highlight-box h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.blog-highlight-box p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.blog-action-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0;
    background: none;
    border: none;
    margin-top: 0;
}

.blog-btn {
    flex: 0 0 auto;
    width: auto;
    padding: 10px 25px;
    min-width: auto;
    font-size: 0.95rem;
    text-decoration: none;
    background: var(--accent-color);
    border: none;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-btn:hover {
    box-shadow: 0 0 30px rgba(78, 158, 255, 0.6);
    transform: translateY(-1px);
}


.blog-featured-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(78, 158, 255, 0.1);
    display: block;
}

/* --- Blog Page Styles --- */

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.blog-card {
    background: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    /* Content left, Image right */
    justify-content: space-between;
    border: 1px solid rgba(78, 158, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 220px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.blog-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.blog-card-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.2s ease;
    align-self: flex-start;
}

.blog-read-more:hover {
    gap: 0.8rem;
    text-decoration: underline;
}

.blog-card-image {
    width: 35%;
    min-width: 250px;
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

/* Mobile Responsive for Blog */
@media screen and (max-width: 768px) {
    .blog-card {
        flex-direction: column-reverse;
    }

    .blog-card-content {
        order: 2;
        padding: 1.5rem;
    }

    .blog-card-image {
        order: 1;
        width: 100%;
        height: 200px;
        /* Fixed height for mobile banner feel */
        min-width: auto;
    }

    .blog-card-title {
        font-size: 1.25rem;
    }
}

/* Dark gray UI polish - keeps layout intact and preserves gradient headings */
:root {
    --primary-color: #121212;
    --secondary-color: #1a1a1a;
    --surface-color: #202020;
    --surface-hover: #262626;
    --line-color: rgba(255, 255, 255, 0.11);
    --line-strong: rgba(255, 255, 255, 0.17);
    --text-secondary: #a9a9a9;
    --glow-color: rgba(78, 158, 255, 0.18);
}

body {
    background: #151515;
    color: var(--text-color);
}

.main {
    background: #151515;
}

.header {
    background-color: rgba(18, 18, 18, 0.82);
    border-bottom: 1px solid var(--line-color);
    box-shadow: none;
}

.nav-links a {
    border-radius: 6px;
    box-shadow: none;
}

.support-btn,
.action-btn,
.convert-btn,
.blog-btn,
#converter,
.btn-submit,
.support-card .btn,
.donate-btn,
.payment-btn,
.support-buttons .support-btn-large {
  font: inherit;
  background-color: #2a2a2a;
  border: 0;
  color: #e0e0e0;
  border-radius: 0.5em;
  font-size: 1rem;
  padding: 0.4125em 1.05em;
  font-weight: 600;
  text-shadow: 0 0.0625em 0 #000;
  box-shadow:
    inset 0 0.03em 0 0 #3a3a3a,
    0 0.03em 0 0 #252525,
    0 0.0625em 0 0 #202020,
    0 0.125em 0 0 #1c1c1c,
    0 0.125em 0 0 #181818,
    0 0.2em 0 0 #141414,
    0 0.225em 0 0 #101010,
    0 0.225em 0.375em 0 #0a0a0a;
  transition: 0.15s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.07);
}

.nav-links a.active {
  background-color: #2a2a2a;
  border: 0;
  color: #e0e0e0;
  border-radius: 0.5em;
  font-weight: 600;
  text-shadow: 0 0.0625em 0 #000;
  box-shadow:
    inset 0 0.03em 0 0 #3a3a3a,
    0 0.03em 0 0 #252525,
    0 0.0625em 0 0 #202020,
    0 0.125em 0 0 #1c1c1c,
    0 0.125em 0 0 #181818,
    0 0.2em 0 0 #141414,
    0 0.225em 0 0 #101010,
    0 0.225em 0.375em 0 #0a0a0a;
}

.nav-links a.active:active {
  translate: 0 0.225em;
  box-shadow:
    inset 0 0.03em 0 0 #3a3a3a,
    0 0.03em 0 0 #252525,
    0 0.0625em 0 0 #202020,
    0 0.125em 0 0 #1c1c1c,
    0 0.125em 0 0 #181818,
    0 0.2em 0 0 #141414,
    0 0.225em 0 0 #101010,
    0 0.225em 0.375em 0 #0a0a0a;
}

.support-btn:hover,
.action-btn:hover,
.convert-btn:hover,
.blog-btn:hover,
#converter:hover,
.btn-submit:hover,
.support-card .btn:hover,
.donate-btn:hover,
.payment-btn:hover,
.support-buttons .support-btn-large:hover {
  background-color: #323232;
  color: #ffffff;
  transform: none;
  box-shadow:
    inset 0 0.03em 0 0 #3a3a3a,
    0 0.03em 0 0 #252525,
    0 0.0625em 0 0 #202020,
    0 0.125em 0 0 #1c1c1c,
    0 0.125em 0 0 #181818,
    0 0.2em 0 0 #141414,
    0 0.225em 0 0 #101010,
    0 0.225em 0.375em 0 #0a0a0a;
}

.support-btn:active,
.action-btn:active,
.convert-btn:active,
.blog-btn:active,
#converter:active,
.btn-submit:active,
.support-card .btn:active,
.donate-btn:active,
.payment-btn:active,
.support-buttons .support-btn-large:active {
  translate: 0 0.225em;
  box-shadow:
    inset 0 0.03em 0 0 #3a3a3a,
    0 0.03em 0 0 #252525,
    0 0.0625em 0 0 #202020,
    0 0.125em 0 0 #1c1c1c,
    0 0.125em 0 0 #181818,
    0 0.2em 0 0 #141414,
    0 0.225em 0 0 #101010,
    0 0.225em 0.375em 0 #0a0a0a;
}

.support-btn i,
.support-card .btn i,
.support-buttons .support-btn-large i {
    color: #ffffff;
}

.converter-section,
.typing-section,
.typing-box,
.about-section,
.support-section,
.features-section,
.how-to-use-section,
.booking-form-container,
.blog-card,
.support-card,
.step-card,
.font-card,
.mission-card,
.blog-highlight-box,
.donation-modal-content,
.payment-details,
.payment-btn,
.suggestions-container,
.nepali-hindi-box,
.conversion-direction {
    background: #151515;
    border: 1px solid var(--line-color);
    border-radius: 8px;
    box-shadow: none;
}

.converter-section,
.typing-section,
.about-section,
.support-section,
.features-section,
.how-to-use-section {
    background-color: #151515;
}

.converter-wrapper,
.unicode_wrap,
.typing-area {
    background: transparent;
    box-shadow: none;
}

.textarea_unicode,
.converter-textarea,
textarea,
#conversionDirection,
#conversionDirection select,
.font-selector,
.email-signup input,
body .typing-container .typing-box .typing-input {
    background-color: #141414 !important;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    box-shadow: none;
    color: var(--text-color);
}

.textarea_unicode:focus,
.converter-textarea:focus,
textarea:focus,
#conversionDirection:focus,
#conversionDirection select:focus,
.font-selector:focus,
.email-signup input:focus,
body .typing-container .typing-box .typing-input:focus {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.unicode_cap,
.unicode_cap_1 {
    background-color: #232323;
    border: 1px solid var(--line-color);
    border-bottom: none;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    box-shadow: none;
}

.conversion-direction {
    background: #181818;
}

.about-title {
    margin-top: 26px;
}

.nepali-hindi-box {
    background: #181818;
}

.unicode_wrap .action-buttons,
.action-buttons {
    background: #151515;
    border: 1px solid var(--line-color);
    border-radius: 8px;
    box-shadow: none;
}

.conversion-direction:hover,
.nepali-hindi-box:hover {
    background: var(--surface-hover);
    transform: none;
}

.complex-letters,
.suggestion-item,
.language-selector,
.modal-content {
    background: var(--surface-color);
    border-color: var(--line-color);
    border-radius: 6px;
}

.support-card:hover,
.step-card:hover,
.blog-card:hover,
.font-card:hover,
.payment-btn:hover {
    border-color: var(--line-strong);
    box-shadow: none;
}

.notification {
    background: #242424;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    box-shadow: none;
}

/* Final app-shell polish */
.main {
    max-width: 1440px;
    margin: 70px auto 0;
    padding: 26px 24px 40px;
    border-left: 1px solid var(--line-color);
    border-right: 1px solid var(--line-color);
}

.header {
    background: #151515;
}

.about-title {
    margin-top: 54px;
    margin-bottom: 24px;
    line-height: 1.12;
}

.nepali-hindi-box {
    margin-bottom: 26px;
    padding: 8px 14px;
    border-radius: 6px;
}

.converter-section {
    padding: 20px 20px 18px;
}

.conversion-direction {
    margin-bottom: 18px;
    padding: 9px 12px;
}

.textarea_unicode {
    height: 385px;
}

.unicode_wrap {
    padding-top: 0;
}

.unicode_wrap .action-buttons {
    margin-top: 18px;
    padding: 14px 16px;
}

.action-btn:hover {
    transform: none;
}

.support-section,
.how-to-use-section,
.features-section {
    margin-top: 28px;
}

.support-card,
.step-card,
.blog-card,
.font-card {
    background: #181818;
}

@media screen and (max-width: 768px) {
    .main {
        margin-top: 64px;
        padding: 20px 12px 32px;
        border-left: 0;
        border-right: 0;
    }

    .converter-section {
        padding: 16px 12px;
    }

    .about-section {
        padding: 30px 16px;
    }
}

/* Remove heavy section dividers; separate areas with quiet surface tones */
.main {
    border-left: 0;
    border-right: 0;
}

.converter-section,
.support-section,
.how-to-use-section,
.features-section,
.about-section,
.typing-section,
.extension-maintenance,
.about-section-blog .about-content,
.donation-modal-content,
.booking-form-container {
    border: 0;
    background: #171717;
    box-shadow: none;
}

.support-section,
.how-to-use-section,
.features-section,
.about-section,
.typing-section,
.extension-maintenance {
    background-color: #171717;
}

.converter-section {
    background: #1a1a1a;
}

.conversion-direction,
.nepali-hindi-box,
.unicode_wrap .action-buttons,
.action-buttons {
    border: 0;
    background: #202020;
    box-shadow: none;
}

.support-card,
.step-card,
.font-card,
.blog-card,
.mission-card,
.blog-highlight-box,
.payment-details,
.payment-btn {
    border: 0;
    background: #1b1b1b;
    box-shadow: none;
}

.support-card:hover,
.step-card:hover,
.font-card:hover,
.blog-card:hover,
.payment-btn:hover {
    border: 0;
    background: #202020;
    box-shadow: none;
}

.card-icon,
.step-icon,
.feature-icon,
.payment-icon,
.typing-icon {
    background: #202020;
}

.header {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.support-buttons .support-btn-large,
.support-buttons .support-btn-large:hover,
.support-buttons .support-btn-large:focus,
.support-buttons .support-btn-large:focus-visible,
.support-buttons .support-btn-large.btn-glow,
.support-buttons .support-btn-large.btn-glow:hover {
    outline: none;
    text-shadow: none;
}

.support-section {
    padding-bottom: 48px;
}

.support-buttons {
    margin-bottom: 4px;
}

/* Download page redesign */
.download-hero {
    width: min(1180px, calc(100vw - 48px));
    min-height: calc(100vh - 170px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    align-items: center;
    gap: clamp(32px, 6vw, 86px);
    padding: clamp(42px, 8vh, 96px) 0;
}

.download-copy {
    max-width: 620px;
}

.download-kicker,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 11px;
    border-radius: 6px;
    background: #1b1b1b;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
}

.download-copy h1 {
    margin: 0 0 20px;
    max-width: 620px;
    font-size: clamp(2.25rem, 4.7vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: 0;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.download-copy p {
    max-width: 560px;
    color: #b8b8b8;
    font-size: 1.08rem;
    line-height: 1.75;
}

.download-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 30px;
    color: #e8e8e8;
}

.download-highlights span {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 6px;
    background: #1a1a1a;
}

.download-highlights i {
    color: var(--accent-color);
}

.download-panel {
    display: grid;
    gap: 16px;
}

.download-panel .extension-box,
.download-copy .extension-box {
    margin: 0;
    max-width: none;
    padding: 28px;
    background: #1a1a1a;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
}

.download-copy .extension-box {
    margin-top: 28px;
}

.download-panel .box-content,
.download-copy .box-content {
    text-align: left;
}

.download-panel .maintenance-animation,
.download-copy .maintenance-animation {
    margin-bottom: 22px;
}

.download-panel .gear-container,
.download-copy .gear-container {
    justify-content: flex-start;
    height: 46px;
    margin-bottom: 18px;
}

.download-panel .gear-icon,
.download-copy .gear-icon {
    position: static;
    font-size: 1.85rem;
}

.download-panel .code-icon,
.download-copy .code-icon {
    position: static;
    margin: 0 18px;
    font-size: 1.55rem;
}

.download-panel .code-icon span,
.download-copy .code-icon span {
    height: 18px;
}

.download-panel .progress-bar,
.download-copy .progress-bar {
    width: 100%;
    margin: 0;
    background: #2a2a2a;
}

.download-panel .text-content,
.download-copy .text-content {
    margin-top: 0;
}

.download-panel .text-content h2,
.download-copy .text-content h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.15;
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.download-panel .text-content .description,
.download-copy .text-content .description {
    margin: 0;
    color: #b8b8b8;
    font-size: 1rem;
}

.download-panel .booking-form-container {
    max-width: none;
    margin: 0;
    padding: 28px;
    position: static;
    top: auto;
    background: #181818;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
}

.download-panel .booking-form-container h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
}

.download-panel .booking-form-container p {
    margin-bottom: 18px;
}

.download-panel .booking-form {
    display: grid;
    gap: 14px;
}

.download-panel .form-group {
    display: grid;
    gap: 7px;
}

.download-panel input,
.download-panel select {
    width: 100%;
    min-height: 44px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #121212;
    color: #ffffff;
    padding: 0 12px;
}

.download-panel input:focus,
.download-panel select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.download-panel .btn-submit {
    min-height: 48px;
    margin-top: 4px;
}

@media screen and (max-width: 980px) {
    .download-hero {
        grid-template-columns: 1fr;
        align-items: start;
        width: min(760px, calc(100vw - 32px));
        padding: 34px 0;
    }

    .download-copy {
        max-width: none;
    }
}

@media screen and (max-width: 560px) {
    .download-hero {
        width: calc(100vw - 24px);
    }

    .download-copy .extension-box,
    .download-panel .extension-box,
    .download-panel .booking-form-container {
        padding: 20px;
    }
}

/* Shared secondary section surface across all pages */
.converter-section,
.support-section,
.how-to-use-section,
.features-section,
.about-section,
.typing-section,
.extension-maintenance,
.about-section-blog .about-content,
.download-copy .extension-box,
.download-panel .extension-box,
.download-panel .booking-form-container,
.booking-form-container,
.support-card,
.step-card,
.font-card,
.blog-card,
.mission-card,
.blog-highlight-box {
    background: #1a1a1a;
}

.highlight-item {
    background: #1a1a1a;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
}

.highlight-item:hover {
    background: #202020;
    transform: none;
    box-shadow: none;
}

.support-section h3 {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-align: center;
}

.support-card {
    background: #202020;
}

.support-card:hover {
    background: #202020;
    border: 0;
    transform: none;
    box-shadow: none;
}

.support-card::before,
.support-card:hover::before {
    opacity: 0;
}

.conversion-direction,
.nepali-hindi-box,
.unicode_wrap .action-buttons,
.action-buttons,
.typing-box,
.suggestions-container,
.payment-details,
.payment-btn {
    background: #202020;
}

.converter-page-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.converter-page-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.converter-page-links a:hover {
    color: #ffffff;
}

body .typing-container .typing-box .typing-input {
    background-color: #141414 !important;
    border-color: var(--line-strong);
    box-shadow: none;
}

body .typing-container .typing-box .typing-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

/* SEO Content Section */
.seo-content {
  width: 100%;
  margin: 32px 0 48px;
  padding: 0;
}

.seo-content-inner {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.seo-content-inner h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 2px;
  color: var(--text-primary, #f0f0f0);
}

.seo-content-inner h3 {
  font-size: 1.05rem;
  margin-top: 16px;
  margin-bottom: 2px;
  color: var(--text-primary, #f0f0f0);
}

.seo-content-inner p,
.seo-content-inner dd {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-secondary, #a0a0a0);
  margin-bottom: 12px;
}

.seo-content-inner ul {
  display: grid;
  gap: 10px;
  padding-left: 0;
  color: var(--text-secondary, #a0a0a0);
  line-height: 1.8;
  list-style: none;
}

.seo-content-inner li {
  position: relative;
  padding: 11px 12px 11px 38px;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.seo-content-inner li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 12px rgba(78, 158, 255, 0.5);
}

.seo-content-inner a,
.built-by a,
.about-cta a,
.type-intro a {
  color: #dbeafe;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(78, 158, 255, 0.55);
}

.seo-content-inner a:hover,
.built-by a:hover,
.about-cta a:hover,
.type-intro a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.faq-list dt {
  font-weight: 600;
  color: var(--text-primary, #f0f0f0);
  margin: 0;
  padding: 14px 16px 4px;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.faq-list dd {
  margin-left: 0;
  margin-top: -10px;
  padding: 4px 16px 14px;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.built-by,
.about-cta {
  max-width: 860px;
  margin: 36px auto 0;
}

.built-by h2 {
  color: var(--text-primary, #f0f0f0);
  margin-bottom: 12px;
}

.built-by p,
.type-intro,
.conjunct-label {
  color: var(--text-secondary, #a0a0a0);
  line-height: 1.75;
}

.about-cta {
  text-align: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  background: #2a2a2a;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.conjunct-label {
  margin: 0.5rem 0 0.25rem;
  font-weight: 600;
}

.type-intro {
  max-width: 760px;
  margin: 0 auto 18px;
  padding: 16px 18px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.conjunct-label {
  width: fit-content;
  margin: 0 auto 10px;
  padding: 7px 11px;
  background: #202020;
  border-radius: 6px;
  color: #e6e6e6;
}

.language-link {
  color: #dbeafe;
  font-weight: 700;
  text-decoration: none;
}

.language-link:hover {
  color: #ffffff;
}

.complex-letter {
  font-family: "Noto Sans Devanagari", "Mangal", "Nirmala UI", "Kohinoor Devanagari", sans-serif;
  line-height: 1.15;
}

.built-by p a {
  display: inline-flex;
  align-items: center;
  min-height: 1.65em;
  padding: 0.05em 0.45em;
  border: 1px solid rgba(78, 158, 255, 0.35);
  border-radius: 6px;
  background: rgba(78, 158, 255, 0.1);
  color: #dbeafe;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.built-by p a:hover {
  background: rgba(78, 158, 255, 0.18);
  border-color: rgba(78, 158, 255, 0.65);
  color: #ffffff;
}


/* Custom Dropdown Styling */
.conversion-direction-dropdown {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.custom-dropdown {
    position: relative;
    width: 280px;
    font-family: 'Inter', sans-serif;
    user-select: none;
    z-index: 100;
}

.dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2a2a2a;
    border: 0;
    color: #e0e0e0;
    border-radius: 0.5em;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 0.0625em 0 #000;
    box-shadow:
      inset 0 0.03em 0 0 #3a3a3a,
      0 0.03em 0 0 #252525,
      0 0.0625em 0 0 #202020,
      0 0.125em 0 0 #1c1c1c,
      0 0.125em 0 0 #181818,
      0 0.2em 0 0 #141414,
      0 0.225em 0 0 #101010,
      0 0.225em 0.375em 0 #0a0a0a;
    transition: 0.15s ease;
    padding: 0.4125em 1.05em;
}

.dropdown-trigger:hover {
    background-color: #323232;
    color: #ffffff;
    box-shadow:
      inset 0 0.03em 0 0 #3a3a3a,
      0 0.03em 0 0 #252525,
      0 0.0625em 0 0 #202020,
      0 0.125em 0 0 #1c1c1c,
      0 0.125em 0 0 #181818,
      0 0.2em 0 0 #141414,
      0 0.225em 0 0 #101010,
      0 0.225em 0.375em 0 #0a0a0a;
}

.dropdown-icon {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.custom-dropdown.open .dropdown-icon {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.custom-dropdown.open .dropdown-trigger {
    box-shadow:
      inset 0 0.03em 0 0 #3a3a3a,
      0 0.03em 0 0 #252525,
      0 0.0625em 0 0 #202020,
      0 0.125em 0 0 #1c1c1c,
      0 0.125em 0 0 #181818,
      0 0.2em 0 0 #141414,
      0 0.225em 0 0 #101010,
      0 0.225em 0.375em 0 #0a0a0a;
}

.dropdown-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 6px;
    list-style: none;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: transform 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.custom-dropdown.open .dropdown-options {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-option {
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-option:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.dropdown-option.active {
  background-color: #2a2a2a;
  border: 0;
  color: #e0e0e0;
  border-radius: 0.5em;
  font-weight: 600;
  text-shadow: 0 0.0625em 0 #000;
  box-shadow:
    inset 0 0.03em 0 0 #3a3a3a,
    0 0.03em 0 0 #252525,
    0 0.0625em 0 0 #202020,
    0 0.125em 0 0 #1c1c1c,
    0 0.125em 0 0 #181818,
    0 0.2em 0 0 #141414,
    0 0.225em 0 0 #101010,
    0 0.225em 0.375em 0 #0a0a0a;
}

/* Responsive stability overrides */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    min-width: 0;
}

.header {
    left: 0;
    right: 0;
    width: auto;
}

.header-container,
.container,
.main,
.footer,
.footer-content {
    min-width: 0;
}

.main {
    width: 100%;
    max-width: 1440px;
    overflow-x: clip;
}

.container {
    width: 100%;
}

.converter-section,
.unicode_wrap,
.unicode_roman,
.support-section,
.support-content,
.support-options,
.how-to-use-section,
.features-section,
.steps-grid,
.typing-container,
.typing-header,
.typing-box {
    min-width: 0;
    max-width: 100%;
}

.unicode_roman {
    flex-basis: min(100%, 320px);
}

.textarea_unicode,
.typing-input,
body .typing-container .typing-box .typing-input {
    max-width: 100%;
}

.typing-container {
    width: min(1000px, 100%);
}

.complex-letters {
    width: 100%;
}

.complex-letter,
.suggestions-item {
    min-width: 0;
}

.action-buttons,
.unicode_wrap .action-buttons {
    min-width: 0;
    max-width: 100%;
}

.action-btn {
    min-width: 0;
}

@media screen and (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
    }

    .header-container {
        width: 100%;
        min-height: 46px;
    }

    .main {
        width: 100%;
        margin-top: 62px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .container {
        padding-left: 0;
        padding-right: 0;
    }

    .converter-section,
    .support-section,
    .how-to-use-section,
    .features-section {
        width: 100%;
    }

    .unicode_wrap {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .unicode_roman {
        flex: 1 1 100%;
        width: 100%;
    }

    .typing-container {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .typing-header {
        margin-top: 1rem;
    }

    .typing-box {
        width: 100%;
    }

    .typing-box > div[style] {
        width: 100%;
    }

    .complex-letters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .action-buttons,
    .unicode_wrap .action-buttons {
        width: 100%;
        padding: 12px;
    }

    .action-btn {
        width: 100%;
        white-space: normal;
    }

    .footer {
        width: 100%;
    }
}

@media screen and (max-width: 420px) {
    .main {
        padding-left: 10px;
        padding-right: 10px;
    }

    .support-btn {
        padding-left: 0.75em;
        padding-right: 0.75em;
    }

    .support-btn i {
        margin-right: 0;
    }

    .custom-dropdown {
        width: 100%;
    }
}

/* ==========================================================================
   Hero Section Styling (Modern Two-Column Layout)
   ========================================================================== */

.hero-section {
    padding: 6.5rem 0 3.5rem 0; /* Add top padding to account for fixed header */
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-notice-box {
    margin: 0 0 1.25rem 0 !important;
}

.hero-badge-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.hero-badge-link:hover {
    color: #ffffff;
}

.hero-badge-link i {
    font-size: 0.85em;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-color);
    position: relative;
}

.badge-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--accent-color);
    animation: badge-pulse 1.5s infinite;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
    text-align: left;
}

.hero-gradient {
    background: linear-gradient(45deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    max-width: 500px;
    text-align: left;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-buttons .btn {
    font: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.65em 1.4em;
    border-radius: 0.5em;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.15s ease;
    cursor: pointer;
}

.hero-buttons .btn-primary {
    background-color: var(--accent-color, #4E9EFF);
    border: 0;
    color: #0F1123;
    text-shadow: none;
    box-shadow:
        inset 0 0.03em 0 0 #70b0ff,
        0 0.03em 0 0 #3b8cf8,
        0 0.0625em 0 0 #2b7ce8,
        0 0.125em 0 0 #1b6cd8,
        0 0.125em 0 0 #155cb8,
        0 0.2em 0 0 #104ca8,
        0 0.225em 0 0 #0c3c88,
        0 0.225em 0.375em 0 rgba(0, 0, 0, 0.4);
}

.hero-buttons .btn-primary:hover {
    background-color: #3b8cf8;
    color: #ffffff;
    transform: none;
    box-shadow:
        inset 0 0.03em 0 0 #70b0ff,
        0 0.03em 0 0 #3b8cf8,
        0 0.0625em 0 0 #2b7ce8,
        0 0.125em 0 0 #1b6cd8,
        0 0.125em 0 0 #155cb8,
        0 0.2em 0 0 #104ca8,
        0 0.225em 0 0 #0c3c88,
        0 0.225em 0.375em 0 rgba(0, 0, 0, 0.4);
}

.hero-buttons .btn-primary:active {
    translate: 0 0.225em;
    box-shadow:
        inset 0 0.03em 0 0 #70b0ff,
        0 0.03em 0 0 #3b8cf8;
}

.hero-buttons .btn-secondary {
    background-color: #2a2a2a;
    border: 0;
    color: #e0e0e0;
    text-shadow: 0 0.0625em 0 #000;
    box-shadow:
        inset 0 0.03em 0 0 #3a3a3a,
        0 0.03em 0 0 #252525,
        0 0.0625em 0 0 #202020,
        0 0.125em 0 0 #1c1c1c,
        0 0.125em 0 0 #181818,
        0 0.2em 0 0 #141414,
        0 0.225em 0 0 #101010,
        0 0.225em 0.375em 0 #0a0a0a;
}

.hero-buttons .btn-secondary:hover {
    background-color: #323232;
    color: #ffffff;
    transform: none;
    box-shadow:
        inset 0 0.03em 0 0 #3a3a3a,
        0 0.03em 0 0 #252525,
        0 0.0625em 0 0 #202020,
        0 0.125em 0 0 #1c1c1c,
        0 0.125em 0 0 #181818,
        0 0.2em 0 0 #141414,
        0 0.225em 0 0 #101010,
        0 0.225em 0.375em 0 #0a0a0a;
}

.hero-buttons .btn-secondary:active {
    translate: 0 0.225em;
    box-shadow:
        inset 0 0.03em 0 0 #3a3a3a,
        0 0.03em 0 0 #252525;
}

/* Visual Column */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.hero-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    width: 100%;
    max-width: 600px;
}

.hero-big-logo {
    height: 280px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.6s ease-in-out, filter 0.3s ease;
    cursor: pointer;
    filter: drop-shadow(0 10px 25px rgba(78, 158, 255, 0.2));
}

.hero-big-logo:hover {
    transform: rotate(360deg);
    filter: drop-shadow(0 15px 35px rgba(78, 158, 255, 0.4));
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(15, 17, 35, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    position: relative;
}

.pulsing-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #10b981;
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.card-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.demo-play-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.demo-play-btn:hover {
    color: var(--text-color);
}

.demo-screen {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.demo-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-input-group label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-textarea {
    min-height: 85px;
    background: rgba(15, 17, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    white-space: pre-wrap;
    word-break: break-all;
}

.unicode-demo {
    font-family: 'Inter', sans-serif;
}

.preeti-demo {
    font-family: 'Preeti', Arial, sans-serif;
}

/* Simulated cursor style */
.cursor-active::after {
    content: '|';
    color: var(--accent-color);
    animation: blink-cursor 0.8s infinite;
    font-weight: bold;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: rgba(15, 17, 35, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-bar-container {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    margin-right: 1.5rem;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-color), #00d2ff);
    border-radius: 2px;
}

.demo-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: #ffffff;
    color: #0f1123;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-copy-btn:hover {
    background: #f0f0f0;
    transform: scale(1.03);
}

.demo-copy-btn.copied {
    background: #10b981;
    color: #ffffff;
}

/* Partners Logo section */
.hero-partners {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.partners-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.partners-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.1rem;
}

.partners-logos i {
    font-size: 1.15rem;
    color: var(--accent-color);
    opacity: 0.85;
    transition: all 0.2s ease;
    cursor: pointer;
}

.partners-logos i:hover {
    color: #ffffff;
    opacity: 1;
    transform: translateY(-2px);
}

/* Responsive Overrides */
@media screen and (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .hero-section {
        padding: 6.5rem 0 3rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .live-demo-card {
        border-radius: 12px;
    }
    
    .demo-textarea {
        min-height: 80px;
        font-size: 0.95rem;
    }
    
    .partners-logos {
        justify-content: center;
    }
}

/* ==========================================================================
   App Functional Description (Google OAuth Brand Verification)
   ========================================================================== */

.functional-description-section {
    padding: 2.5rem 0;
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    z-index: 5;
}

.functional-description-text {
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    color: var(--text-secondary);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 20px;
}

/* ==========================================================================
   Redesigned Download Page Styles
   ========================================================================== */
.download-hero-redesign {
    width: min(1180px, calc(100vw - 48px));
    min-height: calc(75vh - 120px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    align-items: center;
    gap: clamp(32px, 6vw, 72px);
    padding: clamp(40px, 6vh, 80px) 0;
}

.download-hero-left h1 {
    margin: 12px 0 20px;
    font-size: clamp(2.25rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    background: linear-gradient(45deg, var(--accent-color, #4e9eff), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.download-hero-left p {
    color: #b3b3b3;
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 32px;
}

.download-action-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.download-primary-btn {
    font: inherit;
    background-color: var(--accent-color, #4e9eff);
    color: #ffffff;
    padding: 0.85em 2em;
    border-radius: 0.5em;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 0.0625em 0 rgba(0, 0, 0, 0.4);
    box-shadow:
        inset 0 0.03em 0 0 #60a5fa,
        0 0.03em 0 0 #2563eb,
        0 0.0625em 0 0 #1d4ed8,
        0 0.125em 0 0 #1e40af,
        0 0.125em 0 0 #1e3a8a,
        0 0.2em 0 0 #172554,
        0 0.225em 0 0 #0f172a,
        0 0.225em 0.375em 0 #020617;
    transition: all 0.15s ease;
    cursor: pointer;
}

.download-primary-btn:hover {
    background-color: #3b82f6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow:
        inset 0 0.03em 0 0 #60a5fa,
        0 0.03em 0 0 #2563eb,
        0 0.0625em 0 0 #1d4ed8,
        0 0.125em 0 0 #1e40af,
        0 0.125em 0 0 #1e3a8a,
        0 0.2em 0 0 #172554,
        0 0.225em 0 0 #0f172a,
        0 0.225em 0.375em 0 #020617;
}

.download-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.download-secondary-btn.disabled {
    font: inherit;
    background-color: #27272a;
    color: #a1a1aa;
    padding: 0.85em 2em;
    border-radius: 0.5em;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 0.03em 0 0 rgba(255, 255, 255, 0.05),
        0 0.03em 0 0 #18181b,
        0 0.0625em 0 0 #09090b,
        0 0.125em 0 0 #000000;
    cursor: not-allowed;
    opacity: 0.8;
    user-select: none;
}

.download-primary-btn:active {
    translate: 0 0.225em;
    box-shadow:
        inset 0 0.03em 0 0 #60a5fa,
        0 0.03em 0 0 #2563eb,
        0 0.0625em 0 0 #1d4ed8,
        0 0.125em 0 0 #1e40af,
        0 0.125em 0 0 #1e3a8a,
        0 0.2em 0 0 #172554,
        0 0.225em 0 0 #0f172a,
        0 0.225em 0.375em 0 #020617;
}

.download-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #94a3b8;
    font-size: 0.88rem;
    margin-top: 4px;
}

.download-meta-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.download-meta-info i {
    color: var(--accent-color, #4e9eff);
}

.download-hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Standalone App Logo without background card, border, or shadow */
.hero-logo-standalone {
    width: 360px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none !important;
    background: transparent;
    transition: transform 0.3s ease;
}

.hero-logo-standalone:hover {
    transform: scale(1.03);
}

/* Details Section - Homepage Style Matching */
.download-details-section {
    padding: 60px 0;
    background: #151515;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.download-details-section .section-title,
.download-faq-section .section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 44px;
}

.download-details-section .section-title h2,
.download-faq-section .section-title h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 12px;
}

.download-details-section .section-title p,
.download-faq-section .section-title p {
    color: #94a3b8;
    font-size: 1.05rem;
}

.desktop-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.feature-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 28px 24px;
    transition: all 0.25s ease;
}

.feature-card:hover {
    border-color: rgba(78, 158, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(78, 158, 255, 0.1);
    color: var(--accent-color, #4e9eff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.feature-card p {
    color: #b3b3b3;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Install Steps Card - Homepage Style Matching */
.install-steps-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
}

.install-steps-card h3 {
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.install-steps-card h3 i {
    color: var(--accent-color, #4e9eff);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color, #4e9eff);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(78, 158, 255, 0.3);
}

.step-text strong {
    display: block;
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.step-text p {
    color: #b3b3b3;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.step-text code {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color, #4e9eff);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

/* Interactive Accordion FAQs Section */
.download-faq-section {
    padding: 70px 0;
    max-width: 860px;
    margin: 0 auto;
}

.faq-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-accordion-item {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-accordion-item[open] {
    border-color: rgba(78, 158, 255, 0.3);
    background: #1f202e;
}

.faq-accordion-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    color: #ffffff;
    font-size: 1.05rem;
    user-select: none;
    list-style: none;
}

.faq-accordion-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    color: var(--accent-color, #4e9eff);
    font-size: 0.9rem;
    transition: transform 0.25s ease;
}

.faq-accordion-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-accordion-answer {
    padding: 0 22px 20px;
    color: #b3b3b3;
    font-size: 0.96rem;
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4px;
    padding-top: 14px;
}

@media screen and (max-width: 992px) {
    .download-hero-redesign {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .download-hero-left p {
        margin-left: auto;
        margin-right: auto;
    }

    .download-action-area {
        align-items: center;
    }

    .download-btn-group {
        justify-content: center;
    }

    .download-meta-info {
        justify-content: center;
    }
}





