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

:root {
    --primary-color: #595959;
    --secondary-color: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e5e5e5;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, #595959 0%, #404040 100%);
    --gradient-accent: linear-gradient(135deg, #595959 0%, #757575 100%);
    --border-radius: 12px;
    --border-radius-small: 8px;
    --border-radius-large: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-small);
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

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

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 24px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e5e5" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(89, 89, 89, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(89, 89, 89, 0.2);
}

.hero-title {
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.browser-mockup {
    width: 100%;
    max-width: 600px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.browser-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f5f5f5;
    border-bottom: 1px solid var(--border-color);
}

.browser-controls {
    display: flex;
    gap: 8px;
    margin-right: 16px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.address-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.browser-content {
    padding: 24px;
    background: #fafafa;
    min-height: 300px;
    position: relative;
}

.tars-widget {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 300px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #28ca42;
    border-radius: 50%;
    margin-left: auto;
    animation: pulse 2s infinite;
}

.chat-messages {
    padding: 16px;
}

.message {
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 14px;
}

.message.user {
    background: #f0f0f0;
    margin-left: 20px;
}

.message.ai {
    background: var(--primary-color);
    color: white;
    margin-right: 20px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-indicator span {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

.form-highlight {
    position: absolute;
    top: 50px;
    left: 24px;
    width: 200px;
    height: 120px;
    border: 2px dashed var(--primary-color);
    border-radius: var(--border-radius-small);
    animation: highlight 3s infinite;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 40px 40px 20px 40px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-title {
    color: var(--text-primary);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.feature-demo {
    background: #f8f9fa;
    border-radius: var(--border-radius-small);
    padding: 24px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    margin-bottom: 0;
    flex-shrink: 0;
    transform: none !important;
}

.demo-screen {
    width: 100px;
    height: 60px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    position: relative;
}

.scanning-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(89, 89, 89, 0.3), transparent);
    animation: scan 2s infinite;
}

.demo-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 14px;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.action-item:nth-child(1) { animation-delay: 0.5s; }
.action-item:nth-child(2) { animation-delay: 1s; }

.chat-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.chat-bubble {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    max-width: 80%;
}

.chat-bubble.user {
    background: #f0f0f0;
    align-self: flex-end;
}

.chat-bubble.ai {
    background: var(--primary-color);
    color: white;
    align-self: flex-start;
}

.security-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--primary-color);
}

.badge i {
    font-size: 20px;
}

.badge span {
    font-size: 12px;
    font-weight: 500;
}

.speed-meter {
    position: relative;
    width: 80px;
    height: 60px;
    margin: 0 auto;
}

.meter-arc {
    width: 80px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-bottom: none;
    border-radius: 80px 80px 0 0;
}

.meter-needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    transform-origin: bottom;
    transform: translateX(-50%) rotate(45deg);
    animation: speedometer 3s infinite;
}

.speed-text {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.config-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.config-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.toggle {
    width: 40px;
    height: 20px;
    background: var(--border-color);
    border-radius: 10px;
    position: relative;
    transition: var(--transition);
}

.toggle.active {
    background: var(--primary-color);
}

.toggle:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
}

.toggle.active:before {
    transform: translateX(20px);
}

.text-success {
    color: #28ca42;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: #f8f9fa;
}

.steps {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    text-align: center;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 30px;
    right: -30px;
    width: 60px;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
}

.step-title {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.step-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.chrome-icon {
    font-size: 48px;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

.api-key-input {
    position: relative;
    display: flex;
    align-items: center;
}

.api-key-input input {
    padding: 8px 40px 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-family: monospace;
    background: white;
}

.api-key-input i {
    position: absolute;
    right: 12px;
    color: var(--primary-color);
}

.tars-intro-icon {
    font-size: 48px;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

.automation-demo {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-pointer {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.action-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: white;
}

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

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-large);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

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

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: #ffd700;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

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

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.author-title {
    color: var(--text-secondary);
    font-size: 14px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    color: var(--text-primary);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 200px;
}

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

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 40px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

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

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

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

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

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

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

.period {
    color: var(--text-secondary);
    font-size: 16px;
}

.pricing-features {
    margin-bottom: 32px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.feature:last-child {
    border-bottom: none;
}

.feature i {
    color: var(--primary-color);
    width: 16px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-title {
    color: white;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

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

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

.cta .btn-primary:hover {
    background: #f0f0f0;
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

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

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-title {
    font-size: 18px;
    margin-bottom: 16px;
    color: white;
}

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

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

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #333333;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #cccccc;
}

.footer-badges {
    display: flex;
    gap: 16px;
}

.footer-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #333333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

@keyframes highlight {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

@keyframes speedometer {
    0% { transform: translateX(-50%) rotate(-45deg); }
    50% { transform: translateX(-50%) rotate(45deg); }
    100% { transform: translateX(-50%) rotate(-45deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive Design */
/* Navigation Actions */
.nav-actions-mobile {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
    width: 100%;
}

.nav-actions-mobile .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.nav-actions-desktop {
    display: flex;
    gap: 16px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 60px 40px 40px;
        transition: left 0.3s ease;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
        left: 0;
    }
    
    .nav-menu.active .nav-actions-mobile {
        display: flex;
    }
    
    .nav-menu .nav-link {
        padding: 12px 0;
        font-size: 18px;
        font-weight: 500;
        color: var(--text-primary);
        margin-bottom: 8px;
    }
    
    .nav-actions-desktop {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .how-it-works {
        padding: 80px 0;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .step {
        max-width: 100%;
        width: 100%;
        max-width: 400px;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .pricing-card {
        padding: 24px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
