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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff4444;
}

.login-btn {
    background: #ff4444;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
}

.login-btn:hover {
    background: #cc0000;
    color: #fff !important;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.alert-error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #ff6b6b;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #51cf66;
}

.alert-info {
    background: rgba(23, 162, 184, 0.2);
    border: 1px solid #17a2b8;
    color: #4dabf7;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-logo {
    max-width: 400px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
}

.tagline {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff4444;
    margin-bottom: 3rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #ddd;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #ccc;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 68, 68, 0.4);
}

.pricing {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #ddd;
}

/* Service Description */
.service-description {
    text-align: center;
}

.service-description h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.service-description > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 2rem;
}

.how-it-works {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: left;
}

.how-it-works h3 {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.step-number {
    background: #ff4444;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-align: left;
}

.step-content p {
    color: #ccc;
    font-size: 1.05rem;
    text-align: left;
}

/* Validate Section */
.validate-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.validate-section h2 {
    margin-bottom: 1rem;
}

.free-user-notice {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid #ffc107;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    text-align: center;
}

.free-user-notice a {
    color: #ffc107;
    text-decoration: underline;
}

.start-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 1rem;
}

.start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 68, 68, 0.4);
}

/* Validate Container */
.validate-container {
    max-width: 800px;
    margin: 0 auto;
}

.validate-container h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.usage-notice {
    background: rgba(23, 162, 184, 0.2);
    border: 1px solid #17a2b8;
    color: #4dabf7;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    text-align: center;
}

.step {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step.active {
    display: block;
}

.step h2 {
    margin-bottom: 1rem;
}

.step p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

textarea {
    width: 100%;
    min-height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 1rem;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

textarea:focus {
    outline: none;
    border-color: #ff4444;
}

.char-count {
    text-align: right;
    color: #888;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

input[type="text"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 0.75rem;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

input[type="text"]:focus {
    outline: none;
    border-color: #ff4444;
}

/* Buttons */
.btn-primary, button {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover, button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

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

.btn-danger {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.btn-danger:hover {
    background: #c82333;
}

/* Loading */
.loading {
    text-align: center;
    padding: 3rem;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #ff4444;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Question Styles */
.question-block {
    margin-bottom: 2rem;
}

.question-block h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.question-nav {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Result Styles */
.result-decision {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
}

.result-decision.keep-going {
    background: rgba(40, 167, 69, 0.2);
    border: 2px solid #28a745;
}

.result-decision.killed {
    background: rgba(220, 53, 69, 0.2);
    border: 2px solid #dc3545;
}

.decision-badge-large {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.reasons-list, .steps-list, .changes-list {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.reasons-list li, .steps-list li, .changes-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.result-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* History Page */
.history-container h1 {
    margin-bottom: 2rem;
}

.filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-buttons, .sort-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-btn, .sort-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.filter-btn:hover, .sort-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.filter-btn.active, .sort-btn.active {
    background: #ff4444;
}

.validations-list {
    display: grid;
    gap: 1.5rem;
}

.validation-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.validation-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.validation-card.keep-going {
    border-left: 4px solid #28a745;
}

.validation-card.killed {
    border-left: 4px solid #dc3545;
}

.validation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.decision-badge {
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
}

.date {
    color: #888;
    font-size: 0.9rem;
}

.idea-text {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #ccc;
}

.view-details {
    color: #ff4444;
    text-decoration: none;
    font-weight: bold;
}

.view-details:hover {
    text-decoration: underline;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state p {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 2rem;
}

/* Detail Page */
.detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    color: #ff4444;
    text-decoration: none;
    margin-bottom: 2rem;
    display: inline-block;
}

.back-link:hover {
    text-decoration: underline;
}

.detail-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.detail-section h2 {
    margin-bottom: 1rem;
    color: #fff;
}

.idea-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
}

.decision-section.keep-going {
    background: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
}

.decision-section.killed {
    background: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
}

.detail-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.add-tag-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #ccc;
    cursor: pointer;
}

.upgrade-link {
    color: #ffc107;
    font-size: 0.85rem;
}

/* Account Page */
.account-container {
    max-width: 800px;
    margin: 0 auto;
}

.account-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.account-section h2 {
    margin-bottom: 1rem;
}

.account-section p {
    color: #ddd;
    margin-bottom: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.status-badge.active {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #51cf66;
}

.status-badge.inactive {
    background: rgba(108, 117, 125, 0.2);
    border: 1px solid #6c757d;
    color: #adb5bd;
}

.tools-list {
    list-style: none;
    padding-left: 0;
}

.tools-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tools-list li:last-child {
    border-bottom: none;
}

.tools-list a {
    color: #ff4444;
    text-decoration: none;
}

.tools-list a:hover {
    text-decoration: underline;
}

/* Subscribe Page */
.subscribe-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.subscribe-container h1 {
    margin-bottom: 3rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #ff4444;
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
}

.pricing-card h2 {
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: #ff4444;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1.5rem;
    color: #888;
}

.features-list {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.features-list h3 {
    margin-bottom: 1rem;
}

.features-list ul {
    list-style: none;
    padding-left: 0;
}

.features-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.note {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.btn-large {
    font-size: 1.3rem;
    padding: 1rem 3rem;
}

.tools-preview {
    margin-top: 3rem;
}

.tools-preview h3 {
    margin-bottom: 2rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
}

.tool-card.active {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.tool-card h4 {
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: #888;
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.8rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .how-it-works {
        text-align: center;
    }
    
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    
    .step-number {
        margin: 0 auto 0.5rem;
    }
    
    .step-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .step-content h4 {
        text-align: center;
    }
    
    .step-content p {
        text-align: center;
    }
    
    .hero-logo {
        max-width: 250px;
    }
}
