/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8a2be2;
    --primary-light: #9d4edd;
    --secondary-color: #03dac6;
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --glass-bg: rgba(30, 30, 30, 0.7);
    --text-light: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --border-radius: 20px;
    --button-radius: 12px;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(138, 43, 226, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(3, 218, 198, 0.2) 0%, transparent 50%);
    background-attachment: fixed;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Secret animation fallback without GSAP */
.container.secret-animation {
    animation: rotate360 1s ease-in-out;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-light);
    position: relative;
    /* Basic pulsing animation for browsers without GSAP */
    animation: pulse 2s infinite alternate;
}

.subtitle {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.instructions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: rgba(138, 43, 226, 0.1);
    border-radius: var(--button-radius);
    border-left: 3px solid var(--primary-light);
}

.instructions i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.instructions strong {
    color: var(--text-light);
}

/* Header Section */
header {
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

/* Main Navigation Styling - Enhanced */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
    animation: pulse 3s infinite alternate;
}

.logo-icon i {
    font-size: 1.4rem;
    color: white;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.invisible-text {
    color: var(--primary-light);
}

.generator-text {
    color: var(--text-light);
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 0.2rem;
    list-style: none;
    padding: 0.5rem;
    background: rgba(20, 20, 20, 0.5);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav li {
    position: relative;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(138, 43, 226, 0.15),
            rgba(138, 43, 226, 0.05));
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: var(--text-light);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover i {
    transform: translateY(-3px);
    color: var(--primary-light);
}

.nav-link i {
    font-size: 1rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.main-nav li::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-light));
    transition: width 0.3s ease;
    border-radius: 10px;
    opacity: 0;
}

.main-nav li:hover::after {
    width: 70%;
    opacity: 1;
}

/* Active link styling */
.main-nav li a.active,
.main-nav li a:active {
    background: linear-gradient(135deg,
            rgba(138, 43, 226, 0.2),
            rgba(138, 43, 226, 0.1));
    color: var(--text-light);
}

.main-nav li a.active i,
.main-nav li a:active i {
    color: var(--primary-light);
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(20, 20, 20, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(138, 43, 226, 0.3);
    border-color: rgba(138, 43, 226, 0.3);
}

#theme-toggle-btn {
    background: transparent;
    border: none;
    color: var(--secondary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#theme-toggle-btn:hover {
    color: var(--primary-light);
    transform: rotate(15deg);
}

/* Mobile Menu styles for responsive design */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .logo-container {
        margin: 0 auto;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-icon i {
        font-size: 1.2rem;
    }

    .main-nav {
        width: 100%;
        order: 3;
    }

    .main-nav ul {
        width: 100%;
        padding: 0.4rem;
        gap: 0.25rem;
        justify-content: center;
        border-radius: 15px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    .main-nav ul::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        justify-content: center;
        white-space: nowrap;
    }

    .nav-link i {
        font-size: 0.9rem;
    }

    .theme-toggle {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }

    #theme-toggle-btn {
        font-size: 1rem;
    }
}

/* Tablet navigation optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-nav ul {
        gap: 0.1rem;
    }

    .nav-link {
        padding: 0.7rem 1rem;
    }
}

/* Main Sections */
section {
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out;
}

.input-section,
.output-section {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Input Area Styling */
.input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

textarea {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    background-color: rgba(30, 30, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--button-radius);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    resize: vertical;
    transition: all var(--transition-speed) ease;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

textarea::placeholder {
    color: transparent;
}

.animation-container {
    position: absolute;
    top: 1rem;
    left: 1rem;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

textarea:focus+.animation-container,
textarea:not(:placeholder-shown)+.animation-container {
    opacity: 0;
}

.typing-animation {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    color: var(--text-dim);
    border-right: 2px solid var(--primary-light);
    animation: typing 3s steps(40) infinite alternate, blink-caret 0.75s step-end infinite;
}

/* Buttons Styling */
.buttons-container,
.output-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--button-radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-speed) ease;
    border: none;
    outline: none;
}

/* Fallback hover effect when GSAP isn't available */
.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(1px);
}

