:root {
    --primary-color: #6c63ff;
    --primary-light: #a5a0ff;
    --background-start: #e0eafc;
    --background-end: #cfdef3;
    --card-bg: #ffffff;
    --text-color: #333;
    --text-secondary: #666;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 20px;
    --transition: all 0.3s ease;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --warning-color: #f39c12;
}

.dark-mode {
    --primary-color: #8c7fff;
    --primary-light: #b5b0ff;
    --background-start: #121212;
    --background-end: #1a1a2e;
    --card-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --text-secondary: #b0b0b0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--background-start) 0%, var(--background-end) 100%);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease;
}

.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.title h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.title p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Tab Navigation */
.tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.8rem 1.2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn i {
    font-size: 1rem;
}

.tab-btn:hover {
    color: var(--primary-color);
    background-color: rgba(108, 99, 255, 0.05);
    transform: translateY(-2px);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Tool Sections */
.tool-section {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tool-section.active {
    display: block;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.section-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Theme Switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.5rem;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
    z-index: 1;
}

.fa-sun {
    color: #f39c12;
    font-size: 0.8rem;
}

.fa-moon {
    color: #f1c40f;
    font-size: 0.8rem;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Text Area */
.text-area-container {
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

textarea {
    width: 100%;
    min-height: 200px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--card-bg);
    transition: var(--transition);
    resize: vertical;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    background-image: linear-gradient(to bottom, rgba(108, 99, 255, 0.02), transparent);
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
    transform: translateY(-2px);
}

textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

textarea:focus::placeholder {
    opacity: 0.5;
    transform: translateY(-5px);
}

.text-area-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 10px;
    right: 10px;
    height: 10px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: 5px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 0;
    opacity: 0.7;
}

.text-area-container:focus-within::before {
    transform: scaleX(1);
}

.textarea-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

/* Input fields */
.input-group input,
.limit-settings input {
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--card-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.input-group input:focus,
.limit-settings input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
    transform: translateY(-2px);
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.input-group:focus-within label {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Output Box */
.output-box {
    background-color: var(--card-bg);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
    color: var(--text-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    background-image: linear-gradient(to bottom, rgba(108, 99, 255, 0.02), transparent);
}

.output-box:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* Button Animation */
.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: scale(0.98);
}

.btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: rotate(5deg);
}

/* Additional Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

.result-box {
    animation: float 3s infinite ease-in-out;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.result-box::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
    animation: rotateGradient 6s linear infinite;
    z-index: -1;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Placeholder Animation */
@keyframes placeholderPulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.5;
    }
}

textarea::placeholder {
    animation: placeholderPulse 2s infinite ease-in-out;
}

/* Focus Highlight for Random Number Generator */
.number-inputs {
    position: relative;
}

.number-inputs::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-light), var(--primary-color), var(--primary-light));
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.number-inputs:focus-within::after {
    transform: translateX(-50%) scaleX(1);
}

/* Stats Container */
.stats-container {
    margin-bottom: 2rem;
}

.stats-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-box {
    flex: 1;
    background-color: rgba(108, 99, 255, 0.05);
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    background-color: rgba(108, 99, 255, 0.1);
    transform: translateY(-3px);
}

.stat-box h2 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.stat-box p {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Word Limit Container */
.word-limit-container {
    margin-bottom: 2rem;
}

.limit-settings {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.limit-settings label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.limit-settings input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--card-bg);
}

.limit-settings input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    border-radius: 5px;
    transition: width 0.3s ease;
}

#progress-text {
    min-width: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Line Breaks & Extra Spaces Tool */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.output-container {
    margin-top: 2rem;
}

