* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Load custom font for preview */
@font-face {
    font-family: 'Parastoo';
    src: url('/static/assets/fonts/Parastoo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #28A0FF;
    --secondary-color: #6C5CE7;
    --background-dark: #0A0A19;
    --card-background: #1A1A2E;
    --text-primary: #FFFFFF;
    --text-secondary: #B4B4C8;
    --success-color: #00D9A3;
    --error-color: #FF5C5C;
    --border-radius: 12px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0A0A19 0%, #1A1A2E 100%);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(40, 160, 255, 0.3);
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.logo-img {
    height: 50px;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .logo-img {
        height: 35px;
    }
    header h1 {
        font-size: 2rem;
    }
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* User Status */
.user-status {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pro-badge {
    background-color: var(--success-color);
    color: #000;
}

.free-badge {
    background-color: var(--text-secondary);
    color: #000;
}

.credits-count {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Preview Section */
.preview-section {
    text-align: center;
}

.preview-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.preview-container {
    background: var(--background-dark);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#previewCanvas {
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    background: var(--background-dark);
    display: block;
}

.preview-note {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
}

/* Main Content */
main {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: 40px;
}

.top-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.settings-column {
    flex: 1;
    min-width: 0;
}

.preview-column {
    flex: 0 0 auto;
    width: 400px;
}

.bottom-row {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.generate-section {
    width: 100%;
    max-width: 400px;
}

.mode-message {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Form Groups */
.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-group label .required {
    color: var(--error-color);
    margin-right: 4px;
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* File Input Styling */
.file-input-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.file-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(40, 160, 255, 0.4);
}

.file-icon {
    font-size: 1.5rem;
}

.file-name {
    display: block;
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

/* Text Input */
input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    background: var(--background-dark);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40, 160, 255, 0.2);
}

/* Radio Button Styling */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    user-select: none;
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: var(--background-dark);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-right: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: inline-block;
}

.radio-label:hover .radio-checkmark {
    border-color: var(--primary-color);
}

.radio-label input[type="radio"]:checked ~ .radio-checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.radio-checkmark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.radio-label input[type="radio"]:checked ~ .radio-checkmark::after {
    opacity: 1;
}

/* Select Dropdown */
select {
    width: 100%;
    padding: 12px 16px;
    background: var(--background-dark);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40, 160, 255, 0.2);
}

select option {
    background: var(--background-dark);
    color: var(--text-primary);
}

/* Color Picker */
.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

input[type="color"] {
    width: 50px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
    padding: 1px !important;
}

input[type="color"]:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.color-value {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 8px 16px;
    background: var(--background-dark);
    border-radius: 8px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(40, 160, 255, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn .btn-loader {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.submit-btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Progress Section */
.progress-section {
    margin-top: 30px;
    padding: 30px;
    background: rgba(40, 160, 255, 0.1);
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--background-dark);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.progress-text {
    text-align: center;
    color: var(--text-primary);
    font-size: 1rem;
}

/* Result Section */
.result-section {
    margin-top: 30px;
    padding: 30px;
    background: rgba(0, 217, 163, 0.1);
    border-radius: var(--border-radius);
    border: 2px solid var(--success-color);
}

.result-content {
    text-align: center;
}

.result-content h3 {
    color: var(--success-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.result-content video {
    width: 100%;
    max-width: 400px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.download-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--success-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 217, 163, 0.4);
}

/* Vertical layout to stack video and download button */
.video-download-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-download-vertical video {
    margin-bottom: 12px;
}

/* Error Section */
.error-section {
    margin-top: 30px;
    padding: 30px;
    background: rgba(255, 92, 92, 0.1);
    border-radius: var(--border-radius);
    border: 2px solid var(--error-color);
}

.error-content {
    text-align: center;
}

.error-content h3 {
    color: var(--error-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.error-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.retry-btn {
    padding: 12px 28px;
    background: var(--error-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 92, 92, 0.4);
}

/* Footer */
footer {
    margin-top: 50px;
    padding: 30px 0;
    background: linear-gradient(135deg, var(--card-background), rgba(26, 26, 46, 0.8));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

footer p::before {
    content: "💖 ";
}

/* Footer Styles */
footer {
    margin-top: 50px;
    padding: 40px 0 20px 0;
    background: linear-gradient(135deg, var(--card-background), rgba(26, 26, 46, 0.8));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 30px;
}

.footer-brand {
    text-align: center;
    margin-bottom: 30px;
}

.footer-brand h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.footer-nav {
    text-align: center;
}

.footer-nav h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a:hover {
    color: var(--primary-color);
    background: rgba(40, 160, 255, 0.1);
    border-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom p::before {
    content: "💖 ";
}

@media (max-width: 768px) {
    .footer-links {
        gap: 10px;
    }

    .footer-links a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }
}

/* Buy Credits Page Styles */
.credit-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-primary);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item strong {
    min-width: 120px;
    margin-right: 15px;
    color: var(--primary-color);
}

.comparison-table {
    margin: 30px 0;
}

.comparison-table h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    text-align: center;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 15px;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-table tbody th {
    background: rgba(40, 160, 255, 0.1);
    color: var(--primary-color);
    font-weight: 500;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.purchase-section {
    text-align: center;
    margin: 30px 0;
}

.pricing-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    padding: 30px;
    display: inline-block;
    box-shadow: 0 8px 32px rgba(40, 160, 255, 0.3);
    max-width: 300px;
    width: 100%;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.credits {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
}

.per-minute {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.paypal-btn {
    background: white;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s ease;
}

.paypal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 20px;
    font-style: italic;
}

/* Buy Credits Header Styles */
.buy-credits-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(40, 160, 255, 0.1), rgba(108, 92, 231, 0.1));
    border-radius: var(--border-radius);
    border: 1px solid rgba(40, 160, 255, 0.2);
}

.buy-credits-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-description {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.value-proposition {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(40, 160, 255, 0.3);
    transition: transform 0.2s ease;
}

.highlight:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .buy-credits-header h2 {
        font-size: 2rem;
    }
    
    .header-description {
        font-size: 1.1rem;
    }
    
    .value-proposition {
        gap: 10px;
    }
    
    .highlight {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Pro Features Promotion */
.pro-promotion {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 30px auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(40, 160, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-promotion-content {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.pro-icon {
    font-size: 3rem;
    animation: pulse 2s infinite;
}

.pro-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.pro-text p {
    margin: 0 0 15px 0;
    opacity: 0.9;
    font-size: 1rem;
}

.become-pro-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(40, 160, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: glow 2s ease-in-out infinite alternate;
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
}

.become-pro-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.become-pro-btn:hover::before {
    left: 100%;
}

.become-pro-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(40, 160, 255, 0.6);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

@keyframes glow {
    from {
        box-shadow: 0 6px 20px rgba(40, 160, 255, 0.4), 0 0 20px rgba(40, 160, 255, 0.2);
    }
    to {
        box-shadow: 0 6px 20px rgba(40, 160, 255, 0.4), 0 0 30px rgba(40, 160, 255, 0.4), 0 0 40px rgba(40, 160, 255, 0.2);
    }
}

.profile-upgrade {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
}

/* Home Page Pro Section */
.home-pro-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.home-upgrade {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .profile-container {
        padding: 5px !important;

    }

    .main-nav {
        gap: 10px;
        justify-content: center;
        padding: 0 10px;
    }

    .main-nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .user-status {
        margin-left: 0;
        margin-top: 10px;
        flex-direction: row;
        gap: 10px;
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    main {
        padding: 10px;
    }

    .top-row {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }

    .settings-column {
        order: 2;
        width: 100%;
    }

    .preview-column {
        order: 1;
        width: 100%;
    }

    .bottom-row {
        gap: 20px;
    }

    .generate-section {
        max-width: 100%;
    }

    .form-group {
        margin-bottom: 25px;
    }
}

/* Authentication Styles */
.auth-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 40px;
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.auth-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.auth-form input::placeholder {
    color: var(--text-secondary);
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #1e87db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 160, 255, 0.4);
}

.btn-secondary {
    background: var(--text-secondary);
    color: var(--background-dark);
}

.btn-secondary:hover {
    background: #a0a0b8;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: rgba(0, 217, 163, 0.2);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.alert-danger {
    background: rgba(255, 92, 92, 0.2);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

/* Profile Styles */
.profile-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.profile-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.profile-info {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.status.pro {
    background: rgba(0, 217, 163, 0.2);
    color: var(--success-color);
}

.status.free {
    background: rgba(255, 92, 92, 0.2);
    color: var(--error-color);
}

.profile-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Admin Panel Styles */
.admin-container {
    padding: 40px;
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}

.admin-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card h3 {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.users-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.users-table th,
.users-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.users-table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: var(--text-primary);
}

.users-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-small {
    padding: 6px 12px;
    font-size: 14px;
}

.btn-danger {
    background: var(--error-color);
    color: white;
}

.btn-danger:hover {
    background: #e63939;
}

.inline-form {
    display: inline;
}

.admin-form {
    max-width: 500px;
    margin: 0 auto;
}

.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-form input[readonly] {
    background: rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.admin-actions {
    text-align: center;
    margin-top: 30px;
}

/* Search Styles */
.search-container {
    margin-bottom: 20px;
    text-align: center;
}

.search-form {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.search-input {
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 16px;
    min-width: 250px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(40, 160, 255, 0.2);
}

.search-results {
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-secondary);
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-link,
.pagination-current {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.pagination-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pagination-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.pagination-current {
    background: var(--primary-color);
    color: white;
    font-weight: bold;
}

.pagination-dots {
    padding: 8px 4px;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        text-align: center;
    }
    
    .search-form {
        flex-direction: column;
        width: 100%;
    }
    
    .search-input {
        min-width: 200px;
        width: 100%;
    }
}

/* User Edit Page Statistics Styles */
.user-stats-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-stats-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.usage-section,
.transactions-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.usage-section h3,
.transactions-section h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.usage-table-container,
.transactions-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.usage-table,
.transactions-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.usage-table th,
.usage-table td,
.transactions-table th,
.transactions-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.usage-table th,
.transactions-table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: var(--text-primary);
}

.usage-table tbody tr:hover,
.transactions-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.no-data {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 20px 0;
}

.status.completed {
    color: var(--success-color);
    font-weight: bold;
}

.status.pending {
    color: var(--error-color);
    font-weight: bold;
}

@media (max-width: 768px) {
    .usage-table,
    .transactions-table {
        font-size: 14px;
    }
    
    .usage-table th,
    .usage-table td,
    .transactions-table th,
    .transactions-table td {
        padding: 8px 12px;
    }
}

/* Become Pro Button Styles */
.become-pro-main-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(40, 160, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: glow 2s ease-in-out infinite alternate;
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
}

.become-pro-main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.become-pro-main-btn:hover::before {
    left: 100%;
}

.become-pro-main-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(40, 160, 255, 0.6);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

@keyframes glow {
    from {
        box-shadow: 0 6px 20px rgba(40, 160, 255, 0.4), 0 0 20px rgba(40, 160, 255, 0.2);
    }
    to {
        box-shadow: 0 6px 20px rgba(40, 160, 255, 0.4), 0 0 30px rgba(40, 160, 255, 0.4), 0 0 40px rgba(40, 160, 255, 0.2);
    }
}

/* Contact Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 16px;
    transition: border-color 0.3s ease;
    padding: 12px 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40, 160, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    width: 100%;
}

.form-group select {
    cursor: pointer;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 160, 255, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Privacy Policy Styles */
.card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: 40px;
    max-width: 100%;
}

.card h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.policy-date {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 40px;
    font-style: italic;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(40, 160, 255, 0.2);
    padding-bottom: 8px;
}

.policy-section p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.policy-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-section li {
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.policy-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .card {
        padding: 5px;
    }
    
    .card h2 {
        font-size: 2rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
}

/* FAQ Styles */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(40, 160, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Home Page FAQ Section */
.home-faq-section {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(40, 160, 255, 0.1));
    padding: 60px 20px;
    margin: 40px 0;
}

.home-faq-section h2 {
    text-align: center;
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-accordion-item {
    background: var(--card-background);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(40, 160, 255, 0.1);
    overflow: hidden;
}

.faq-accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background-color 0.3s ease;
}

.faq-accordion-header:hover {
    background-color: rgba(40, 160, 255, 0.05);
}

.faq-accordion-header span:first-child {
    flex: 1;
}

.faq-icon {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    width: 20px;
    text-align: center;
}

.faq-accordion-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(40, 160, 255, 0.02);
    padding: 0;
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 200px;
    padding: 0 0 20px;
}

.faq-link {
    text-align: center;
}

@media (max-width: 768px) {
    .home-faq-section {
        padding: 40px 20px;
    }
    
    .home-faq-section h2 {
        font-size: 2rem;
    }
    
    .faq-accordion-header {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .faq-accordion-content p {
        padding: 0 20px 15px;
    }
}

/* Admin Analytics Styles */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.analytics-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(40, 160, 255, 0.1);
}

.analytics-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.analytics-card.full-width {
    grid-column: 1 / -1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
}

.user-type-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-type-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(40, 160, 255, 0.05);
    border-radius: 6px;
}

.user-type-label {
    font-weight: 600;
    color: var(--text-primary);
}

.user-type-count {
    color: var(--primary-color);
    font-weight: 600;
}

.user-type-duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.daily-chart {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.daily-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(40, 160, 255, 0.05);
    border-radius: 6px;
}

.date {
    font-weight: 600;
    color: var(--text-primary);
}

.videos {
    color: var(--primary-color);
}

.duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.recent-activity {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(40, 160, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.activity-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity-type {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    width: fit-content;
}

.activity-type.anonymous {
    background: #666;
    color: white;
}

.activity-type.free {
    background: #28A0FF;
    color: white;
}

.activity-type.pro {
    background: #00D9A3;
    color: white;
}

.activity-duration {
    font-weight: 600;
    color: var(--text-primary);
}

.activity-time {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.activity-details {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.activity-email {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.activity-ip {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: monospace;
}

@media (max-width: 768px) {
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .activity-details {
        text-align: left;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .home-faq-section {
        padding: 40px 20px;
    }
    
    .home-faq-section h2 {
        font-size: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .home-faq-section .faq-item {
        padding: 20px;
    }
}

/* Features Section Styles */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--card-background) 0%, rgba(10, 10, 25, 0.8) 100%);
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.features-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(40, 160, 255, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    margin-bottom: 80px;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Features CTA */
.features-cta {
    text-align: center;
    padding: 50px;
    background: rgba(40, 160, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(40, 160, 255, 0.3);
}

.features-cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.features-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section Styles */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--card-background) 0%, rgba(10, 10, 25, 0.8) 100%);
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.2rem;
    margin: 50px 0 30px 0;
    color: var(--primary-color);
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.about-content strong {
    color: var(--text-primary);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.tech-list {
    background: rgba(40, 160, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(40, 160, 255, 0.3);
    margin: 30px 0;
}

.tech-list li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.tech-list strong {
    color: var(--primary-color);
}

.about-cta {
    text-align: center;
    padding: 50px;
    background: rgba(40, 160, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(40, 160, 255, 0.3);
    margin-top: 60px;
}

.about-cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-header h2,
    .about-header h1 {
        font-size: 2rem;
    }

    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .features-cta,
    .about-cta {
        padding: 30px 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

/* Blog Section Styles */
.blog-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--card-background) 0%, rgba(10, 10, 25, 0.8) 100%);
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.blog-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card a {
    color: inherit;
    text-decoration: none;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(40, 160, 255, 0.2);
    border-color: var(--primary-color);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 25px;
}

.blog-card h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-card h2:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.blog-cta {
    text-align: center;
    padding: 50px;
    background: rgba(40, 160, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(40, 160, 255, 0.3);
}

.blog-cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.blog-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Blog Post Styles */
.blog-post-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--card-background) 0%, rgba(10, 10, 25, 0.8) 100%);
}

.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 40px;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-category {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-date,
.blog-read-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.blog-post h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.2;
}

.blog-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.blog-featured-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px 0;
    color: var(--primary-color);
}

.blog-post-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    color: var(--text-primary);
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

.blog-post-content strong {
    color: var(--text-primary);
}

.comparison-table {
    margin: 30px 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background: rgba(40, 160, 255, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.comparison-table td {
    color: var(--text-secondary);
}

.blog-post-cta {
    background: rgba(40, 160, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(40, 160, 255, 0.3);
    text-align: center;
    margin: 40px 0;
}

.blog-post-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.blog-post-cta p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Related Posts */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(40, 160, 255, 0.2);
    border-color: var(--primary-color);
}

.related-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.related-card h4 {
    padding: 15px;
    font-size: 1rem;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.4;
}

.related-card:hover h4 {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-post h1 {
        font-size: 2rem;
    }

    .blog-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
}