/* Fallback for GSAP copy animation */
.btn.copy-success {
    animation: pulse 0.3s ease;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.primary-btn:hover {
    background-color: var(--primary-light);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
}

.secondary-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Output Area Styling */
.output-container {
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: var(--button-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    min-height: 120px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

/* Add a subtle border when content is present */
.output-container.has-content {
    border: 1px solid rgba(157, 78, 221, 0.3);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.1);
}

.output-container::after {
    content: 'Select to reveal';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Class to be added via JavaScript when output has content */
.output-container.has-content::after {
    opacity: 1;
}

/* Class to be added via JavaScript when output is empty */
.output-container.is-empty::after {
    opacity: 0;
}

.invisible-text {
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 1rem;
    border-radius: var(--button-radius);
    min-height: 100px;
    background-color: rgba(30, 30, 30, 0.7);
    margin-bottom: 1.5rem;
    user-select: all;
    cursor: text;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    transition: all var(--transition-speed) ease;
}

.invisible-text:hover {
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2) inset;
}

.selection-glow {
    animation: textGlow 1.2s ease-in-out;
}

.invisible-text.css-mode {
    /* Override any text color with exact match to background */
    color: rgba(30, 30, 30, 0.7) !important;
    background-color: rgba(30, 30, 30, 0.7) !important;
    text-shadow: none !important;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.invisible-text.css-mode::selection,
.invisible-text.css-mode *::selection {
    color: var(--text-light) !important;
    background-color: var(--primary-light) !important;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important;
    opacity: 1 !important;
}

.invisible-text.css-mode::-moz-selection,
.invisible-text.css-mode *::-moz-selection {
    color: var(--text-light) !important;
    background-color: var(--primary-light) !important;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important;
    opacity: 1 !important;
}

.invisible-text.css-mode::-webkit-selection,
.invisible-text.css-mode *::-webkit-selection {
    color: var(--text-light) !important;
    background-color: var(--primary-light) !important;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important;
    opacity: 1 !important;
}

.invisible-text.css-mode:active,
.invisible-text.css-mode:focus {
    color: rgba(255, 255, 255, 0.1);
}

.invisible-text.unicode-mode {
    /* No special styling needed for unicode mode */
    color: var(--text-light);
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.invisible-text.unicode-mode::selection,
.invisible-text.unicode-mode *::selection {
    /* When selected, highlight with brand color */
    color: var(--text-light) !important;
    background-color: var(--primary-light) !important;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important;
}

/* Remove any extra styling from the real-text class that might interfere */
.invisible-text .real-text {
    all: inherit;
}

/* Ensure proper selection glow animation */
@keyframes textGlow {
    0% {
        text-shadow: 0 0 0px rgba(157, 78, 221, 0);
        background-color: rgba(157, 78, 221, 0.05);
    }

    30% {
        text-shadow: 0 0 15px rgba(157, 78, 221, 0.8);
        background-color: rgba(157, 78, 221, 0.15);
    }

    100% {
        text-shadow: 0 0 0px rgba(157, 78, 221, 0);
        background-color: rgba(157, 78, 221, 0);
    }
}

.output-buttons {
    margin-bottom: 1.5rem;
}

/* Mode Switch */
.mode-switch {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.toggle-container {
    display: flex;
    background-color: rgba(20, 20, 20, 0.7);
    border-radius: 30px;
    padding: 0.3rem;
}

.toggle-container input[type="radio"] {
    display: none;
}

.toggle-container label {
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.toggle-container input[type="radio"]:checked+label {
    background-color: var(--primary-color);
    color: white;
}

/* Notification */
.notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: var(--button-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.notification.show {
    bottom: 30px;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-content i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 4rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}

footer .fa-heart {
    color: #ff4081;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary-light)
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes rotate360 {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .input-section,
    .output-section {
        padding: 1.5rem;
    }

    .buttons-container,
    .output-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .mode-switch {
        flex-direction: column;
        align-items: flex-start;
    }

    .toggle-container {
        width: 100%;
        justify-content: space-around;
    }
}

/* Add styling for the mode-info section */
.mode-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(20, 20, 20, 0.5);
    border-radius: var(--button-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mode-info p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.mode-info p:last-child {
    margin-bottom: 0;
}

.mode-info strong {
    color: var(--secondary-color);
}

/* Styling for the easter egg hint */
.easter-egg-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.easter-egg-hint:hover {
    color: var(--primary-light);
}

/* Browser Compatibility Notice */
.compatibility-notice {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--button-radius);
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 90%;
    width: 400px;
}

.notice-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.notice-content i {
    color: #ffcc00;
    font-size: 1.5rem;
}

.notice-content p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.dismiss-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    border-radius: var(--button-radius);
    cursor: pointer;
    margin-top: 0.5rem;
    font-family: inherit;
    transition: background-color 0.3s ease;
}

.dismiss-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* About Section Styling - Enhanced Modern UI */
.about-section {
    padding: 3rem;
    background: linear-gradient(145deg, rgba(35, 35, 40, 0.8), rgba(25, 25, 30, 0.9));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 3.5rem;
    animation: fadeIn 1s ease-out;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.section-title {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    width: 100%;
    text-shadow: 0 0 15px rgba(157, 78, 221, 0.5);
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.about-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(15, 15, 15, 0.6);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-light);
    font-size: 1.2rem;
    line-height: 1.8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(157, 78, 221, 0.2);
}

.about-intro p {
    margin-bottom: 1.2rem;
    color: var(--text-dim);
}

.about-intro p:last-child {
    margin-bottom: 0;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.info-card {
    background: rgba(15, 15, 15, 0.7);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(157, 78, 221, 0.25);
    border-color: rgba(157, 78, 221, 0.3);
}

.info-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.info-card:hover::after {
    opacity: 1;
}

.info-card.active {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(157, 78, 221, 0.25);
    border-color: rgba(157, 78, 221, 0.3);
}

.card-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2) 0%, rgba(20, 20, 20, 0.8) 100%);
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.card-header:hover {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.3) 0%, rgba(20, 20, 20, 0.85) 100%);
}

.card-header h3 {
    font-size: 1.25rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(157, 78, 221, 0.5);
}

.card-header h3 i {
    color: var(--secondary-color);
    font-size: 1.4rem;
    filter: drop-shadow(0 0 3px rgba(3, 218, 198, 0.5));
}

.toggle-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.info-card.active .toggle-icon {
    transform: rotate(180deg);
    background: rgba(157, 78, 221, 0.3);
}

.card-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    color: var(--text-dim);
}

.info-card.active .card-content {
    max-height: 800px;
    padding: 2rem;
    border-top: 1px solid rgba(157, 78, 221, 0.2);
}

.feature-list,
.usage-list {
    list-style: none;
}

.feature-list li,
.usage-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-list li:hover,
.usage-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-list li span:not(.emoji),
.usage-list li span:not(.emoji) {
    flex: 1;
}

.emoji {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
}

/* Reveal card animations */
.reveal-card {
    opacity: 0;
    transform: translateY(50px);
}

.reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Make about section responsive */
@media (max-width: 768px) {
    .about-section {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-header h3 {
        font-size: 1.1rem;
    }

    .about-intro {
        padding: 1.5rem;
        font-size: 1.1rem;
    }

    .card-header {
        padding: 1.2rem;
    }

    .info-card.active .card-content {
        padding: 1.5rem;
    }
}

/* Additional modern UI elements for About section */
.highlight-text {
    color: var(--primary-light);
    font-weight: 600;
    position: relative;
    padding: 0 5px;
}

.highlight-text::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(157, 78, 221, 0.2);
    z-index: -1;
    border-radius: 3px;
}

.user-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.user-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-list li:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.user-list li i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(157, 78, 221, 0.4);
}

/* Add a subtle hover effect on all cards */
@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(157, 78, 221, 0.4);
    }

    70% {
        box-shadow: 0 0 0 5px rgba(157, 78, 221, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(157, 78, 221, 0);
    }
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(157, 78, 221, 0.25);
    border-color: rgba(157, 78, 221, 0.3);
    animation: pulse-border 2s infinite;
}

/* Add a subtle hover effect on all cards */
.info-card {
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.1) 0%, rgba(3, 218, 198, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.info-card:hover::before {
    opacity: 1;
}

/* Make the content appear above the gradient overlay */
.card-header,
.card-content {
    position: relative;
    z-index: 1;
}

/* Enhance steps list with better numbering */
.steps-list {
    padding-left: 2.5rem;
    counter-reset: step-counter;
}

.steps-list li {
    margin-bottom: 1.2rem;
    padding: 1rem 1.2rem;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
    counter-increment: step-counter;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.5);
}

.steps-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Add some additional animation for the section title */
@keyframes subtle-float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

.section-title {
    animation: fadeIn 1s ease-out, subtle-float 5s ease-in-out infinite;
}

/* Optimize responsive layout for small screens */
@media (max-width: 768px) {
    .user-list {
        grid-template-columns: 1fr;
    }

    .steps-list {
        padding-left: 2rem;
    }

    .steps-list li::before {
        width: 30px;
        height: 30px;
        left: -20px;
    }

    .feature-list li,
    .usage-list li,
    .user-list li {
        padding: 0.7rem;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 3rem;
    background: linear-gradient(145deg, rgba(35, 35, 40, 0.8), rgba(25, 25, 30, 0.9));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 3.5rem;
    animation: fadeIn 1s ease-out;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    z-index: 1;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background: rgba(15, 15, 15, 0.7);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.faq-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-light), var(--secondary-color));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: gradientMove 3s ease infinite;
}