.output-container h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.output-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Random Number Generator */
.number-inputs {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.input-group {
    flex: 1;
    min-width: 180px;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--card-bg);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.generate-btn {
    margin-bottom: 2rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

.random-result {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-box {
    background-color: rgba(108, 99, 255, 0.05);
    width: 200px;
    height: 120px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

#result-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

#result-number.animate {
    animation: popIn 0.5s ease;
}

.error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.5rem;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: var(--success-color);
}

.notification.error {
    background-color: var(--error-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Character Limit Warning */
.character-limit-warning {
    color: #e74c3c;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border-radius: 8px;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.7;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        padding: 1.5rem;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .theme-switch-wrapper {
        align-self: flex-end;
    }

    .tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .stats-row {
        flex-direction: column;
    }

    .textarea-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .limit-settings {
        flex-wrap: wrap;
    }

    .action-buttons {
        flex-direction: column;
    }

    .number-inputs {
        flex-direction: column;
        gap: 1rem;
    }

    /* Mobile accordion styles */
    .accordion-header {
        padding: 1rem;
    }

    .accordion-item.active .accordion-content {
        padding: 1rem;
    }

    .accordion-header h3 {
        font-size: 1rem;
    }

    .how-to-steps li {
        padding: 0.7rem 0 0.7rem 2.5rem;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .additional-info {
        padding: 1rem;
        margin-top: 1.2rem;
    }
}

/* Input Animation Effects */
@keyframes pulseEffect {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

.pulse-effect textarea {
    animation: pulseEffect 0.5s forwards;
}

@keyframes inputChanged {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
        border-color: var(--primary-color);
    }

    100% {
        transform: translateY(0);
    }
}

.input-changed {
    animation: inputChanged 0.5s ease;
}

/* Enhanced Text Area */
.text-area-container {
    position: relative;
    overflow: hidden;
}

.text-area-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.text-area-container:focus-within::after {
    transform: translateX(0);
}

/* Enhance Placeholder Text */
textarea:focus::placeholder {
    font-style: italic;
}

/* Number Input Styling */
.input-group input[type="number"] {
    background-image: linear-gradient(to bottom, rgba(108, 99, 255, 0.03), transparent);
    padding: 0.8rem;
    transition: all 0.3s ease;
}

.input-group input[type="number"]:focus {
    background-image: linear-gradient(to bottom, rgba(108, 99, 255, 0.08), transparent);
}

.input-group label i {
    color: var(--primary-color);
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.input-group:focus-within label i {
    transform: scale(1.2);
}

/* Info Accordion */
.info-accordion {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background-color: var(--card-bg);
    position: relative;
    z-index: 1;
}

.info-accordion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    z-index: 2;
}

.accordion-item {
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.accordion-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right,
            var(--primary-color) 0%,
            rgba(108, 99, 255, 0.2) 15%,
            rgba(108, 99, 255, 0.05) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.accordion-item.active::after {
    transform: scaleX(1);
}

.accordion-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    background-color: rgba(108, 99, 255, 0.03);
}

.accordion-header:hover {
    background-color: rgba(108, 99, 255, 0.08);
}

.accordion-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.accordion-header h3 i {
    transform: scale(1);
    transition: transform 0.3s ease, color 0.3s ease;
}

.accordion-item.active .accordion-header h3 i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background-color: var(--card-bg);
    opacity: 0;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 1.5rem;
    opacity: 1;
    transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.3s ease 0.2s;
}

.accordion-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.additional-info {
    margin-top: 1.5rem;
    padding: 1.5rem;
    padding-bottom: 0.5rem;
    border-top: 1px dashed rgba(108, 99, 255, 0.2);
    background-color: rgba(108, 99, 255, 0.03);
    border-radius: 8px;
    position: relative;
}

.additional-info::before {
    content: 'Additional Info';
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: var(--card-bg);
    padding: 0 10px;
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* How to Steps */
.how-to-steps {
    padding-left: 0;
    list-style: none;
}

.how-to-steps li {
    position: relative;
    padding: 0.7rem 0 0.7rem 3rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: transform 0.3s ease;
}

.how-to-steps li:hover {
    transform: translateX(5px);
}

.step-number {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(108, 99, 255, 0.3);
}

.how-to-steps li:hover .step-number {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 3px 8px rgba(108, 99, 255, 0.4);
}

/* Animations for accordion */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-item.active .accordion-content {
    animation: fadeDown 0.5s ease forwards;
}

/* Feature Cards */
.feature-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-card {
    flex: 1;
    min-width: 180px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05) 0%, rgba(165, 160, 255, 0.1) 100%);
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2);
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* New How to Use Steps */
.usage-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-card {
    display: flex;
    gap: 1rem;
    background-color: rgba(108, 99, 255, 0.03);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    transition: width 0.3s ease;
}

.step-card:hover {
    transform: translateX(5px);
    background-color: rgba(108, 99, 255, 0.07);
}

.step-card:hover::after {
    width: 100%;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    font-weight: 600;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(108, 99, 255, 0.2);
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 5px 10px rgba(108, 99, 255, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin-bottom: 0.3rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.step-content p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Usage Tip */
.usage-tip {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 0%, rgba(255, 190, 118, 0.15) 100%);
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 1.5rem;
    position: relative;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.1);
}

.usage-tip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--warning-color);
    border-radius: 3px 0 0 3px;
}

.usage-tip i {
    font-size: 1.5rem;
    color: var(--warning-color);
    animation: pulse 2s infinite;
}

.usage-tip h4 {
    margin-bottom: 0.3rem;
    color: var(--text-color);
    font-weight: 600;
}

.usage-tip p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.9rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive adjustments for the new elements */
@media (max-width: 768px) {
    .feature-cards {
        flex-direction: column;
    }

    .feature-card {
        width: 100%;
    }

    .step-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .step-number {
        margin-bottom: 0.5rem;
    }

    .usage-tip {
        flex-direction: column;
        align-items: flex-start;
    }

    .usage-tip i {
        margin-bottom: 0.5rem;
    }
}

/* Animations for the new elements */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-card {
    animation: fadeInLeft 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--animation-order, 0));
    opacity: 0;
}

.feature-card {
    animation: fadeInLeft 0.5s ease forwards;
    animation-delay: calc(0.1s * var(--animation-order, 0));
    opacity: 0;
}

.accordion-item.active .step-card:nth-child(1) {
    --animation-order: 1;
}

.accordion-item.active .step-card:nth-child(2) {
    --animation-order: 2;
}

.accordion-item.active .step-card:nth-child(3) {
    --animation-order: 3;
}

.accordion-item.active .step-card:nth-child(4) {
    --animation-order: 4;
}

.accordion-item.active .step-card:nth-child(5) {
    --animation-order: 5;
}

.accordion-item.active .feature-card:nth-child(1) {
    --animation-order: 1;
}

.accordion-item.active .feature-card:nth-child(2) {
    --animation-order: 2;
}

.accordion-item.active .feature-card:nth-child(3) {
    --animation-order: 3;
}