:root {
    --bg-color: #090A0F;
    --panel-bg: rgba(20, 22, 30, 0.6);
    --panel-border: rgba(255, 255, 255, 0.08);
    --text-primary: #F0F2F5;
    --text-secondary: #A0A4B8;
    --accent-1: #00F0FF; /* Cyan */
    --accent-2: #8A2BE2; /* Purple */
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --success: #00E676;
    --danger: #FF3B30;
    --font-main: 'Outfit', sans-serif;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-2);
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-1);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

/* Container & Typography */
.container {
    width: 100%;
    max-width: 1200px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.badge {
    background: rgba(255, 59, 48, 0.1);
    color: #FF6B6B;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 59, 48, 0.2);
    display: inline-block;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
}

/* Interface Grid */
.app-interface {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .app-interface {
        grid-template-columns: 1fr;
    }
}

.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--panel-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.char-count {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
}

.status-badge.secure {
    background: rgba(0, 230, 118, 0.1);
    color: var(--success);
    border: 1px solid rgba(0, 230, 118, 0.2);
    opacity: 1;
}

/* Textareas */
textarea {
    width: 100%;
    min-height: 200px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    resize: vertical;
    transition: var(--transition);
}

textarea:focus {
    outline: none;
    border-color: var(--accent-2);
    box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.2);
}

textarea::placeholder {
    color: rgba(160, 164, 184, 0.5);
}

/* Options */
.options-group {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.options-group h3 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.option-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.option-desc {
    display: flex;
    flex-direction: column;
}

.option-desc strong {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.option-desc span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Toggles */
.toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: var(--accent-gradient);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

/* Inputs */
.keyword-input {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.keyword-input label {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.keyword-input input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: var(--transition);
}

.keyword-input input:focus {
    outline: none;
    border-color: var(--accent-1);
}

.keyword-input small {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

/* Buttons */
button {
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 12px;
    transition: var(--transition);
    border: none;
    padding: 1rem;
}

.primary-btn {
    width: 100%;
    background: var(--accent-gradient);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
    margin-top: auto;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.6);
    filter: brightness(1.1);
}

.primary-btn:active {
    transform: translateY(0);
}

.action-buttons {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 1rem;
    margin-top: auto;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.danger-btn {
    background: rgba(255, 59, 48, 0.1);
    color: #FF6B6B;
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.danger-btn:hover {
    background: rgba(255, 59, 48, 0.2);
    color: #FF8585;
}

.success-message {
    text-align: center;
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Benefits Section */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: rgba(20, 22, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: var(--transition);
}

.benefit-card:hover {
    background: rgba(20, 22, 30, 0.8);
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.2);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--accent-1);
    background: rgba(0, 240, 255, 0.1);
    padding: 1rem;
    border-radius: 50%;
}

.benefit-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
