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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%; /* Prevent iOS text size adjustment */
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary); /* Use Poppins for headings */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.025em; /* Improved readability */
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800; /* Extra bold for main heading */
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--primary-dark) 50%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem); /* More balanced, professional sizing */
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem); /* More proportional to h2 */
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

h5 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    font-family: var(--font-main); /* Use Inter for body text */
    margin-bottom: 1rem;
    line-height: 1.6; /* Balanced readability */
    color: var(--text-muted);
    font-size: clamp(0.9rem, 1.8vw, 1rem); /* Responsive font size */
}

/* Improve body text readability */
body {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px; /* Consistent base size */
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    scroll-margin-top: 80px; /* For smooth scrolling with fixed header */
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-max);
    padding: 0 var(--space-lg);
    margin: 0 auto;
}

.container-small {
    max-width: var(--container-small);
}

.form-field {
    margin-bottom: 15px;
}
.form-field label {
    display: block;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 5px;
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--border);
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    transition: border-color 0.3s ease;
    color: var(--text);
    background-color: var(--card);
}
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    outline: none;
}
.form-field textarea {
    height: 100px;
    resize: vertical;
}
.form-field input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}
.form-field .checkbox-label {
    display: inline;
    color: var(--text);
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.3);
}

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

.btn-secondary:hover {
    background-color: #6007a1;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(var(--secondary-rgb), 0.3);
}

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

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

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

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

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

/* Dropdown */
.dropdown-container {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    width: 240px;
    background: var(--card);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    overflow: hidden;
    z-index: 1000;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-items {
    padding: 8px 0;
}

.dropdown-toggle span {
    font-weight: 500;
    color: var(--text);
    flex-grow: 1;
}

.dropdown-toggle i {
    margin-left: 5px;
    color: #777;
}

.dropdown-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--card);
    color: var(--text);
}

.dropdown-item:hover i {
    color: var(--text);
}

.dropdown-item i {
    width: 20px;
    color: var(--text-muted);
    margin-right: 12px;
}

/* Header & Navigation */
.header {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(var(--bg-rgb), 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.header.scrolled {
    box-shadow: var(--shadow);
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
}

.logo img {
    height: 24px;
    flex-shrink: 0;
}

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

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-grow: 1;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

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

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

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

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text);
    background-color: rgba(var(--text-rgb), 0.05);
    transition: var(--transition);
    flex-shrink: 0;
}

.theme-toggle:hover {
    background-color: rgba(var(--text-rgb), 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text);
    flex-shrink: 0;
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background-color: rgba(var(--text-rgb), 0.1);
}

.nav-links.active {
    display: flex;
}

/* Authentication Section Styles */
#auth-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-loading {
    color: var(--text-muted);
}

.auth-guest {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-btn {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.login-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.signup-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
}

/* User Dropdown Styles */
.user-dropdown-container {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    background-color: rgba(var(--text-rgb), 0.05);
}

.dropdown-toggle:hover {
    background-color: rgba(var(--text-rgb), 0.1);
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-user-info {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.user-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.user-email {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.dropdown-items {
    padding: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--text-muted);
}

.dropdown-item:hover i {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    /* background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--secondary-rgb), 0.05) 50%, transparent 70%); */
    z-index: -1;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-title {
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text);
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    /* font-weight: 700; */
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text);
    opacity: 0.75;
}

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

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
}

.hero-image::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.2;
}

.hero-image::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.2;
}

/* Common Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

.hero-section {
    padding-top: 10rem !important;
}

.section-alt {
    background-color: rgba(var(--primary-rgb), 0.03);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem); /* More balanced sizing */
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: var(--text);
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.125rem); /* Larger, more readable */
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
    font-weight: 400;
}

.section-subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1rem); /* Proportional to other text */
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px; /* Slightly reduced */
    font-weight: 600;
    margin-bottom: 0.75rem; /* Reduced spacing */
    display: block;
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--text);
    opacity: 0.8;
}

/* Performance Section */
.performance-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.performance-image {
    position: relative;
}

