.terminal-container {
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
}

.terminal-header {
    background: #2a2a2a;
    padding: 10px;
    border-bottom: 1px solid #333;
}

.terminal-title {
    color: #9EFF00;
    font-size: 14px;
}

.terminal-body {
    padding: 20px;
    min-height: 200px;
    scroll-behavior: smooth;
    overflow-y: auto;
    position: relative;
    padding-bottom: 60px;
}

.terminal-input-line {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 4px;
    width: 100%;
}

.input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.prompt {
    color: #9EFF00;
    font-family: monospace;
    display: flex;
    align-items: center;
    user-select: none;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #fff;
    flex: 1;
    font-family: monospace;
    font-size: 16px;
    outline: none;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.terminal-input::placeholder {
    color: #9EFF00;
    opacity: 0.5;
}

#terminal-output {
    color: #fff;
    font-family: monospace;
    white-space: pre-wrap;
    line-height: 1.5;
}

.terminal-response {
    margin: 10px 0;
    color: #9EFF00;
}

.hero-title {
    color: #fff;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: #9EFF00;
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.platform-selection-cards {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 20px 0;
    width: 100%;
}

.platform-icons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.platform-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 150px;
    font-family: monospace;
    position: relative;
    animation: cardPulse 2s infinite;
}

/* Add subtle glow animation */
@keyframes cardPulse {
    0% {
        box-shadow: 0 0 0 rgba(158, 255, 0, 0);
    }
    50% {
        box-shadow: 0 0 10px rgba(158, 255, 0, 0.2);
    }
    100% {
        box-shadow: 0 0 0 rgba(158, 255, 0, 0);
    }
}

.platform-card:hover {
    border-color: #9EFF00;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(158, 255, 0, 0.3);
}

.platform-card.selected {
    border-color: #9EFF00;
    background: rgba(158, 255, 0, 0.1);
    box-shadow: 0 0 20px rgba(158, 255, 0, 0.4);
    animation: none; /* Stop pulsing when selected */
}

.platform-card img {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.platform-card h4 {
    color: #9EFF00;
    margin: 6px 0;
    font-size: 12px;
    font-weight: normal;
}

.platform-card p {
    color: #666;
    font-size: 10px;
    margin: 0;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    color: #666;
    font-family: monospace;
    font-size: 12px;
    gap: 10px;
    position: relative;
    padding-bottom: 20px;
}

.step {
    position: relative;
    z-index: 1;
    background: none;
}

.step.active {
    opacity: 1;
}

.step-label {
    color: #666;
    transition: color 0.2s ease;
}

.active .step-label {
    color: #9EFF00;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2a2a2a;
    border-radius: 2px;
    height: 4px;
    margin: 0;
    overflow: hidden;
}

.progress-fill {
    background: #9EFF00;
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
    box-shadow: 0 0 8px rgba(158, 255, 0, 0.5);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.page-container {
    position: relative;
    z-index: 1;
}

.terminal-button {
    background: transparent;
    color: #9EFF00;
    border: 1px solid #9EFF00;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: monospace;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.terminal-button:hover {
    background: rgba(158, 255, 0, 0.1);
    box-shadow: 0 0 8px rgba(158, 255, 0, 0.3);
}

.modal-title {
    color: #9EFF00;
    margin: 0 0 20px 0;
    font-size: 24px;
    font-family: monospace;
}

.modal-content {
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Override Google Calendar's default styling */
.modal-content iframe {
    color-scheme: dark;
    background: #151922;
    filter: invert(1) hue-rotate(180deg);
}

.alternative-contact {
    margin-top: 20px;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.alternative-contact p {
    color: #9EFF00;
    margin-bottom: 15px;
    font-family: monospace;
}

.contact-options {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.contact-button {
    background: transparent;
    color: #9EFF00;
    border: 1px solid #9EFF00;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-family: monospace;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-button:hover {
    background: rgba(158, 255, 0, 0.1);
    box-shadow: 0 0 8px rgba(158, 255, 0, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #9EFF00;
    margin-bottom: 5px;
    font-family: monospace;
}

.form-group input {
    width: 100%;
    padding: 8px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    color: #fff;
    font-family: monospace;
}

.form-group input:focus {
    border-color: #9EFF00;
    outline: none;
    box-shadow: 0 0 5px rgba(158, 255, 0, 0.3);
}

.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: #1a1a1a;
    color: #9EFF00;
    border: 1px solid #9EFF00;
    padding: 12px 24px;
    border-radius: 4px;
    margin-top: 10px;
    font-family: monospace;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(158, 255, 0, 0.2);
}

.toast.error {
    color: #ff6b6b;
    border-color: #ff6b6b;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

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

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.modal {
    /* ... existing modal styles ... */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

.modal.modal-open {
    opacity: 1;
    visibility: visible;
}

.modal.modal-close {
    opacity: 0;
    visibility: hidden;
}

.inverted-icon {
    filter: invert(1);
}

/* Add responsive adjustments for mobile */
@media (max-width: 768px) {
    .modal-content {
        padding: 1rem;
        width: 95%;
        margin: 1rem auto;
    }

    .modal iframe {
        height: 70vh !important;
    }

    /* Improve spacing for contact options on mobile */
    .contact-options {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-button {
        width: 100%;
    }

    .platform-selection-cards {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .platform-card {
        max-width: none;
        width: 100%;
        padding: 16px;
    }

    .platform-card img,
    .platform-icons img {
        width: 32px;
        height: 32px;
    }

    .platform-card h4 {
        font-size: 14px;
    }

    .platform-card p {
        font-size: 12px;
    }
}

/* Ensure smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Prevent content jump when scrolling */
.terminal-form {
    margin-top: 15px;
    transition: opacity 0.3s ease;
    display: none; /* Hidden by default */
}

.terminal-form.visible {
    opacity: 1;
    display: block;
}

.terminal-input-line {
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 4px;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #fff;
    flex: 1;
    font-family: monospace;
    font-size: 16px;
    outline: none;
    padding: 0;
}

.terminal-send-button {
    width: 100%;
    background: transparent;
    color: #9EFF00;
    border: 1px solid #9EFF00;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-family: monospace;
    transition: all 0.2s ease;
}

.terminal-send-button:hover {
    background: rgba(158, 255, 0, 0.1);
    box-shadow: 0 0 8px rgba(158, 255, 0, 0.3);
}

.contact-form {
    margin-top: 20px;
    display: none;
}

.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    color: #9EFF00;
    font-family: monospace;
    margin-bottom: 5px;
}

.form-field input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 4px;
    padding: 8px;
    color: #fff;
    font-family: monospace;
    font-size: 14px;
}

.form-field input:focus {
    border-color: #9EFF00;
    outline: none;
    box-shadow: 0 0 10px rgba(158, 255, 0, 0.2);
}

#contact-submit {
    margin-top: 10px;
}

.terminal-reset-button {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(158, 255, 0, 0.3);
    color: rgba(158, 255, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
    padding: 0;
    z-index: 10;
}

.terminal-reset-button:hover {
    background: rgba(158, 255, 0, 0.1);
    border-color: #9EFF00;
    color: #9EFF00;
    transform: rotate(180deg);
}

/* Add margin to the last element before the reset button */
.terminal-options,
.terminal-input-line,
.contact-form {
    margin-bottom: 40px;
}