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

:root {
    --primary-purple: #6B46C1;
    --purple-dark: #553C9A;
    --purple-light: #8B5CF6;
    --green: #10B981;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --border-gray: #E5E7EB;
}

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

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

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-gray);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 18px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 15px;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-dark);
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-email {
    text-decoration: none;
    color: var(--primary-purple);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.header-email:hover {
    color: var(--purple-dark);
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(107, 70, 193, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 16px;
    font-weight: 500;
}

.hero-feature svg {
    color: var(--green);
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--primary-purple);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

.btn-hero-primary:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 70, 193, 0.4);
}

.btn-hero-secondary {
    background: white;
    color: var(--primary-purple);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid var(--primary-purple);
    transition: all 0.2s;
}

.btn-hero-secondary:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

.hero-trust {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 24px;
}

/* Pricing Section */
.pricing-section {
    padding: 48px 0 96px;
}

.billing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.billing-toggle {
    display: inline-flex;
    background: var(--bg-gray);
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
}

.toggle-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-btn.active {
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.save-badge {
    background: var(--green);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 32px;
}

.pricing-card {
    border-radius: 12px;
    padding: 32px;
    position: relative;
}

.starter-card {
    background: var(--bg-white);
    border: 1px solid var(--border-gray);
}

.pro-card {
    background: linear-gradient(135deg, #8B5CF6 0%, #6B46C1 100%);
    color: white;
}

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

.card-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.plan-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.pro-card .plan-label {
    color: rgba(255, 255, 255, 0.9);
}

.currency-selector {
    position: relative;
    z-index: 3;
}

.currency-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    position: relative;
}

.currency-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.currency-btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.3);
}

.currency-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.currency-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    overflow: hidden;
    display: none;
    z-index: 10;
}

.currency-dropdown.show {
    display: block;
}

.currency-option {
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: white;
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    text-align: left;
}

.currency-option:hover {
    background: var(--bg-gray);
}

.currency-option.active {
    background: var(--primary-purple);
    color: white;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.currency-prefix {
    font-size: 32px;
    font-weight: 700;
}

.plan-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
}

.plan-price-large {
    font-size: 64px;
    font-weight: 700;
    color: white;
}

.billing-period {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 16px;
}


/* Pricing Slider */
.pricing-slider-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.slider-group {
    margin-bottom: 24px;
}

.slider-group:last-child {
    margin-bottom: 0;
}

.slider-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    opacity: 0.9;
}

.slider-input-group {
    position: relative;
}

.slider-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: 16px;
    outline: none;
}

.slider-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.slider-wrapper {
    position: relative;
    height: 8px;
}

.slider {
    position: absolute;
    width: 100%;
    height: 8px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    -webkit-appearance: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    cursor: pointer;
    border: none;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.slider-fill {
    position: absolute;
    height: 100%;
    background: white;
    border-radius: 4px;
    transition: width 0.1s ease-out;
    width: 0%;
}

.slider-thumb {
    position: absolute;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(255, 255, 255, 0.2);
    transition: left 0.1s ease-out, transform 0.1s ease-out;
    left: 0%;
    z-index: 1;
    cursor: grab;
}

.slider-thumb:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.1);
}

.emails-display {
    font-size: 24px;
    font-weight: 600;
    color: white;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* Card Features */
.card-features {
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
}

.starter-card .feature-item {
    color: var(--text-dark);
}

.pro-card .feature-item {
    color: rgba(255, 255, 255, 0.95);
}

.feature-icon {
    color: var(--primary-purple);
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pro-card .feature-icon {
    color: white;
}

/* Card Buttons */
.card-button {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
}

.starter-button {
    background: var(--primary-purple);
    color: white;
}

.starter-button:hover {
    background: var(--purple-dark);
}

.pro-button {
    background: white;
    color: var(--primary-purple);
}

.pro-button:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Pricing Note */
.pricing-note {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
}

.pricing-note a {
    color: var(--primary-purple);
    text-decoration: none;
}

.pricing-note a:hover {
    text-decoration: underline;
}

/* Compare Features Section */
.compare-features-section {
    padding: 96px 0;
    background: var(--bg-gray);
}

.compare-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 16px;
}

.compare-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 48px;
}

.feature-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
    border-bottom: 2px solid var(--border-gray);
    padding-bottom: 0;
}

.feature-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
    white-space: nowrap;
}

.feature-tab:hover {
    color: var(--text-dark);
}

.feature-tab.active {
    color: var(--primary-purple);
    border-bottom-color: var(--primary-purple);
}

.feature-content {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-panel {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.feature-panel.active {
    display: block;
}

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

.compare-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: var(--bg-gray);
    border-bottom: 2px solid var(--border-gray);
    font-weight: 600;
    font-size: 16px;
}

.table-header .table-col {
    padding: 20px 24px;
    color: var(--text-dark);
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid var(--border-gray);
    transition: background 0.2s;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background: var(--bg-gray);
}

.table-col {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-col.feature-col {
    font-weight: 500;
    color: var(--text-dark);
}

.table-col.plan-col {
    color: var(--text-gray);
    justify-content: center;
}

.check-icon {
    color: var(--green);
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.cross-icon {
    color: var(--text-gray);
    font-weight: bold;
    font-size: 20px;
    opacity: 0.5;
    flex-shrink: 0;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 64px 0 32px;
    margin-top: 96px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Support Chat */
.support-chat {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 1000;
}

.support-chat:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(107, 70, 193, 0.5);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 48px 0 24px;
    }

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

    .footer-social {
        justify-content: flex-start;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 64px 0 48px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-features {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }

    .plan-price-large {
        font-size: 48px;
    }
}
