/* JS Engineering Solutions - Website Styles */

:root {
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --primary-glow: rgba(0, 212, 255, 0.4);
    --secondary: #1a1a2e;
    --background: #0f0f1e;
    --surface: #16213e;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border: rgba(0, 212, 255, 0.2);
    --text-primary: #ffffff;
    --success: #00c853;
    --warning: #f5a623;
    --error: #ff4444;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated background gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 60%, rgba(118, 75, 162, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow), 0 0 40px rgba(0, 212, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-jas {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.logo-img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-size: 16px;
    color: var(--text);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-auth {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 50%, var(--text) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Section Styles */
section {
    padding: 100px 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Features */
.features {
    background: var(--surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: linear-gradient(145deg, var(--background), rgba(22, 33, 62, 0.8));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 212, 255, 0.15),
        0 0 60px rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: linear-gradient(145deg, var(--surface), rgba(22, 33, 62, 0.9));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow:
        0 0 40px rgba(0, 212, 255, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.price {
    margin-bottom: 30px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
}

.price-period {
    font-size: 16px;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Screenshot Showcase */
.screenshots {
    background: var(--surface);
}

.screenshot-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.screenshot-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.screenshot-tab {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.screenshot-tab:hover {
    border-color: var(--primary);
    color: var(--text);
}

.screenshot-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary);
    color: white;
}

.screenshot-panel {
    display: none;
    animation: fadeInUp 0.4s ease-out;
}

.screenshot-panel.active {
    display: block;
}

.screenshot-frame {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    background: var(--background);
}

.screenshot-frame img {
    width: 100%;
    display: block;
}

.screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 80px 40px;
    color: var(--text-muted);
    text-align: center;
    background: linear-gradient(145deg, var(--background), rgba(22, 33, 62, 0.5));
    min-height: 400px;
}

.screenshot-placeholder svg {
    opacity: 0.4;
    color: var(--primary);
}

.screenshot-placeholder span {
    font-size: 16px;
    max-width: 400px;
}

.screenshot-caption h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.screenshot-caption p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    background: var(--background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: linear-gradient(145deg, var(--surface), rgba(22, 33, 62, 0.9));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 212, 255, 0.3);
}

.testimonial-stars {
    margin-bottom: 16px;
}

.testimonial-stars span {
    color: #f5a623;
    font-size: 18px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

.social-proof-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.proof-stat {
    text-align: center;
}

.proof-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.proof-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Pricing Enhancements */
.pricing-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.pricing-annual {
    font-size: 14px;
    color: var(--success);
    margin-top: -24px;
    margin-bottom: 12px;
}

.pricing-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

.pricing-features li.included::before {
    content: '\2713';
    color: var(--success);
    margin-right: 10px;
    font-weight: 700;
}

.pricing-features li.excluded {
    color: var(--text-muted);
    opacity: 0.5;
}

.pricing-features li.excluded::before {
    content: '\2014';
    color: var(--text-muted);
    margin-right: 10px;
}

/* Pricing Hero (for pricing.html) */
.pricing-hero {
    padding: 160px 20px 60px;
    text-align: center;
}

.pricing-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Feature Comparison Table */
.comparison {
    background: var(--surface);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
}

.comparison-table th {
    padding: 16px 20px;
    text-align: center;
    font-weight: 600;
    background: var(--background);
    border-bottom: 2px solid var(--border);
    color: var(--text);
}

.comparison-table th:first-child {
    text-align: left;
    width: 40%;
}

.comparison-table th.highlight {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}

.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
}

.comparison-table td:first-child {
    text-align: left;
    color: var(--text);
}

.comparison-table tr:hover td {
    background: rgba(0, 212, 255, 0.03);
}

.comparison-table .category-row td {
    font-weight: 600;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 20px;
}

.comparison-table .check {
    color: var(--success);
    font-size: 18px;
}

.comparison-table .dash {
    color: var(--text-muted);
    opacity: 0.4;
}

/* FAQ */
.faq {
    background: var(--background);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.faq-item h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text);
}

.faq-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(145deg, var(--surface), rgba(0, 212, 255, 0.05));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* Download */
.download {
    background: var(--surface);
}

.download-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
}

.download-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.download-info p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.download-details {
    list-style: none;
    display: flex;
    gap: 24px;
}

.download-details li {
    font-size: 14px;
    color: var(--text-muted);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    margin-bottom: 32px;
}

.contact-item h4 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-item a,
.contact-item p {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 80px 20px 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-proof-stats {
        flex-wrap: wrap;
        gap: 40px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-auth {
        display: none;
    }

    .nav-links.active,
    .nav-auth.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }

    .nav-auth.active {
        top: auto;
        position: relative;
        border-bottom: none;
        padding-top: 0;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .social-proof-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .screenshot-placeholder {
        min-height: 250px;
        padding: 40px 20px;
    }

    .pricing-hero h1 {
        font-size: 32px;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .download-details {
        flex-direction: column;
        gap: 8px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 32px;
    }
}

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background: linear-gradient(145deg, var(--surface), rgba(22, 33, 62, 0.95));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(0, 212, 255, 0.05);
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-secondary);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider span {
    color: var(--text-muted);
    font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* License Page */
.license-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.license-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.license-status.active {
    color: var(--success);
}

.license-status.inactive {
    color: var(--error);
}

.license-key {
    font-family: monospace;
    background: var(--background);
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    word-break: break-all;
}

/* Alert messages */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Auth Pages Responsive - Prevent cramping on small screens */
@media (max-width: 480px) {
    .auth-page {
        padding: 20px 16px;
    }

    .auth-container {
        max-width: 100%;
    }

    .auth-card {
        padding: 32px 20px;
        border-radius: 12px;
    }

    .auth-header {
        margin-bottom: 28px;
    }

    .auth-header h1 {
        font-size: 24px;
    }

    .auth-header p {
        font-size: 14px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .btn-block {
        min-height: 48px; /* Touch-friendly height */
    }

    .auth-footer {
        margin-top: 20px;
        font-size: 13px;
    }

    .auth-footer p {
        margin-bottom: 6px;
    }
}

/* Dashboard Responsive - Prevent cramping */
@media (max-width: 480px) {
    .dashboard-content {
        padding: 16px;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .dashboard-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .dashboard-tabs button {
        padding: 10px 16px;
        font-size: 13px;
        flex: 1 1 auto;
        min-width: 45%;
    }

    .license-card,
    .settings-card {
        padding: 20px 16px;
    }

    .license-key {
        font-size: 12px;
        padding: 12px;
        word-break: break-all;
    }
}

/* Prevent horizontal scroll on very small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .auth-card {
        padding: 24px 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .feature-card {
        padding: 24px 16px;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .download-card {
        padding: 32px 20px;
    }
}