.faq-item:hover::after,
.faq-item.active::after {
    opacity: 1;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(157, 78, 221, 0.25);
    border-color: rgba(157, 78, 221, 0.3);
}

.faq-item.active {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(157, 78, 221, 0.25);
    border-color: rgba(157, 78, 221, 0.3);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2) 0%, rgba(20, 20, 20, 0.8) 100%);
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.3) 0%, rgba(20, 20, 20, 0.85) 100%);
}

.faq-question h3 {
    font-size: 1.25rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(157, 78, 221, 0.5);
}

.faq-question h3 i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    filter: drop-shadow(0 0 3px rgba(3, 218, 198, 0.5));
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    color: var(--text-dim);
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 2rem;
    border-top: 1px solid rgba(157, 78, 221, 0.2);
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-methods {
    margin: 1.5rem 0;
    padding-left: 1.2rem;
}

.faq-methods li {
    margin-bottom: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.faq-methods li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.faq-methods li strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.3rem;
}

/* Social platforms list inside FAQs */
.social-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
    list-style: none;
}

.social-platforms li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-platforms li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.social-platforms li i {
    font-size: 1.2rem;
}

/* Specific social media icon colors */
.social-platforms li i.fa-instagram {
    color: #E1306C;
}

.social-platforms li i.fa-whatsapp {
    color: #25D366;
}

