:root {
    --primary: #0071e3;
    --primary-dark: #0058b9;
    --primary-light: #e8f2ff;
    --secondary: #f56300;
    --secondary-dark: #e55a00;
    --text-primary: #1d1d1f;
    --text-secondary: #515154;
    --text-tertiary: #86868b;
    --background: #ffffff;
    --background-alt: #f5f5f7;
    --divider: #d2d2d7;
    --danger: #ff3b30;
    --success: #34c759;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: var(--text-primary);
    background-color: var(--background);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--divider);
}

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

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    z-index: 1001;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

.auth-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 8px 18px;
    border-radius: 980px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.btn-outline {
    border: 1px solid var(--divider);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    background-color: rgba(0, 113, 227, 0.05);
}

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

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

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    border: none;
}

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

.btn-text {
    background: none;
    color: var(--primary);
    border: none;
    padding: 8px 0;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Mobile Menu - MODIFIED */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px; /* Menu starts off-screen to the right */
    width: 280px; /* Fixed width for the menu */
    height: 100vh;
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0; /* Slide in from the right */
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.mobile-menu-close::before,
.mobile-menu-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
}

.mobile-menu-close::before {
    transform: rotate(45deg);
}

.mobile-menu-close::after {
    transform: rotate(-45deg);
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid var(--divider);
    transition: color 0.2s;
    display: block;
}

.mobile-menu a:last-of-type {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--primary);
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding: 15px 0;
}

.mobile-auth-buttons .btn {
    text-align: center;
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 980px;
    transition: all 0.2s;
}

.mobile-auth-buttons .btn-outline {
    border: 1px solid var(--divider);
    color: var(--primary);
    background: transparent;
}

.mobile-auth-buttons .btn-outline:hover {
    border-color: var(--primary);
    background-color: rgba(0, 113, 227, 0.05);
}

.mobile-auth-buttons .btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
}

.mobile-auth-buttons .btn-primary:hover {
    background-color: var(--primary-dark);
}

/* Scroll To Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background-color: var(--background);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 50% 0%, #f2f2f7 0%, rgba(255, 255, 255, 0) 70%);
    top: -20%;
    left: -20%;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-tagline {
    font-size: 16px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
    line-height: 1.47;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.hero-image {
    position: relative;
    height: 400px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--background);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

.section-header p {
    font-size: 19px;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
    line-height: 1.47;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: linear-gradient(145deg, var(--background), var(--background-alt));
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
    border: 1px solid rgba(210, 210, 215, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(0, 113, 227, 0.05), rgba(0, 113, 227, 0));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 16px rgba(0, 113, 227, 0.2);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
}

/* Highlighted features */
.highlighted-features {
    padding: 80px 0;
    background-color: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.highlighted-features::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 50% 100%, #e6e6eb 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -20%;
    left: -20%;
    z-index: 0;
}

.highlighted-features-container {
    position: relative;
    z-index: 1;
}

.highlighted-feature {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    gap: 60px;
}

.highlighted-feature:last-child {
    margin-bottom: 0;
}

.highlighted-feature:nth-child(even) {
    flex-direction: row-reverse;
}

.highlighted-feature-content {
    flex: 1;
}

.highlighted-feature-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.highlighted-feature-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.highlighted-feature-points {
    list-style: none;
    margin-bottom: 30px;
}

.highlighted-feature-points li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.highlighted-feature-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.highlighted-feature-image {
    flex: 1;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.highlighted-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--background);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background-color: var(--background);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    z-index: 1;
}

.popular-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 980px;
}

.pricing-header {
    padding: 30px;
    background-color: var(--background);
    border-bottom: 1px solid var(--divider);
    text-align: center;
}

.pricing-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.pricing-subtitle {
    font-size: 16px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.pricing-price.free {
    color: var(--success);
}

.pricing-period {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.pricing-period.free-period {
    margin-bottom: 20px;
}

.pricing-annual-save {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 500;
}

.pricing-features {
    padding: 30px;
    flex-grow: 1;
}

.pricing-features-list {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 15px;
}

.pricing-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.pricing-features-list li.disabled {
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.pricing-features-list li.disabled::before {
    content: '×';
    color: var(--text-tertiary);
}

.pricing-footer {
    padding: 0 30px 30px;
}

.pricing-cta {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.pricing-toggle-label {
    font-size: 16px;
    color: var(--text-secondary);
    cursor: pointer;
}

.pricing-toggle-label.active {
    color: var(--text-primary);
    font-weight: 600;
}

.pricing-toggle-save {
    font-size: 14px;
    color: var(--secondary);
    font-weight: 500;
}

.pricing-toggle-switch {
    width: 48px;
    height: 28px;
    background-color: var(--primary);
    border-radius: 14px;
    margin: 0 15px;
    position: relative;
    cursor: pointer;
}

.pricing-toggle-switch::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background-color: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.3s;
}

.pricing-toggle-switch.annual::before {
    transform: translateX(20px);
}

/* Audience Section */
.audience {
    padding: 80px 0 40px;
    background-color: var(--background);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.audience-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    background-color: var(--background);
    transition: transform 0.3s, box-shadow 0.3s;
}

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.audience-image {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.audience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.audience-card:hover .audience-image img {
    transform: scale(1.05);
}

.audience-content {
    padding: 40px;
}

.audience-content h3 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.audience-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 16px;
}

.audience-list {
    margin: 24px 0 32px;
    list-style: none;
}

.audience-list li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
}

.audience-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0 80px;
    background-color: var(--background-alt);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, var(--background) 0%, var(--background-alt) 100%);
}

.testimonials-container {
    position: relative;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--background);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-content {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 16px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-info p {
    color: var(--text-tertiary);
    font-size: 14px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--background);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 50% 50%, #f0f0f5 0%, rgba(255, 255, 255, 0) 70%);
    top: -20%;
    left: -20%;
    z-index: 0;
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.cta p {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    line-height: 1.47;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer */
footer {
    background-color: var(--background);
    padding: 80px 0 40px;
    border-top: 1px solid var(--divider);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-about p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 16px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--divider);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 14px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlighted-feature {
        flex-direction: column-reverse !important;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .highlighted-feature-image {
        width: 100%;
        height: 300px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links, .auth-buttons {
        display: none;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .features-grid, .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .feature-card, .audience-content {
        padding: 24px;
    }
    
    .cta h2 {
        font-size: 28px;
    }
    
    .cta p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
}