/* CSS Variables for theming */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* Dark mode variables */
.dark-mode {
    --text-color: #f9fafb;
    --text-light: #d1d5db;
    --bg-color: #111827;
    --bg-light: #1f2937;
    --border-color: #374151;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.site-title {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

/* Main content */
.main {
    min-height: calc(100vh - 140px);
    padding: 2rem 0;
}

/* Footer */
.footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

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

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--text-light);
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-color) 100%);
    border-radius: var(--radius);
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features section */
.features {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

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

.feature-card {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    padding: 4rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 4rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    background-color: white;
    color: var(--primary-color);
}

.cta-section .btn:hover {
    background-color: var(--bg-light);
}

/* Notepad styles */
.notepad-container {
    background-color: var(--bg-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.notepad-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.notepad-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.notepad-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.editor-container {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    min-height: 500px;
}

.editor-sidebar {
    padding: 1.5rem;
    border-right: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.editor-sidebar.right-sidebar {
    border-right: none;
    border-left: 1px solid var(--border-color);
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.format-buttons {
    display: flex;
    gap: 0.5rem;
}

.format-btn {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.format-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
}

.stat-label {
    color: var(--text-light);
}

.editor-main {
    padding: 0;
}

#notepad {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    padding: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    resize: none;
    background-color: var(--bg-color);
    color: var(--text-color);
}

#notepad:focus {
    outline: none;
}

.recent-notes {
    font-size: 0.875rem;
}

/* Page header */
.page-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* Content sections */
.content-section {
    margin-bottom: 4rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.content-text h2 {
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-text h2:first-child {
    margin-top: 0;
}

.content-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
}

.content-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* PROPER BULLET POINTS */
.content-text ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-text li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    position: relative;
    list-style-type: disc;
    padding-left: 0.5rem;
}

.content-text ul li::before {
    content: "";
    display: none;
}

/* Steps section - UPDATED */
.steps {
    margin: 2rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.step-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-weight: bold;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.step-card p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
}

/* Comparison table - UPDATED */
.comparison-table {
    margin: 3rem 0;
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-color);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    min-width: 600px;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
}

.comparison-table th {
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 1.25rem 1rem;
    font-size: 1.1rem;
}

.comparison-table th:first-child {
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
}

.comparison-table td {
    padding: 1.25rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-weight: 500;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    background-color: var(--bg-light);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background-color: var(--bg-light);
}

.comparison-table .yes {
    color: #10b981;
    font-weight: 700;
    font-size: 1.2rem;
}

.comparison-table .no {
    color: #ef4444;
    font-weight: 700;
    font-size: 1.2rem;
}

.comparison-table .maybe {
    color: #f59e0b;
    font-weight: 700;
    font-size: 1.2rem;
}

/* FAQ styles - UPDATED WITH DROPDOWN */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--bg-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
}

.faq-question:hover {
    background-color: var(--primary-color);
    color: white;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    pointer-events: none;
}

.faq-toggle {
    font-size: 1.25rem;
    font-weight: bold;
    transition: var(--transition);
    pointer-events: none;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--bg-color);
}

.faq-answer p {
    margin: 0;
    padding: 1.5rem;
    line-height: 1.6;
    color: var(--text-color);
    border-top: 1px solid var(--border-color);
}

/* FAQ Active State */
.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    background-color: var(--primary-color);
    color: white;
}

/* Creator section with LinkedIn link */
.creator-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.creator-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-color);
}

.creator-link::after {
    content: " 🔗";
    font-size: 0.875em;
    opacity: 0.7;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.notification.success {
    background-color: #10b981;
}

.notification.error {
    background-color: #ef4444;
}

.notification.warning {
    background-color: #f59e0b;
}

.notification.info {
    background-color: #3b82f6;
}

.notification.show {
    transform: translateX(0);
}

.notification:hover {
    opacity: 0.9;
}

/* Ripple effect */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn {
    position: relative;
    overflow: hidden;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-list {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .editor-container {
        grid-template-columns: 1fr;
    }
    
    .editor-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .editor-sidebar.right-sidebar {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    
    .notepad-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .notepad-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table table {
        min-width: 500px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
    }
    
    .faq-question {
        padding: 1.25rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 1.25rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}