* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #9333EA 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #6D28D9 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.container {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    position: relative;
    z-index: 1;
    margin: 60px auto 80px;
}

/* Header with Logo */
.header {
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 50%, #6D28D9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Headline */
.headline {
    margin-top: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.headline-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.headline-part1 {
    font-size: 48px;
    color: #ffffff;
}

.headline-part2 {
    font-size: 56px;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 50%, #6D28D9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.description {
    font-size: 18px;
    color: #d3d3d3;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* CTA Buttons Container */
.cta-buttons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    flex-wrap: wrap;
}

/* CTA Button */
.cta-button-wrapper {
    display: inline-block;
    padding: 2px;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 50%, #6D28D9 100%);
    border-radius: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.3);
    text-decoration: none;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: #1a1a1a;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    position: relative;
    z-index: 1;
    font-family: inherit;
}

.cta-button-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(147, 51, 234, 0.5);
}

.cta-button-wrapper:hover .cta-button {
    background-color: #2a2a2a;
}

.paper-plane-icon {
    width: 20px;
    height: 20px;
}

/* Twitter Button */
.twitter-button-wrapper {
    display: inline-block;
    padding: 2px;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 50%, #6D28D9 100%);
    border-radius: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.3);
    text-decoration: none;
}

.twitter-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: #1a1a1a;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    position: relative;
    z-index: 1;
    font-family: inherit;
}

.twitter-button-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(147, 51, 234, 0.5);
}

.twitter-button-wrapper:hover .twitter-button {
    background-color: #2a2a2a;
}

.twitter-icon {
    width: 20px;
    height: 20px;
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #d3d3d3;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-3px);
}

.feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.feature-icon.ai,
.feature-icon.lightning,
.feature-icon.shield {
    width: 18px;
    height: 18px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(147, 51, 234, 0.3);
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.3);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.modal-close:hover {
    opacity: 1;
    background-color: rgba(147, 51, 234, 0.2);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-logo {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}

.modal-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    color: #d3d3d3;
    font-size: 14px;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
}

.form-group input {
    padding: 14px 16px;
    background-color: #0f0f0f;
    border: 2px solid rgba(147, 51, 234, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.form-group input:focus {
    outline: none;
    border-color: #9333EA;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.form-group input::placeholder {
    color: #666;
}

.input-hint {
    font-size: 12px;
    color: #888;
    text-align: left;
}

.amount-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.amount-input-wrapper input {
    flex: 1;
    padding-right: 60px;
}

.currency-badge {
    position: absolute;
    right: 16px;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

.form-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background-color: rgba(147, 51, 234, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #d3d3d3;
}

.info-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.submit-button {
    padding: 16px 32px;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 50%, #6D28D9 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.4);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(147, 51, 234, 0.6);
}

.submit-button svg {
    width: 20px;
    height: 20px;
}

.submit-button:active {
    transform: translateY(0);
}

.success-message {
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s ease-out;
}

.success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-icon svg {
    width: 30px;
    height: 30px;
    stroke: #ffffff;
}

.success-message h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.success-message p {
    color: #d3d3d3;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .headline-part1 {
        font-size: 36px;
    }
    
    .headline-part2 {
        font-size: 42px;
    }
    
    .description {
        font-size: 16px;
    }
    
    .brand-name {
        font-size: 28px;
    }
    
    .features {
        gap: 20px;
        flex-direction: column;
    }
    
    .logo-container {
        gap: 12px;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }

    .cta-buttons-container {
        flex-direction: column;
        gap: 12px;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .container {
        margin-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .headline-part1 {
        font-size: 28px;
    }
    
    .headline-part2 {
        font-size: 32px;
    }
    
    .description {
        font-size: 14px;
    }
    
    .cta-buttons-container {
        flex-direction: column;
        gap: 12px;
    }

    .cta-button,
    .twitter-button {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .features {
        gap: 15px;
    }
    
    .feature {
        font-size: 13px;
    }

    .modal-content {
        padding: 25px 15px;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .container {
        margin-bottom: 60px;
    }
}

/* Chat Terminal Styles */
.chat-terminal {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.2);
    z-index: 100;
    max-width: 1200px;
    width: 100%;
    margin: 80px auto 40px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chat-terminal.collapsed .chat-terminal-body {
    max-height: 0;
    opacity: 0;
    padding: 0;
}

.chat-terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 20px 20px 0 0;
    background: transparent;
}

.chat-terminal.collapsed .chat-terminal-header {
    border-bottom: none;
    border-radius: 20px;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-icon {
    width: 24px;
    height: 24px;
}

.chat-header-left span:not(.chat-status) {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.chat-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #9333EA;
    padding: 4px 10px;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 12px;
    font-weight: 500;
}

.chat-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #9333EA;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.chat-toggle-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.chat-toggle-btn:hover {
    opacity: 1;
    background: rgba(147, 51, 234, 0.1);
}

.chat-toggle-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.chat-terminal.collapsed .chat-toggle-btn svg {
    transform: rotate(180deg);
}


.chat-terminal-body {
    max-height: 500px;
    height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(147, 51, 234, 0.1);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(147, 51, 234, 0.5);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(147, 51, 234, 0.7);
}

.chat-message {
    display: flex;
    gap: 12px;
    animation: fadeInMessage 0.3s ease-out;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-avatar {
    color: #ffffff;
}

.message-avatar svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-avatar {
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid rgba(147, 51, 234, 0.5);
    color: #9333EA;
}

.user-message .message-avatar svg {
    stroke: currentColor;
}

.message-content {
    flex: 1;
    max-width: 70%;
}

.user-message .message-content {
    text-align: right;
}

.message-content p {
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.5;
    font-size: 14px;
    margin: 0;
}

.ai-message .message-content p {
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.2);
    color: #e0e0e0;
}

.user-message .message-content p {
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid rgba(147, 51, 234, 0.4);
    color: #ffffff;
}

.chat-input-container {
    padding: 15px 20px;
    border-top: 1px solid rgba(147, 51, 234, 0.2);
}

.chat-input-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    background: #0f0f0f;
    border: 2px solid rgba(147, 51, 234, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: #9333EA;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.chat-input::placeholder {
    color: #666;
}

.chat-send-btn {
    padding: 12px;
    background: linear-gradient(135deg, #9333EA 0%, #7C3AED 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.chat-send-btn svg {
    width: 20px;
    height: 20px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #9333EA;
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Responsive Chat Terminal */
@media (max-width: 768px) {
    body {
        padding: 30px 20px;
    }

    .container {
        margin: 40px auto 60px;
        gap: 30px;
    }

    .chat-terminal {
        margin: 60px auto 30px;
        border-radius: 15px;
    }

    .chat-terminal-body {
        height: 350px;
        max-height: 350px;
    }

    .message-content {
        max-width: 85%;
    }

    .chat-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px 15px;
    }

    .container {
        margin: 30px auto 40px;
        gap: 25px;
    }

    .chat-terminal {
        margin: 40px auto 20px;
        border-radius: 12px;
    }

    .chat-terminal-body {
        height: 300px;
        max-height: 300px;
    }

    .chat-messages {
        padding: 15px;
        gap: 12px;
    }

    .message-content p {
        font-size: 13px;
        padding: 10px 14px;
    }

    .chat-header-left span:not(.chat-status) {
        font-size: 14px;
    }
}
