/* css/style.css */

/* ------------------- */
/* Design System & Resets */
/* ------------------- */
:root {
    --primary-color: #4A6BFF;
    --primary-hover: #3858E5;
    --secondary-color: #1AE5B5;
    --dark-color: #121A3E;
    --light-color: #ffffff;
    --text-color: #555B79;
    --border-color: #E2E6F2;
    --background-light: #F7F9FF;
    --error-color: #FF4A4A;
    --success-color: #1AE5B5;

    --font-primary: 'Inter', sans-serif;
    --spacing-unit: 8px;
    --border-radius: 8px;
    
    --shadow-sm: 0 2px 10px rgba(18, 26, 62, 0.03);
    --shadow-md: 0 4px 20px rgba(18, 26, 62, 0.08);
    --shadow-lg: 0 10px 40px rgba(18, 26, 62, 0.12);
}

/* Dark Mode Variables */
body.dark-mode {
    --dark-color: #F7F9FF;
    --light-color: #0F1419;
    --text-color: #A8B3CF;
    --border-color: #2A2F3A;
    --background-light: #1A1F2E;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 3);
}

h1, h2, h3 {
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-weight: 600;
}

h1 { font-size: 3.25rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500; 
}

section {
    padding: calc(var(--spacing-unit) * 10) 0;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    text-align: center;
    margin-top: calc(var(--spacing-unit) * -2);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

/* ------------------- */
/* Utility Classes */
/* ------------------- */
.btn {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 4);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-large {
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 5);
    font-size: 1.125rem;
}

.btn-small {
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 107, 255, 0.3);
}

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

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn.loading .btn-text {
    opacity: 0;
}

.btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ------------------- */
/* Header & Navigation */
/* ------------------- */
.site-header {
    background: var(--light-color);
    border-bottom: 1px solid transparent;
    padding: calc(var(--spacing-unit) * 2) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-color);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-color);
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 3);
}

.main-nav ul {
    display: flex;
    gap: calc(var(--spacing-unit) * 4);
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: var(--spacing-unit) 0;
}

.main-nav a span {
    color: var(--primary-color);
    font-weight: 600;
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
}

.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: calc(var(--spacing-unit) * 1);
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    background: var(--background-light);
}

.dark-mode-toggle .icon-moon {
    display: none;
}

body.dark-mode .dark-mode-toggle .icon-sun {
    display: none;
}

body.dark-mode .dark-mode-toggle .icon-moon {
    display: block;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 24px;
    height: 24px;
    position: relative;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--dark-color);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    position: absolute;
}

.mobile-nav-toggle span:nth-child(1) { top: 3px; }
.mobile-nav-toggle span:nth-child(2) { top: 11px; }
.mobile-nav-toggle span:nth-child(3) { top: 19px; }

.mobile-nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ------------------- */
/* Hero Section */
/* ------------------- */
.hero-section {
    text-align: center;
    padding: calc(var(--spacing-unit) * 15) 0 calc(var(--spacing-unit) * 12) 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    opacity: 0.1;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-size: 3.5rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.hero-section .subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto calc(var(--spacing-unit) * 6) auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 2);
    flex-wrap: wrap;
}

/* ------------------- */
/* Stats Section */
/* ------------------- */
.stats-section {
    background: var(--background-light);
    padding: calc(var(--spacing-unit) * 8) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--spacing-unit) * 4);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* ------------------- */
/* How It Works Section */
/* ------------------- */
.how-it-works-section {
    text-align: center;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 4);
    margin-top: calc(var(--spacing-unit) * 6);
}

.step {
    padding: calc(var(--spacing-unit) * 3);
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto calc(var(--spacing-unit) * 3) auto;
}

/* ------------------- */
/* Value Props Section */
/* ------------------- */
.value-props-section {
    background-color: var(--background-light);
    text-align: center;
}

.audience-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: calc(var(--spacing-unit) * 5);
    border-bottom: 1px solid var(--border-color);
}

.tab-link {
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-link.active, .tab-link:hover {
    color: var(--primary-color);
}
.tab-link.active {
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

.tab-content ul {
    margin-top: calc(var(--spacing-unit) * 3);
}

.tab-content li {
    padding-left: calc(var(--spacing-unit) * 4);
    position: relative;
    margin-bottom: var(--spacing-unit);
}

.tab-content li::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 2px;
    font-weight: 700;
    font-size: 1.25rem;
}

/* ------------------- */
/* Pricing Section */
/* ------------------- */
.pricing-section {
    text-align: center;
    background: var(--light-color);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.toggle-label {
    font-weight: 500;
    color: var(--text-color);
}

.save-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: calc(var(--spacing-unit) * 0.5) calc(var(--spacing-unit) * 1);
    border-radius: calc(var(--border-radius) / 2);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: var(--spacing-unit);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.3s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 4);
    margin-top: calc(var(--spacing-unit) * 6);
}

.pricing-card {
    background: var(--light-color);
    border: 2px solid var(--border-color);
    border-radius: calc(var(--border-radius) * 2);
    padding: calc(var(--spacing-unit) * 5);
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 calc(var(--spacing-unit) * 0.5);
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-color);
}

