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

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #64748b;
    --danger-color: #ef4444;
    --success-color: #10b981;
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: var(--surface-color);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-left-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.header-export-icons {
    display: flex;
    gap: 0.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-left: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
}

.header-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.app-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--bg-color);
    border-color: var(--secondary-color);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-block {
    width: 100%;
    margin-top: 0.5rem;
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
}

.btn-close:hover {
    background: var(--bg-color);
    color: var(--text-primary);
}

.icon-btn {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-secondary);
}

.icon-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Main Content */
.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--surface-color);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.sidebar-btn {
    background: transparent;
    border: none;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    transition: var(--transition);
    text-align: left;
}

.sidebar-btn:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.sidebar-btn svg {
    flex-shrink: 0;
}

.sidebar-footer {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Timetable */
.timetable-wrapper {
    flex: 1;
    overflow: auto;
    padding: 2rem;
    background: var(--bg-color);
}

.timetable-container {
    background: var(--surface-color);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    min-width: 900px;
}

.timetable-header {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.time-column-header,
.day-header {
    padding: 1.25rem 0.75rem;
    text-align: center;
    font-size: 0.9375rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.time-column-header {
    background: rgba(0, 0, 0, 0.1);
}

.timetable-body {
    display: grid;
    grid-template-columns: 80px repeat(7, 1fr);
}

.time-cell {
    padding: 1rem 0.5rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.day-cell {
    padding: 0.5rem;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    min-height: 80px;
    cursor: cell;
    transition: var(--transition);
    position: relative;
    background: var(--surface-color);
}

.day-cell:hover {
    background: #f1f5f9;
    cursor: cell;
}

.day-cell.has-event {
    cursor: pointer;
}

.day-cell.has-event:hover {
    background: inherit;
    cursor: pointer;
}

/* Events */
.event {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    overflow: hidden;
}

.event:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.event-title {
    font-weight: 600;
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-time {
    font-size: 0.75rem;
    opacity: 0.9;
}

.event-description {
    font-size: 0.75rem;
    opacity: 0.85;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--surface-color);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-large {
    max-width: 600px;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--surface-color);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-color {
    width: 100%;
    height: 50px;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
}

/* Day Selector */
.day-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.day-btn {
    flex: 1;
    min-width: 50px;
    padding: 0.75rem 0.5rem;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

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

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

/* Time Selector */
.time-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.time-separator {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Color Picker */
.color-picker {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-btn {
    width: 40px;
    height: 40px;
    border: 3px solid transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.color-btn:hover {
    transform: scale(1.1);
}

.color-btn.active {
    border-color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.color-btn.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Toggle Group */
.toggle-group {
    display: flex;
    gap: 0.5rem;
}

.toggle-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

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

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

/* Tabs */
.settings-tabs,
.share-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content,
.share-content {
    display: none;
}

.tab-content.active,
.share-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Input Group */
.input-group {
    position: relative;
}

.input-group .form-input,
.input-group .form-textarea {
    padding-right: 4rem;
}

.input-group .btn-copy {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: var(--transition);
}

.input-group .btn-copy:hover {
    background: var(--primary-hover);
}

/* Links List */
.links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-item {
    background: var(--bg-color);
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
}

.link-info {
    flex: 1;
}

.link-url {
    font-size: 0.875rem;
    color: var(--primary-color);
    word-break: break-all;
}

.link-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.link-actions {
    display: flex;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }

    .timetable-wrapper {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .header-left {
        justify-content: center;
    }

    .header-left-content {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .header-logo {
        order: -1;
    }

    .logo-image {
        height: 45px;
    }

    .header-export-icons {
        padding-left: 0;
        padding-right: 0;
        border-left: none;
        border-right: none;
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 1rem;
    }

    .header-title-wrapper {
        text-align: center;
        align-items: center;
        display: none;
    }

    .app-title {
        justify-content: center;
        font-size: 1.25rem;
    }

    .header-actions {
        justify-content: center;
    }

    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.5rem;
    }

    .sidebar-btn {
        white-space: nowrap;
    }

    .timetable-wrapper {
        padding: 0.5rem;
        overflow-x: auto;
    }

    .timetable-header {
        grid-template-columns: 60px repeat(7, minmax(100px, 1fr));
    }

    .timetable-body {
        grid-template-columns: 60px repeat(7, minmax(100px, 1fr));
    }

    .time-cell,
    .time-column-header,
    .day-header {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }

    .day-cell {
        min-height: 60px;
        padding: 0.375rem;
    }

    .event {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    .event-title {
        font-size: 0.75rem;
    }

    .event-time,
    .event-description {
        font-size: 0.6875rem;
    }

    .modal-content {
        max-width: 100%;
        margin: 0.5rem;
    }

    .day-selector {
        gap: 0.375rem;
    }

    .day-btn {
        min-width: 45px;
        padding: 0.625rem 0.375rem;
        font-size: 0.8125rem;
    }

    .time-selector {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .time-separator {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 1.125rem;
    }

    .app-subtitle {
        font-size: 0.75rem;
    }

    .btn-primary {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }

    .modal-title {
        font-size: 1.125rem;
    }

    .settings-tabs,
    .share-tabs {
        overflow-x: auto;
    }

    .tab-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }
}

/* Print Styles */
@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    .header,
    .sidebar,
    .modal {
        display: none !important;
    }

    .timetable-wrapper {
        padding: 0;
    }

    .timetable-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .timetable-header {
        background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .event {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .event:hover {
        transform: none;
    }

    body {
        background: white;
    }

    .day-cell,
    .time-cell {
        border-color: #ccc !important;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Notification */
.notification {
    position: fixed;
    top: 5rem;
    right: 2rem;
    background: var(--surface-color);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--success-color);
    z-index: 2000;
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 350px;
}

.notification.error {
    border-left-color: var(--danger-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Font Size Classes */
.font-small {
    font-size: 0.875rem;
}

.font-medium {
    font-size: 1rem;
}

.font-large {
    font-size: 1.125rem;
}

/* SEO Content Section Styles */
.seo-content-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 4rem 2rem;
    margin-top: 3rem;
}

.seo-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.seo-section {
    background: var(--surface-color);
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.seo-section:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.seo-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

/* SEO Grid Layout */
.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.seo-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.seo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.seo-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.seo-card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* SEO List */
.seo-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.seo-list li {
    padding: 0.875rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

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

.seo-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.125rem;
}

/* SEO Steps */
.seo-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.seo-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.seo-step:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

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

.seo-step-content {
    flex: 1;
}

.seo-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.seo-step-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* SEO Use Cases */
.seo-use-case {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.seo-use-case:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.seo-use-case-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* SEO Tips */
.seo-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.seo-tip {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.75rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.seo-tip:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.seo-tip-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

/* SEO FAQ */
.seo-faq {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.seo-faq-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.seo-faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.seo-faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.seo-faq-question::before {
    content: 'Q:';
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* SEO CTA */
.seo-cta {
    text-align: center;
    margin-top: 2rem;
}

.seo-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.seo-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* SEO Footer Text */
.seo-footer-text {
    background: var(--surface-color);
    padding: 2rem 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: center;
}

.seo-footer-text p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* SEO Content Responsive */
@media (max-width: 768px) {
    .seo-content-wrapper {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }

    .seo-section {
        padding: 2rem 1.5rem;
    }

    .seo-heading {
        font-size: 1.5rem;
    }

    .seo-text {
        font-size: 1rem;
    }

    .seo-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .seo-card {
        padding: 1.5rem;
    }

    .seo-card-title {
        font-size: 1.125rem;
    }

    .seo-step {
        flex-direction: column;
        padding: 1.25rem;
    }

    .seo-step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .seo-step-title {
        font-size: 1.125rem;
    }

    .seo-tips {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .seo-faq-item {
        padding: 1.5rem;
    }

    .seo-faq-question {
        font-size: 1.125rem;
    }

    .seo-cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .seo-content-wrapper {
        padding: 1.5rem 0.75rem;
    }

    .seo-section {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .seo-heading {
        font-size: 1.25rem;
    }

    .seo-list li {
        font-size: 0.9375rem;
        padding-left: 1.5rem;
    }
}

/* Hide SEO content when printing */
@media print {
    .seo-content-wrapper {
        display: none !important;
    }
}
