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

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    transition: background 0.2s;
}

.btn-nav:hover {
    background: var(--primary-hover);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero .tagline {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: white;
    color: var(--primary-color);
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.feature-card {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    text-align: center;
}

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

.feature-card p {
    color: var(--text-secondary);
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
}

.pricing h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

/* Billing cycle toggle */
.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.billing-toggle-buttons {
    display: inline-flex;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    padding: 0.25rem;
    box-shadow: var(--shadow);
}

.billing-toggle-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.billing-toggle-btn:hover {
    color: var(--text-primary);
}

.billing-toggle-btn.active {
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: var(--shadow);
}

.billing-toggle-badge {
    display: inline-block;
    background-color: var(--success-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--bg-white);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

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

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-card .period {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card ul li::before {
    content: '✓';
    color: var(--success-color);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* Content Pages */
.content-page {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.content-page .container {
    max-width: 800px;
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.content-page h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.content-page h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.content-page p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.content-page ul, .content-page ol {
    margin-bottom: 1rem;
    margin-left: 2rem;
    color: var(--text-secondary);
}

.content-page li {
    margin-bottom: 0.5rem;
}

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

.content-page a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.contact h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.footer-text {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .features h2, .pricing h1, .content-page h1, .contact h1 {
        font-size: 2rem;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

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

.bg-light {
    background-color: var(--bg-light);
}

.bg-white {
    background-color: var(--bg-white);
}

.mt-3 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.font-large {
    font-size: 1.1rem;
}

.line-height-relaxed {
    line-height: 1.8;
}

.help-box {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
}

.help-box h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.help-box p {
    margin-bottom: 1rem;
}

/* Hero Trial Badge */
.hero-trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-trial-badge .trial-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.hero-trial-badge strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.hero-trial-badge .trial-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    padding-left: 0.75rem;
    border-left: 2px solid rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .hero-trial-badge {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        text-align: center;
    }
    
    .hero-trial-badge .trial-note {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.4);
        padding-left: 0;
        padding-top: 0.5rem;
    }
}

/* Pricing Trial Badge */
.trial-badge-small {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

/* Pricing subtitle */
.pricing-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    margin-top: -1rem;
}

/* Link styling for CTAs */
.link-primary {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.link-primary:hover {
    text-decoration: underline;
}