.performance-image img {
    width: 100%;
    max-width: 550px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.performance-card {
    position: absolute;
    background-color: var(--card);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
}

.performance-card-1 {
    top: -30px;
    right: 20px;
}

.performance-card-2 {
    bottom: -20px;
    left: 30px;
}

.performance-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 10px;
    font-size: 1.5rem;
    color: var(--primary);
}

.performance-stat {
    display: flex;
    flex-direction: column;
}

.performance-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.performance-stat-label {
    font-size: 0.875rem;
    color: var(--text);
    opacity: 0.8;
}

.performance-content {
    max-width: 500px;
}

.performance-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.performance-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.performance-item i {
    /* color: var(--accent); */
    color: #10b981;
    font-size: 1.125rem;
}

/* Page Builder Section */
.page-builder {
    position: relative;
    overflow: hidden;
}

.page-builder::before {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 80%;
    height: 150%;
    /* background: radial-gradient(circle, rgba(var(--accent-rgb), 0.05) 0%, rgba(var(--secondary-rgb), 0.03) 50%, transparent 70%); */
    z-index: -1;
    border-radius: 50%;
}

.page-builder-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.component-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.component-card {
    background-color: var(--card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.component-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.component-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.component-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.component-count {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

/* Security Section */
.security-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-image {
    display: flex;
    justify-content: center;
}

.security-image img {
    max-width: 500px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.security-content {
    max-width: 500px;
}

.security-items {
    margin-top: 2rem;
}

.security-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.security-item-icon {
    font-size: 1.25rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

.security-item-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.security-item-content p {
    color: var(--text);
    opacity: 0.8;
}

/* Compare Section */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.compare-table th,
.compare-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.compare-table th {
    background-color: rgba(var(--primary-rgb), 0.05);
    font-weight: 600;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table td:first-child {
    font-weight: 500;
}

.compare-logo {
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compare-check {
    color: #10b981;
    font-size: 1.25rem;
}

.compare-times {
    color: #ef4444;
    font-size: 1.25rem;
}

.compare-partial {
    color: #f59e0b;
    font-size: 1.25rem;
}

/* CTA Section Styles */
.cta {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    /* background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); */
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.cta::before,
.cta::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.cta::before {
    top: -150px;
    left: -100px;
}

.cta::after {
    bottom: -150px;
    right: -100px;
}

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

.cta-title {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Waitlist Form in CTA */
.cta .waitlist-form {
    margin: 2rem auto;
    max-width: 400px;
}

.cta .form-group {
    margin-bottom: 1rem;
}

.cta .form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.cta .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.cta .form-group input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.cta .waitlist-response {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    display: none;
}

.cta .waitlist-response.show {
    display: block;
}

.cta .waitlist-response.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.cta .waitlist-response.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    padding: 3rem 0 2rem; /* Reduced padding for more compact footer */
    background-color: var(--card);
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem; /* Reduced margin */
}

.footer-center {
    text-align: center;
    max-width: 600px; /* Constrain width for better readability */
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem; /* Reduced margin */
    display: flex;
    align-items: center;
    justify-content: center; /* Center the logo */
}

.footer-logo img {
    height: 20px;
    margin-right: 10px;
}

.footer-desc {
    margin-bottom: 1rem;
    opacity: 0.8;
    line-height: 1.6;
    font-size: 1rem;
}

.footer-parent-company {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--text);
}

.footer-parent-company strong {
    color: var(--primary);
    font-weight: 700;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center; /* Center social links */
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 1.5rem; /* Reduced padding */
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    opacity: 0.7;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-link {
    color: var(--text);
    opacity: 0.7;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-bottom-link:hover {
    color: var(--primary);
    opacity: 1;
}

/* Responsive footer styles */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1.5rem; /* Even more compact on mobile */
    }
    
    .footer-center {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* Utility Classes */
.mt-4 {
    margin-top: 1rem;
}

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

.mb-0 {
    margin-bottom: 0;
}

.gradient-text {
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--secondary) 50%,
        var(--accent) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* AI Builder Section Styles */
.ai-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.ai-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ai-feature-item i {
    color: var(--accent);
    font-size: 1.125rem;
}

.ai-prompt-example {
    background-color: rgba(var(--primary-rgb), 0.05);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    padding: 1.25rem;
    margin: 2rem 0;
}

.ai-prompt-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.ai-prompt-content {
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
}

/* Pricing Section Styles */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0;
}

.pricing-toggle-label {
    font-weight: 500;
    position: relative;
}

.pricing-save-badge {
    position: absolute;
    top: -20px;
    right: -30px;
    background-color: var(--accent);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

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

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

.pricing-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(var(--primary-rgb), 0.2);
    transition: var(--transition);
    border-radius: 30px;
}

.pricing-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

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

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0 4rem;
}

.pricing-card {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    text-align: center;
}

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

.pricing-card-highlight {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

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

.pricing-popular {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.pricing-price-wrapper {
    margin-bottom: 1.5rem;
}

.pricing-price {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-price.active {
    display: inline-flex;
}

.pricing-yearly {
    display: none;
}

body.yearly-pricing .pricing-monthly {
    display: none;
}

body.yearly-pricing .pricing-yearly {
    display: flex;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.pricing-amount {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
}

.pricing-period {
    font-size: 1rem;
    color: var(--text);
    opacity: 0.7;
    align-self: flex-end;
    margin-bottom: 0.75rem;
}

.pricing-resources {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: rgba(var(--primary-rgb), 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.resource-item:last-child {
    margin-bottom: 0;
}

.resource-item i {
    color: var(--primary);
    font-size: 1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.resource-item span {
    color: var(--text);
}

.pricing-features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.pricing-features li i {
    color: var(--accent);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pricing-ai-access {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1rem;
    border-top: 1px solid var(--border);
    font-weight: 500;
    font-size: 0.95rem;
}

.pricing-ai-access i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.pricing-btn {
    width: 100%;
    margin-top: 1rem;
}

/* AI Subscription Section */
.pricing-ai-subscription {
    margin-top: 5rem;
    background-color: var(--card);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.pricing-ai-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.pricing-ai-header h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pricing-ai-header h3 i {
    color: var(--secondary);
}

.pricing-ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-ai-card {
    background-color: rgba(var(--bg-rgb), 0.5);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
}

.pricing-ai-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-ai-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.pricing-ai-price {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pricing-ai-features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    text-align: left;
}

.pricing-ai-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.pricing-ai-features li i {
    color: var(--secondary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.pricing-ai-btn {
    width: 100%;
}

.pricing-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
}

.pricing-note i {
    color: var(--primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.nowrap {
    white-space: nowrap;
    display: inline-block;
}

/* Add these styles to your main.css file */

/* Pricing toggle improvements */
.pricing-monthly,
.pricing-yearly {
    display: none;
    transition: opacity 0.3s ease;
}

.monthly-active .pricing-monthly {
    display: flex;
}

.yearly-active .pricing-yearly {
    display: flex;
}

.yearly-pricing .pricing-monthly {
    display: none;
}

.yearly-pricing .pricing-yearly {
    display: flex;
}

/* Accessibility helper class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Lead Capture Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

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

.modal-container {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 95%;
    max-width: 500px;
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: rgba(var(--text-rgb), 0.1);
}

.modal-body {
    padding: 1.5rem;
}

/* Form Styles */
.lead-form {
    margin: 1.5rem 0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--bg);
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.3);
}

.form-submit {
    text-align: center;
    margin-top: 1.5rem;
}

.lead-response {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    text-align: center;
}

.lead-response.hidden {
    display: none;
}

.lead-success {
    color: #10b981;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.lead-error {
    color: #ef4444;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.lead-error.hidden,
.lead-success.hidden {
    display: none;
}

.lead-success i,
.lead-error i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Waitlist Section Styles */
.waitlist {
    padding: 6rem 0;
    background: var(--bg-secondary);
    text-align: center;
}

.waitlist-content {
    max-width: 600px;
    margin: 0 auto;
}

.waitlist-form {
    margin-top: 2rem;
}

.waitlist-form .form-group {
    margin-bottom: 1rem;
}

.waitlist-form input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.waitlist-response {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
}

.waitlist-response.success {
    background: var(--success-bg);
    color: var(--success-color);
}

.waitlist-response.error {
    background: var(--error-bg);
    color: var(--error-color);
}

/* Price Comparison Table Styles */
.price-comparison-table th {
    text-align: center;
}

.price-comparison-table td {
    text-align: center;
    padding: 0.8rem;
}

.total-cost-row td {
    font-size: 1.1rem;
    color: var(--theme-primary);
    border-top: 2px solid var(--theme-border);
}

.price-comparison-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--theme-bg-alt);
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.price-comparison-note p {
    margin-bottom: 0.5rem;
}

.price-comparison-note i {
    margin-right: 0.5rem;
    color: var(--theme-secondary);
}

/* Pricing Value Proposition */
.pricing-value-prop {
    display: flex;
    align-items: center;
    background-color: var(--theme-bg-alt);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.value-prop-icon {
    font-size: 2.5rem;
    color: var(--theme-secondary);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.value-prop-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.value-prop-content p {
    margin-bottom: 0;
}

/* Pricing Guarantee */
.pricing-guarantee {
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    background-color: rgba(var(--theme-primary-rgb), 0.05);
    border-radius: 0.5rem;
}

.pricing-guarantee i {
    font-size: 2rem;
    color: var(--theme-primary);
    margin-bottom: 0.5rem;
}

.pricing-guarantee h4 {
    margin: 0.5rem 0;
}

.pricing-guarantee p {
    margin-bottom: 0;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Base styles for responsive compare components */
.mobile-compare-view {
    display: none; /* Hidden by default, shown on mobile via responsive.css */
}

.desktop-compare-view {
    display: block; /* Visible by default, hidden on mobile via responsive.css */
}

/* Mobile compare component base styles */
.compare-features-list {
    margin-top: 2rem;
}

.compare-feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.feature-comparison {
    display: flex;
    flex-direction: column;
}

.compare-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.platform-logo {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text);
}

.support-status {
    display: flex;
    align-items: center;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.support-status.supported {
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
}

.support-status.not-supported {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.1);
}

/* Price comparison cards */
.price-compare-grid {
    margin-top: 2rem;
}

.price-compare-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.price-compare-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.platform-header {
    background: var(--bg-secondary);
    text-align: center;
    position: relative;
}

.price-compare-card.featured .platform-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.platform-logo-large {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platform-badge {
    position: absolute;
    background: var(--accent);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item.total {
    font-weight: 600;
    border-top: 2px solid var(--border);
}

.price-label {
    color: var(--text-muted);
}

.price-value {
    font-weight: 500;
    color: var(--text);
}

.price-value.free {
    color: #059669;
    font-weight: 600;
}

.price-item.total .price-label,
.price-item.total .price-value {
    color: var(--primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-value-prop {
        flex-direction: column;
        text-align: center;
    }

    .value-prop-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .pricing-guarantee p {
        max-width: 100%;
    }

    /* Mobile menu button should be visible on mobile */
    .mobile-menu-btn {
        display: block;
    }

    /* Remove conflicting nav-links styles - let responsive.css handle this */
    
    .nav-link {
        /* Base nav-link styles will be handled by responsive.css */
    }

    /* Authentication Section Mobile */
    #auth-section {
        gap: 0.5rem;
    }

    .auth-guest {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .login-btn,
    .signup-btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .dropdown-menu {
        right: -1rem;
        min-width: 180px;
    }
}

/* Contact Us */
.contact-us-container {
    display: flex;
    gap: 20px;
    padding-top: 8rem !important;
    padding-bottom: 4rem !important;
    justify-content: center;
}

.contact-us-form-centered {
    max-width: 600px;
    margin: 0 auto;
}

.contact-us-info {
    flex: 1;
    padding: 40px;
    display: none; /* Hidden by default */
}

.contact-us-info h2 {
    color: var(--text);
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-us-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.contact-us-info-item i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 18px;
}

.contact-us-form-card {
    flex: 1;
    padding: 40px;
    background: var(--card);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-us-form-card h2 {
    color: var(--text);
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-us-form-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 14px;
}

.captcha-field {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.captcha-field label {
    font-weight: 600;
    color: var(--primary);
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 10px;
}

.dropdown-user-info {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.dropdown-user-info .user-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.dropdown-user-info .user-email {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Authentication Section Styles */
#auth-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-loading {
    color: var(--text-muted);
}

.auth-guest {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-btn {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.login-btn:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.signup-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
}

/* User Dropdown Styles */
.user-dropdown-container {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    background-color: rgba(var(--text-rgb), 0.05);
}

.dropdown-toggle:hover {
    background-color: rgba(var(--text-rgb), 0.1);
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-user-info {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.user-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.user-email {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.dropdown-items {
    padding: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--text-muted);
}

.dropdown-item:hover i {
    color: var(--primary);
}

/* Update pricing display styles for intro/regular */
.pricing-intro,
.pricing-regular {
    display: none;
    transition: opacity 0.3s ease;
}

.pricing-intro.active,
.pricing-regular.active {
    display: flex;
}

/* Mobile-specific enhancements */
/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Prevent iOS text size adjustment */
}

/* Improve touch interactions on mobile */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .btn:hover,
    .feature-card:hover,
    .component-card:hover,
    .pricing-card:hover {
        transform: none;
        box-shadow: initial;
    }
    
    /* Enhanced touch targets */
    .btn,
    .nav-link,
    .dropdown-item,
    .social-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Improve form input touch targets */
    .form-field input,
    .form-field textarea,
    .waitlist-form input {
        min-height: 44px;
        padding: 12px 16px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Improve text readability on mobile */
@media (max-width: 768px) {
    /* Better font scaling */
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Improve contrast for better readability */
    .section-subtitle {
        font-weight: 600;
        opacity: 0.9;
    }
    
    /* Better spacing for cards */
    .feature-card,
    .component-card,
    .pricing-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .component-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Improve table readability */
    .compare-table {
        border-collapse: separate;
        border-spacing: 0;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .compare-table th,
    .compare-table td {
        text-align: center;
        vertical-align: middle;
    }
}

/* Focus styles for better accessibility */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus,
.nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip to main content for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Performance optimizations */
.hero-image img,
.performance-image img,
.security-image img {
    will-change: transform;
    backface-visibility: hidden;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .float-animation {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .feature-card,
    .component-card,
    .pricing-card {
        border: 1px solid var(--text);
    }
}

/* Dark mode improvements for mobile */
@media (max-width: 768px) {
    [data-theme="dark"] .nav-links {
        background-color: var(--bg);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    [data-theme="dark"] .feature-card,
    [data-theme="dark"] .component-card,
    [data-theme="dark"] .pricing-card {
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Sticky CTA Button */
.sticky-cta-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.sticky-cta-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.sticky-cta-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.sticky-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(var(--primary-rgb), 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    text-decoration: none;
}

.sticky-cta-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.sticky-cta-link:hover i {
    transform: translateX(2px);
}

/* Mobile responsive for sticky button */
@media (max-width: 768px) {
    .sticky-cta-button {
        bottom: 20px;
        right: 20px;
    }
    
    .sticky-cta-link {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* Hide sticky button on very small screens to avoid interference */
@media (max-width: 480px) {
    .sticky-cta-button {
        bottom: 15px;
        right: 15px;
    }
    
    .sticky-cta-link {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* AI Builder Illustration Styles */
.ai-builder-illustration {
    margin: 2rem 0;
    text-align: center;
}

.ai-builder-illustration img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-builder-illustration img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .ai-builder-illustration {
        margin: 1.5rem 0;
    }
}

/* Improve SVG rendering for all sections */
.hero-image img,
.performance-image img,
.security-image img,
.ai-builder-illustration img {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Compact Features Layout */
.feature-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card-compact {
    padding: 1.5rem;
    text-align: center;
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-card-compact .feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card-compact .feature-icon i {
    font-size: 1.25rem;
    color: white;
}

.feature-card-compact:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

.feature-card-compact .feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-card-compact .feature-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

/* Mobile optimizations for compact features */
@media (max-width: 768px) {
    .feature-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .feature-card-compact {
        padding: 1.25rem 1rem;
    }
    
    .feature-card-compact .feature-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.75rem;
    }
    
    .feature-card-compact .feature-icon i {
        font-size: 1.1rem;
    }
    
    .feature-card-compact .feature-title {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .feature-card-compact .feature-desc {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .feature-grid-compact {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .feature-card-compact {
        padding: 1rem;
    }
}

/* Compact sections */
.section-compact {
    padding: 3rem 0; /* Reduced padding for compact sections */
}

/* AI Builder Compact Layout */
.ai-builder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.ai-builder-content {
    padding-right: 1rem;
}

.ai-builder-content h2 {
    margin-bottom: 0.75rem;
}

.ai-builder-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.ai-features-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-feature-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text);
}

.ai-feature-compact i {
    color: var(--primary);
    font-size: 0.8rem;
}

.ai-prompt-compact {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.prompt-label {
    font-weight: 600;
    color: var(--primary);
}

.prompt-text {
    color: var(--text-muted);
    font-style: italic;
}

.btn-compact {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.ai-builder-visual {
    padding-left: 1rem;
}

.ai-builder-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ai-builder-visual img:hover {
    transform: translateY(-3px);
}

/* Mobile responsiveness for AI Builder */
@media (max-width: 768px) {
    .ai-builder-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .ai-builder-content {
        padding-right: 0;
        order: 2;
    }
    
    .ai-builder-visual {
        padding-left: 0;
        order: 1;
    }
    
    .ai-features-compact {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .ai-feature-compact {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .ai-prompt-compact {
        text-align: left;
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    .section-compact {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .ai-features-compact {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .ai-feature-compact {
        width: fit-content;
    }
}

/* Compact features section spacing */
.features.section {
    padding: 3rem 0; /* Reduced from default 6rem */
}

@media (max-width: 768px) {
    .features.section {
        padding: 2.5rem 0;
    }
    
    .features .section-header {
        margin-bottom: 1.5rem;
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* Signup CTA Section Styles */
.signup-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.signup-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.benefit-item i {
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.benefit-item span {
    font-size: 1rem;
    font-weight: 500;
}

.cta-action {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.trust-item i {
    color: var(--accent);
    font-size: 1rem;
}

/* Responsive adjustments for signup CTA */
@media (max-width: 968px) {
    .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .cta-benefits {
        align-items: center;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .signup-cta {
        padding: 4rem 0;
    }
    
    .cta-content {
        gap: 2rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .trust-indicators {
        gap: 0.75rem;
    }
}

/* ================================================
   Modern Compare Section Styles
   ================================================ */

/* Modern Features Comparison */
.modern-compare-grid {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Desktop Elegant Table */
.desktop-compare-table {
    display: block;
    margin: 2rem 0;
}

.elegant-table-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.modern-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
}

.modern-compare-table thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.modern-compare-table th {
    padding: 1.5rem 1rem;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    color: #374151;
}

.feature-column {
    text-align: left !important;
    width: 30%;
    font-size: 1rem;
}

.platform-column {
    width: 17.5%;
}

.dustid-column {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.platform-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.platform-header i {
    font-size: 1.5rem;
}

.platform-header span {
    font-weight: 600;
    font-size: 1rem;
}

.winner-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.modern-compare-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.modern-compare-table tbody tr:hover {
    background: #f8fafc;
}

.modern-compare-table tbody tr:last-child {
    border-bottom: none;
}

.modern-compare-table td {
    padding: 1.5rem 1rem;
    text-align: center;
    vertical-align: middle;
}

.feature-name {
    text-align: left !important;
}

.feature-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-details strong {
    color: #1a202c;
    font-weight: 600;
    font-size: 1rem;
}

.feature-details span {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.4;
}

.dustid-cell {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left: 3px solid #667eea;
    border-right: 3px solid #667eea;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-indicator.included {
    background: #dcfce7;
    color: #166534;
}

.status-indicator.not-available {
    background: #fef2f2;
    color: #dc2626;
}

.status-indicator.requires-plugins {
    background: #fef3c7;
    color: #d97706;
}

.status-indicator.manual {
    background: #e0e7ff;
    color: #4338ca;
}

/* Mobile Compare Grid (Hidden on desktop) */
.mobile-compare-grid {
    display: none;
}

.compare-feature-modern {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border: 1px solid #f0f4f8;
    transition: all 0.3s ease;
    min-width: 300px;
}

.compare-feature-modern:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.feature-info {
    margin-bottom: 1.5rem;
}

.feature-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.feature-info p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.platform-status-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.platform-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.platform-result.winner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.platform-result.winner .platform-name,
.platform-result.winner .status-badge {
    color: white;
}

.platform-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.platform-name i {
    font-size: 1.1rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
}

.status-badge.included {
    background: #dcfce7;
    color: #166534;
}

.status-badge.not-available {
    background: #fef2f2;
    color: #dc2626;
}

.status-badge.requires-plugins {
    background: #fef3c7;
    color: #d97706;
}

.status-badge.manual {
    background: #e0e7ff;
    color: #4338ca;
}

.platform-result.winner .status-badge.included {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Cost Comparison Section */
.cost-comparison-section {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
}

.mobile-scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.mobile-scroll-hint i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.cost-comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cost-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.cost-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.cost-card.dustid-card {
    border: 2px solid #667eea;
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.cost-card.dustid-card:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 16px 50px rgba(102, 126, 234, 0.3);
}

.cost-card-header {
    padding: 1.5rem;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
}

.dustid-card .cost-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.platform-info i {
    font-size: 1.5rem;
}

.platform-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.cost-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cost-badge.best-value {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.cost-breakdown {
    padding: 1.5rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-label {
    color: #64748b;
    font-size: 0.9rem;
}

.cost-value {
    font-weight: 600;
    color: #374151;
}

.cost-value.free {
    color: #059669;
    font-weight: 600;
}

.cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 0;
    margin-top: 1rem;
    border-top: 2px solid #e2e8f0;
}

.total-label {
    font-weight: 600;
    color: #374151;
    font-size: 1rem;
}

.total-value {
    font-weight: 700;
    color: #667eea;
    font-size: 1.1rem;
}

/* Savings Highlight */
.savings-highlight {
    margin-top: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.savings-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.savings-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.savings-cta .btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.savings-cta .btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Modern Compare */
@media (max-width: 768px) {
    .mobile-scroll-hint {
        display: flex;
    }
    
    /* Hide desktop table on mobile */
    .desktop-compare-table {
        display: none;
    }
    
    /* Show mobile grid with horizontal scrolling */
    .mobile-compare-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0 1rem 1rem 1rem;
        margin: 2rem -1rem 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-compare-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .mobile-compare-grid::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 2px;
    }
    
    .mobile-compare-grid::-webkit-scrollbar-thumb {
        background: #667eea;
        border-radius: 2px;
    }
    
    .compare-feature-modern {
        flex: 0 0 300px;
        scroll-snap-align: start;
        padding: 1.5rem;
    }
    
    .platform-status-row {
        grid-template-columns: 1fr;
    }
    
    .cost-comparison-cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0 1rem 1rem 1rem;
        margin: 2rem -1rem 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .cost-comparison-cards::-webkit-scrollbar {
        height: 4px;
    }
    
    .cost-comparison-cards::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 2px;
    }
    
    .cost-comparison-cards::-webkit-scrollbar-thumb {
        background: #667eea;
        border-radius: 2px;
    }
    
    .cost-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }
    
    .savings-highlight {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cost-comparison-section {
        padding: 2rem 1rem;
        margin: 2rem 0 0;
        border-radius: 16px;
    }
}

/* Desktop specific styles */
@media (min-width: 769px) {
    .mobile-scroll-hint {
        display: none;
    }
    
    .mobile-compare-grid {
        display: none;
    }
    
    .desktop-compare-table {
        display: block;
    }
}

@media (max-width: 480px) {
    .feature-info h3 {
        font-size: 1.1rem;
    }
    
    .platform-result {
        padding: 0.75rem;
    }
    
    .platform-name {
        font-size: 0.9rem;
    }
    
    .status-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .cost-card-header {
        padding: 1rem;
    }
    
    .cost-breakdown {
        padding: 1rem;
    }
    
    .savings-highlight {
        padding: 1.5rem;
    }
    
    .savings-content h3 {
        font-size: 1.25rem;
    }
}