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

body {
    background-color: #0f0f1e;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Header */
header {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 18px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.05);
    gap: 30px;
}

header a:first-child {
    color: #00d4ff;
    text-decoration: none;
    font-size: 1.6em;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

header a:first-child:hover {
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

header ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

header ul li {
    position: relative;
}

header ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

header ul li a:hover {
    color: #00d4ff;
    border-bottom-color: #00d4ff;
}

#auth-nav {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-left: 20px;
    border-left: 1px solid rgba(0, 212, 255, 0.2);
    margin-left: auto;
    white-space: nowrap;
    justify-self: flex-end;
}

#auth-nav li {
    list-style: none;
}

#auth-nav a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
}

#auth-nav a:hover {
    color: #00d4ff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 120px 40px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #00d4ff;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #b0b0b0;
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.cta-button.large {
    padding: 15px 40px;
    font-size: 1.1em;
}

/* Features Section */
.features {
    padding: 80px 40px;
    background-color: #0f0f1e;
}

.features h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: #00d4ff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #2a2a3e;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.1);
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #00d4ff;
}

.feature-card p {
    color: #a0a0a0;
    line-height: 1.8;
}

/* Pricing Section */
.pricing {
    padding: 80px 40px;
    background: linear-gradient(135deg, #16213e 0%, #0f0f1e 100%);
    text-align: center;
}

.pricing h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #00d4ff;
}

.pricing-subtitle {
    font-size: 1.2em;
    margin-bottom: 50px;
    color: #a0a0a0;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: #1a1a2e;
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid #2a2a3e;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
}

.pricing-card.featured {
    border: 2px solid #00d4ff;
    transform: scale(1.05);
    background: linear-gradient(135deg, #1a1a2e, #0a2a3e);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.best-value {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85em;
}

.pricing-card h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #00d4ff;
    margin-top: 10px;
}

.price {
    margin: 30px 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.currency {
    font-size: 1.5em;
    color: #00d4ff;
    font-weight: 600;
}

.amount {
    font-size: 3em;
    font-weight: bold;
    color: white;
}

.period {
    font-size: 1em;
    color: #a0a0a0;
}

.plan-description {
    color: #a0a0a0;
    font-size: 1em;
    margin: 15px 0;
}

.savings {
    color: #00d4ff;
    font-size: 0.95em;
    margin-bottom: 25px;
    font-weight: bold;
}

.features-list {
    list-style: none;
    text-align: left;
    margin: 30px 0;
}

.features-list li {
    padding: 12px 0;
    color: #a0a0a0;
    border-bottom: 1px solid #2a2a3e;
}

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

.subscribe-button {
    width: 100%;
    padding: 12px 20px;
    margin-top: 25px;
    border: 2px solid #00d4ff;
    background: transparent;
    color: #00d4ff;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.subscribe-button:hover {
    background: #00d4ff;
    color: #0f0f1e;
}

.subscribe-button.primary {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    border: none;
}

.subscribe-button.primary:hover {
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    padding: 80px 40px;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #1a1a2e;
    padding: 50px 40px 20px;
    border-top: 1px solid #2a2a3e;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    color: #00d4ff;
    margin-bottom: 15px;
}

.footer-section p {
    color: #a0a0a0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00d4ff;
}

.footer-bottom {
    text-align: center;
    color: #707070;
    font-size: 0.9em;
    border-top: 1px solid #2a2a3e;
    padding-top: 15px;
}

/* Floating support button (bottom-left) */
.support-button {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.18);
    z-index: 200;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.support-button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 14px 40px rgba(0, 212, 255, 0.25);
}

.support-button svg {
    width: 22px;
    height: 22px;
    display: block;
    color: white;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Header */
    header {
        padding: 15px 20px;
        gap: 15px;
        flex-wrap: wrap;
    }

    header a:first-child {
        font-size: 1.3em;
    }

    header ul:first-of-type {
        gap: 20px;
        font-size: 0.85em;
    }

    header ul li a {
        font-size: 0.85em;
    }

    #auth-nav {
        gap: 15px;
        padding-left: 15px;
        font-size: 0.85em;
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(0, 212, 255, 0.2);
        padding-top: 10px;
        margin-left: 0;
    }

    /* Hero Section */
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 0.95em;
    }

    .cta-button {
        font-size: 0.9em;
        padding: 10px 20px;
    }

    /* Features Grid */
    .features {
        padding: 40px 20px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    /* Pricing Cards */
    .pricing-section {
        padding: 40px 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card {
        padding: 25px;
    }

    .pricing-card h3 {
        font-size: 1.3em;
    }

    .pricing-card .price {
        font-size: 1.8em;
    }

    .pricing-card .price-period {
        font-size: 0.8em;
    }

    .pricing-card ul li {
        font-size: 0.9em;
    }

    /* Footer */
    footer {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-section h4 {
        font-size: 1em;
    }

    .footer-section p, .footer-section ul li a {
        font-size: 0.85em;
    }

    /* Forms */
    .auth-form {
        max-width: 100%;
        margin: 40px 20px;
        padding: 25px;
    }

    .auth-form h1 {
        font-size: 1.5em;
    }

    .form-group label {
        font-size: 0.9em;
    }

    .form-group input {
        font-size: 1em;
        padding: 10px;
    }

    .submit-btn {
        padding: 10px;
        font-size: 0.95em;
    }

    /* Main content */
    main {
        padding: 40px 20px !important;
    }

    main h1 {
        font-size: 1.5em;
    }

    main p {
        font-size: 0.95em;
    }

    /* Support button */
    .support-button {
        width: 48px;
        height: 48px;
        left: 15px;
        bottom: 15px;
    }

    .support-button svg {
        width: 20px;
        height: 20px;
    }
}

/* Extra small devices (< 480px) */
@media (max-width: 480px) {
    header {
        padding: 12px 15px;
        gap: 10px;
    }

    header a:first-child {
        font-size: 1.1em;
    }

    header ul:first-of-type {
        gap: 12px;
        font-size: 0.75em;
    }

    #auth-nav {
        gap: 10px;
        font-size: 0.75em;
        padding-left: 10px;
        padding-top: 8px;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero h1 {
        font-size: 1.5em;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.9em;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-button {
        width: 100%;
        font-size: 0.85em;
        padding: 10px 15px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 15px;
    }

    .feature-card h3 {
        font-size: 1.1em;
    }

    .pricing-grid {
        gap: 15px;
    }

    .pricing-card {
        padding: 20px;
    }

    .pricing-card h3 {
        font-size: 1.2em;
    }

    .pricing-card .price {
        font-size: 1.6em;
    }

    .pricing-card ul {
        font-size: 0.85em;
    }

    .auth-form {
        margin: 30px 15px;
        padding: 20px;
    }

    .auth-form h1 {
        font-size: 1.3em;
    }

    main {
        padding: 30px 15px !important;
    }

    main h1 {
        font-size: 1.3em;
    }

    .footer-section h4 {
        font-size: 0.95em;
    }

    .footer-section p, .footer-section ul li {
        font-size: 0.8em;
    }

    .support-button {
        width: 44px;
        height: 44px;   
        left: 12px;
        bottom: 12px;
    }

    .support-button svg {
        width: 18px;
        height: 18px;
    }
}