.plan-description {
    color: var(--text-color);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.plan-features li {
    padding: calc(var(--spacing-unit) * 1.5) 0;
    border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

/* ------------------- */
/* Featured SaaS Section */
/* ------------------- */
.featured-saas-section {
    text-align: center;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    justify-content: center;
    align-items: center;
    gap: calc(var(--spacing-unit) * 4);
    margin-top: calc(var(--spacing-unit) * 6);
}

.logo-placeholder {
    padding: calc(var(--spacing-unit) * 3);
    border: 1px solid var(--border-color);
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.logo-placeholder:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ------------------- */
/* Testimonials Section */
/* ------------------- */
.testimonials-section {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
}

.testimonials-section h2 {
    color: var(--light-color);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: calc(var(--spacing-unit) * 6) auto 0;
}

.testimonials-track {
    position: relative;
    overflow: hidden;
}

.testimonial {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial.active {
    display: block;
}

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

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.testimonial blockquote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.testimonial cite {
    font-weight: 500;
    color: var(--secondary-color);
    font-style: normal;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

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

.carousel-btn.prev {
    left: -60px;
}

.carousel-btn.next {
    right: -60px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 1);
    margin-top: calc(var(--spacing-unit) * 4);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}

/* ------------------- */
/* FAQ Section */
/* ------------------- */
.faq-section {
    background: var(--background-light);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 6);
}

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

.faq-item {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: calc(var(--spacing-unit) * 2);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: calc(var(--spacing-unit) * 3);
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

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

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: 0 calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 3);
}

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

/* ------------------- */
/* Newsletter Section */
/* ------------------- */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    color: white;
    text-align: center;
}

.newsletter-section h2 {
    color: white;
}

.newsletter-form {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    max-width: 500px;
    margin: calc(var(--spacing-unit) * 4) auto;
}

.newsletter-form input {
    flex: 1;
    padding: calc(var(--spacing-unit) * 2);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-privacy {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ------------------- */
/* Final CTA Section */
/* ------------------- */
.final-cta-section {
    text-align: center;
}

.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 4);
    margin-top: calc(var(--spacing-unit) * 6);
}

.cta-box {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: calc(var(--spacing-unit) * 5);
    transition: all 0.3s ease;
}

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

.cta-box p {
    margin: calc(var(--spacing-unit) * 2) 0 calc(var(--spacing-unit) * 4) 0;
}

/* ------------------- */
/* Animation Utilities */
/* ------------------- */
.animated-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------- */
/* Modal & Form Styles */
/* ------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 26, 62, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: var(--light-color);
    padding: calc(var(--spacing-unit) * 5);
    border-radius: calc(var(--border-radius) * 2);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

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

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

.contact-form {
    margin-top: calc(var(--spacing-unit) * 3);
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: var(--spacing-unit);
}

.form-group input {
    padding: calc(var(--spacing-unit) * 1.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.1);
}

.form-group input.error {
    border-color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: calc(var(--spacing-unit) * 0.5);
    display: none;
}

.form-group input.error + .error-message {
    display: block;
}

.contact-form button {
    margin-top: var(--spacing-unit);
    width: 100%;
}

/* ------------------- */
/* Cookie Consent */
/* ------------------- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-color);
    color: var(--light-color);
    padding: calc(var(--spacing-unit) * 3);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.2);
    z-index: 1500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing-unit) * 3);
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--secondary-color);
}

.cookie-buttons {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
}

/* ------------------- */
/* Toast Notifications */
/* ------------------- */
.toast-container {
    position: fixed;
    top: calc(var(--spacing-unit) * 3);
    right: calc(var(--spacing-unit) * 3);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
}

.toast {
    background: white;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--error-color);
}

.toast-icon {
    font-size: 1.5rem;
}

.toast.success .toast-icon {
    color: var(--success-color);
}

.toast.error .toast-icon {
    color: var(--error-color);
}

.toast-message {
    flex: 1;
    color: var(--dark-color);
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0;
}

/* ------------------- */
/* Footer */
/* ------------------- */
.site-footer {
    background-color: var(--background-light);
    border-top: 1px solid var(--border-color);
    padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 4) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: calc(var(--spacing-unit) * 6);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.footer-brand p {
    color: var(--text-color);
    margin-top: calc(var(--spacing-unit) * 2);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--dark-color);
}

.footer-column a {
    display: block;
    color: var(--text-color);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: calc(var(--spacing-unit) * 4);
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-color);
    margin: 0;
}

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

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background: var(--light-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: calc(var(--spacing-unit) * 4);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .main-nav.active { transform: translateX(0); }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: calc(var(--spacing-unit) * 3);
    }

    .mobile-nav-toggle { display: block; }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(var(--spacing-unit) * 3);
    }
    
    .steps-container, .cta-split, .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 4);
    }
    
    .audience-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .tab-link { 
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }
    
    .tab-link.active {
        border-bottom-color: var(--primary-color);
        border-width: 3px;
    }
    
    .carousel-btn.prev { left: 0; }
    .carousel-btn.next { right: 0; }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .toast-container {
        left: calc(var(--spacing-unit) * 2);
        right: calc(var(--spacing-unit) * 2);
    }
    
    .toast {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    
    .hero-section h1 { font-size: 2.25rem; }
    
    .stat-number { font-size: 2rem; }
    
    .plan-price .amount { font-size: 2.5rem; }
}
