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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --dark-bg: #0f172a;
    --light-bg: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #334155;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.05);
}

.logo-text {
    font-family: 'flux-regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.logo-tagline {
    font-family: 'flux-regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-left: 1px solid var(--border-color);
    padding-left: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: var(--light-bg);
}

.btn-signup {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-signup:hover {
    transform: translateY(-2px);
}

/* Main Container */
.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Pricing Header */
.pricing-header {
    text-align: center;
    padding: 120px 20px;
    margin-bottom: 80px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(30, 41, 59, 0.5) 100%);
}

.tagline-banner {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.free-offer {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 2px solid var(--success);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
}

.special-offers {
    margin-top: 3rem;
}

.special-offers h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin: 2rem auto;
}

.offer-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.offer-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.offer-card.startup-special {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
}

.offer-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.offer-price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.startup-special .offer-price {
    color: var(--secondary-color);
}

.offer-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-get-offer {
    background: var(--gradient);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-get-offer:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.free-offer .offer-badge {
    display: inline-block;
    background: var(--success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.offer-card .offer-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.startup-special .offer-badge {
    background: rgba(139, 92, 246, 0.2);
    color: var(--secondary-color);
}

.offer-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.offer-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.offer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.offer-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.pricing-header h1 {
    font-size: 5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-highlight {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.highlight-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* How Billing Works */
.how-billing-works {
    margin-bottom: 80px;
}

.how-billing-works h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.billing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.billing-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.billing-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.billing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.billing-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Pricing Examples */
.pricing-examples {
    margin-bottom: 80px;
}

.pricing-examples h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.example {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.example h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.usage-details {
    margin-bottom: 1.5rem;
}

.usage-details p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.usage-details p::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

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

.cost-label {
    color: var(--text-secondary);
}

.cost-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--success);
}

/* Features Comparison Section */
.features-included {
    margin-bottom: 80px;
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(30, 41, 59, 0.5) 100%);
}

.features-included h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.comparison-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.comparison-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, var(--light-bg) 100%);
    transform: scale(1.05);
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.cost-badge {
    background: var(--gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-card .features-list {
    list-style: none;
    padding: 0;
}

.comparison-card .features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    font-size: 0.95rem;
}

.features-list.included li {
    color: var(--text-primary);
}

.features-list li.crossed {
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.6;
}

.features-list li.partial {
    color: var(--warning);
}

.best-value-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Calculator */
.calculator {
    margin-bottom: 80px;
}

.calculator h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.calculator-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.25rem;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.billing-note {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.billing-note p {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin: 0;
}

.time-inputs {
    margin-bottom: 2rem;
}

.time-inputs h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.time-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.input-group-small {
    flex: 1;
    max-width: 120px;
}

.input-group-small label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
}

.input-group-small input {
    width: 100%;
    padding: 0.75rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.25rem;
    text-align: center;
    transition: border-color 0.3s;
}

.input-group-small input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.result {
    padding: 1.5rem;
    background: var(--gradient);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.usage-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.usage-label {
    font-size: 1rem;
    opacity: 0.9;
}

.usage-time {
    font-size: 1.25rem;
    font-weight: bold;
}

.cost-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-label {
    font-size: 1.1rem;
}

.result-amount {
    font-size: 2rem;
    font-weight: bold;
}

/* FAQ */
.faq {
    margin-bottom: 80px;
}

.faq h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 20px;
    margin-bottom: 40px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.btn-start-main {
    background: white;
    color: var(--dark-bg);
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 2rem;
}

.btn-start-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-start {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

/* Signup Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 3rem;
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: slideUp 0.3s;
    border: 1px solid var(--border-color);
}

.modal-content.modal-iframe {
    padding: 0;
    max-width: 500px;
    height: auto;
    background: transparent;
    border: none;
}

.modal-iframe iframe {
    border-radius: 16px;
    background: white;
}

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

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
    z-index: 10;
}

.modal-iframe .modal-close {
    right: -40px;
    top: 0;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.modal-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.sso-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sso-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.sso-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.sso-btn.google:hover {
    border-color: #4285F4;
}

.sso-btn.github:hover {
    border-color: #fff;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.divider span {
    background: var(--light-bg);
    padding: 0 1rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.email-input {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.btn-signup-submit {
    padding: 0.875rem 1.5rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-signup-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.terms-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
}

.terms-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .pricing-header h1 {
        font-size: 2rem;
    }
    
    .price-amount {
        font-size: 3rem;
    }
    
    .billing-cards {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-container {
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}