.social-platforms li i.fa-tiktok {
    color: #ff0050;
}

.social-platforms li i.fa-facebook {
    color: #1877F2;
}

.social-platforms li i.fa-twitter {
    color: #1DA1F2;
}

.social-platforms li i.fa-snapchat {
    color: #FFFC00;
}

/* FAQ animations and hover effects */
.faq-item {
    transform: translateY(30px);
    opacity: 0;
}

.faq-item.revealed {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 0.8s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Shimmering effect for question on hover */
.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transition: left 0.8s ease;
    z-index: 0;
    pointer-events: none;
}

.faq-question:hover::before {
    left: 100%;
}

/* Responsive adjustments for FAQ section */
@media (max-width: 768px) {
    .faq-section {
        padding: 2rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-item.active .faq-answer {
        padding: 1.5rem;
    }

    .social-platforms {
        grid-template-columns: 1fr 1fr;
    }
}

/* Keywords Showcase Section Styles */
.keywords-showcase {
    padding: 3rem;
    background: linear-gradient(145deg, rgba(25, 25, 30, 0.8), rgba(35, 35, 40, 0.9));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 3.5rem;
    animation: fadeIn 1s ease-out;
    position: relative;
    overflow: hidden;
}

.keywords-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientMove 4s ease infinite;
    z-index: 1;
}

.keywords-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.keyword-card {
    background: rgba(15, 15, 15, 0.7);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.keyword-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.2);
    border-color: rgba(157, 78, 221, 0.3);
}

.keyword-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg,
            rgba(138, 43, 226, 0.05) 0%,
            rgba(30, 30, 30, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.keyword-card:hover::after {
    opacity: 1;
}

.keyword-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-light), var(--secondary-color));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: gradientMove 3s ease infinite;
}

.keyword-card:hover::before {
    opacity: 1;
}

.keyword-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
    position: relative;
    transition: all 0.5s ease;
}

.keyword-card:hover .keyword-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 25px rgba(138, 43, 226, 0.4);
}

.keyword-icon i {
    font-size: 1.8rem;
    color: white;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.keyword-icon.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.keyword-icon.social-icons i {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.keyword-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s ease;
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

.keyword-card:hover h3 {
    color: var(--primary-light);
}

.keyword-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    z-index: 1;
}

/* Shimmering effect for cards */
.keyword-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
    z-index: -1;
    left: -100%;
}

.keyword-card:hover .keyword-shine {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Call to action section */
.call-to-action {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: rgba(15, 15, 15, 0.5);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(157, 78, 221, 0.1);
}

.call-to-action p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.call-to-action .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.call-to-action .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.4);
}

.call-to-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(157, 78, 221, 0.1) 0%, transparent 70%);
    z-index: -1;
}

/* Responsive adjustments for keyword section */
@media (max-width: 768px) {
    .keywords-showcase {
        padding: 2rem 1.5rem;
    }

    .keywords-grid {
        grid-template-columns: 1fr;
    }

    .keyword-card {
        padding: 1.5rem 1.2rem;
    }

    .keyword-icon {
        width: 60px;
        height: 60px;
    }

    .keyword-icon i {
        font-size: 1.5rem;
    }

    .keyword-card h3 {
        font-size: 1.2rem;
    }

    .call-to-action p {
        font-size: 1.1rem;
    }
}