/* ============================================
   Already Paid Banner
   ============================================ */
.already-paid-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
    animation: slideDown 0.6s ease-out;
}

.already-paid-banner p {
    margin: 0;
}

.banner-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.banner-link:hover {
    border-bottom-color: white;
    opacity: 0.95;
}

/* ============================================
   CSS Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ============================================
   Main Container & Layout
   ============================================ */
.container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 60px 40px;
    max-width: 1200px;
    width: 100%;
    animation: slideUp 0.8s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* ============================================
   Header
   ============================================ */
.header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.6s ease-out;
}

.header-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.header-subtitle {
    font-size: 1.5rem;
    color: #666;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ============================================
   Section Styles
   ============================================ */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.1rem;
    color: #888;
    text-align: center;
    margin-bottom: 40px;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-section {
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* ============================================
   Pricing Cards
   ============================================ */
.pricing-card {
    background: #f9f9f9;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    animation: fadeInUp 0.7s ease-out forwards;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

.pricing-card:hover {
    border-color: #667eea;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
    transform: translateY(-6px);
}

.pricing-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, #f5f7ff 0%, #f9f9ff 100%);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
    transform: scale(1.03);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-header {
    margin-bottom: 30px;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.currency {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.period {
    font-size: 1rem;
    color: #888;
    font-weight: 500;
}

.plan-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
    font-style: italic;
    font-weight: 500;
}

/* ============================================
   Plan Features
   ============================================ */
.plan-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    padding: 10px 0;
    color: #666;
    font-size: 0.95rem;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
    padding-left: 24px;
}

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

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

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

.btn-accent {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #f9f9f9;
    transform: translateY(-2px);
}

/* ============================================
   Info Section
   ============================================ */
.info-section {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-block {
    animation: fadeInUp 0.8s ease-out;
}

.info-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.info-list {
    list-style: decimal;
    list-style-position: inside;
    padding-left: 10px;
}

.info-list li {
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.info-text {
    color: #666;
    line-height: 1.6;
}

.link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ============================================
   Demo Section
   ============================================ */
.demo-section {
    text-align: center;
    margin-bottom: 40px;
}

.demo-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    text-align: center;
    border-top: 1px solid #e8e8e8;
    padding-top: 20px;
    color: #999;
    font-size: 0.9rem;
}

/* ============================================
   Animations
   ============================================ */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 40px 24px;
    }

    .header-title {
        font-size: 2.5rem;
    }

    .header-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .pricing-card {
        padding: 32px 24px;
    }

    .plan-price {
        flex-direction: column;
        gap: 0;
    }

    .amount {
        font-size: 2.5rem;
    }

    .info-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .demo-links {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 30px 16px;
        border-radius: 12px;
    }

    .header-title {
        font-size: 2rem;
    }

    .header-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .section-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .pricing-section {
        margin-bottom: 40px;
    }

    .plan-name {
        font-size: 1.3rem;
    }

    .info-title {
        font-size: 1.1rem;
    }
}
