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

:root {
    --primary: #38CB89;
    --primary-dark: #2BA870;
    --text: #1D1D1F;
    --text-secondary: #86868B;
    --text-light: #6B7280;
    --bg: #FFFFFF;
    --bg-mint: #E6F7F0;
    --bg-dark: #1D1D1F;
    --border: #D2D2D7;
    --border-light: #E5E7EB;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Dark mode variables */
[data-theme="dark"] {
    --primary: #38CB89;
    --primary-dark: #2BA870;
    --text: #F5F5F7;
    --text-secondary: #A1A1A6;
    --text-light: #86868B;
    --bg: #000000;
    --bg-mint: #1A1A1A;
    --bg-dark: #1D1D1F;
    --border: #2D2D2D;
    --border-light: #1D1D1D;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Header */
.site-header {
    border-bottom: 1px solid var(--border-light);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    gap: 8px;
    line-height: 1;
}

.logo img {
    height: 64px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* SVG logo specific styling - maintain aspect ratio */
.logo img[src$=".svg"] {
    height: auto;
    max-height: 64px;
    width: auto;
}

/* Logo theme switching - show/hide based on theme (higher specificity) */
.logo .logo-light {
    display: block !important;
}

.logo .logo-dark {
    display: none !important;
}

/* Dark mode - show dark logo, hide light logo */
[data-theme="dark"] .logo .logo-light {
    display: none !important;
}

[data-theme="dark"] .logo .logo-dark {
    display: block !important;
}

.logo:hover img {
    opacity: 0.8;
}

/* Text logo fallback - hidden by default, shown via JavaScript if image fails */
.logo-text {
    display: none;
    align-items: center;
}

.logo-text.show {
    display: inline-flex;
}

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

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo img {
        height: 56px;
        max-width: 240px;
    }
    
    .logo img[src$=".svg"] {
        max-height: 56px;
    }
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

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

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

[data-theme="dark"] .mobile-menu-toggle span {
    background: var(--text);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Dark Mode Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    margin-left: 16px;
}

.theme-toggle:hover {
    background: var(--bg-mint);
    border-color: var(--primary);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Dark mode specific adjustments */
[data-theme="dark"] .highlight {
    background: rgba(56, 203, 137, 0.2);
    color: var(--primary);
}

[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .award-card,
[data-theme="dark"] .principle-card {
    background: #1A1A1A;
    border-color: var(--border);
}

[data-theme="dark"] .support-section {
    background: linear-gradient(135deg, #1A1A1A 0%, rgba(56, 203, 137, 0.08) 50%, #1A1A1A 100%);
}

[data-theme="dark"] .support-section::before {
    background: radial-gradient(circle at 20% 50%, rgba(56, 203, 137, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(56, 203, 137, 0.08) 0%, transparent 50%);
}

[data-theme="dark"] .site-footer {
    background: var(--bg);
    border-top-color: var(--border);
}

[data-theme="dark"] .newsletter-input {
    background: #1A1A1A;
    border-color: var(--border);
    color: var(--text);
}

[data-theme="dark"] .newsletter-input:focus {
    border-color: var(--primary);
    background: #1F1F1F;
}

[data-theme="dark"] .newsletter-input::placeholder {
    color: var(--text-secondary);
}

[data-theme="dark"] .quote-card,
[data-theme="dark"] .testimonial-card {
    background: #1A1A1A;
    border-color: var(--border);
}

[data-theme="dark"] .testimonial-avatar {
    border-color: var(--border);
}

[data-theme="dark"] .chart-placeholder {
    background: #1A1A1A;
}

[data-theme="dark"] .dashboard-header {
    border-bottom-color: var(--border);
}

[data-theme="dark"] .dashboard-title {
    color: var(--text);
}

[data-theme="dark"] .metric-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .metric-value {
    color: var(--text);
}

/* Hero Section */
.hero {
    padding: 100px 24px 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text);
}

.highlight {
    background: var(--bg-mint);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    line-height: 1.5;
    margin: 0 2px;
}

.hero-subtitle {
    font-size: 21px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(56, 203, 137, 0.3);
}

.btn-secondary {
    background: var(--bg);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--bg-mint);
}

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

/* Features Section */
.features-section {
    padding: 120px 24px;
    background: var(--bg);
}

.features-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 80px;
    position: relative;
}

.feature-container {
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-md);
}

.feature-container-light {
    background: var(--bg);
    border: 1px solid var(--border);
}

.feature-container-dark {
    background: var(--bg-dark);
    color: var(--bg);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}

.dashboard-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.dashboard-content {
    padding-top: 16px;
}

.metric-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.metric-item {
    flex: 1;
}

.metric-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.metric-value {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
}

.chart-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-mint);
}

.chart-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-mini-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mini-card-header {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--bg);
}

.mini-card-content {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.mini-card-preview {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

.feature-image-card {
    padding: 0;
    overflow: hidden;
}

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

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

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-block h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

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

.features-more {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 32px;
}

/* Social Proof Section */
.social-proof {
    padding: 120px 24px;
    background: var(--bg);
}

.social-proof h2 {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    margin: 0 auto 16px;
    max-width: 700px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.social-proof-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 auto 48px;
    max-width: 900px;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24px;
}

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

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

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

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

.read-more-link {
    display: block;
    text-align: center;
    margin-top: 32px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.read-more-link:hover {
    opacity: 0.8;
}

/* Customer Support Section */
.support-section {
    padding: 120px 24px;
    background: linear-gradient(135deg, #E6F7F0 0%, rgba(56, 203, 137, 0.1) 50%, #E6F7F0 100%);
    position: relative;
    overflow: hidden;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(56, 203, 137, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(56, 203, 137, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.support-section h2 {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.support-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 auto 48px;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.support-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.support-metric {
    text-align: center;
    position: relative;
}

.metric-divider {
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border);
}

.support-metric:first-child .metric-divider {
    display: none;
}

.metric-number {
    font-size: 48px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

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

/* Integrations Section */
.integrations-section {
    padding: 120px 24px;
    background: var(--bg);
}

.integrations-section h2 {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text);
    letter-spacing: -0.02em;
}

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

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.integration-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.integration-logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.integration-all {
    background: var(--bg-mint);
    border-color: var(--primary);
}

/* Templates Section */
.templates-section {
    padding: 120px 24px;
    background: var(--bg-dark);
    color: var(--bg);
}

.templates-section h2 {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    color: var(--bg);
    letter-spacing: -0.02em;
}

.templates-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.template-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--bg);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

.explore-link {
    display: block;
    text-align: center;
    margin-bottom: 48px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.explore-link:hover {
    opacity: 0.8;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.template-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg);
}

.template-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Why ByteAstra Studio Section */
.why-section {
    padding: 120px 24px;
    background: var(--bg);
}

.why-header {
    text-align: center;
    margin-bottom: 64px;
}

.why-section h2 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.why-tagline {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
}

.why-content {
    max-width: 900px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.why-main-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-intro,
.why-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
}

.why-expertise {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.expertise-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expertise-list li {
    font-size: 16px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
}

.expertise-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 20px;
}

.expertise-tech {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.why-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 64px;
}

.principle-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.principle-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.principle-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 12px 0;
}

.principle-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.why-footer {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 48px;
    border-top: 1px solid var(--border-light);
}

.why-quote {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

/* Products Section */
.products-section {
    padding: 120px 24px;
    background: var(--bg);
}

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

.products-header h2 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.products-header p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0.6;
    cursor: default;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.02) 10px,
        rgba(0, 0, 0, 0.02) 20px
    );
    pointer-events: none;
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--bg-mint);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
    z-index: 1;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.product-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.product-status {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(56, 203, 137, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.work-in-progress-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.coming-soon-note {
    text-align: center;
    max-width: 800px;
    margin: 64px auto 0;
    padding: 32px;
    background: var(--bg-mint);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.coming-soon-note h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.coming-soon-note p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.coming-soon-note a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.coming-soon-note a:hover {
    opacity: 0.8;
}

[data-theme="dark"] .product-card {
    background: #1A1A1A;
    border-color: var(--border);
}

[data-theme="dark"] .product-card::before {
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.02) 10px,
        rgba(255, 255, 255, 0.02) 20px
    );
}

[data-theme="dark"] .product-icon {
    background: rgba(56, 203, 137, 0.15);
}

[data-theme="dark"] .coming-soon-note {
    background: rgba(56, 203, 137, 0.1);
    border-color: var(--border);
}

/* Legacy support for old class names */
.lite-section {
    padding: 120px 24px;
    background: var(--bg);
}

.lite-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.lite-link {
    display: inline-block;
    margin-top: 24px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.lite-link:hover {
    opacity: 0.8;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
}

.award-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
}

.award-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.award-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

/* Footer */
.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 80px 24px 32px;
}

.footer-newsletter {
    text-align: center;
    margin-bottom: 64px;
}

.footer-newsletter h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

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

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 24px;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 16px;
    font-family: inherit;
    max-width: 320px;
}

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

/* Form Messages */
.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    animation: fadeInUp 0.3s ease-out;
}

/* Ensure form messages in newsletter forms break out of flex layout */
.newsletter-form .form-message,
.newsletter-form > .form-message {
    width: 100% !important;
    flex-basis: 100% !important;
    flex-shrink: 0 !important;
    order: -1 !important;
    margin-bottom: 12px !important;
    display: block !important;
    min-width: 100% !important;
}

/* Newsletter messages should be in parent container, not form */
.footer-newsletter .form-message {
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto 16px !important;
    display: block !important;
    text-align: center !important;
}

/* Force newsletter messages outside form - if somehow inside, make it full width */
.footer-newsletter .newsletter-form .form-message {
    position: relative !important;
    width: 100% !important;
    flex: 1 1 100% !important;
    min-width: 100% !important;
    order: -999 !important;
    margin: 0 0 12px 0 !important;
}

.form-message-success {
    background: var(--bg-mint);
    color: var(--text-secondary);
    border: 1px solid var(--primary);
}

.form-message-error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

[data-theme="dark"] .form-message-success {
    background: rgba(56, 203, 137, 0.1);
    border-color: var(--primary);
}

[data-theme="dark"] .form-message-error {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.4);
}

/* Disabled button state */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.social-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-icons a {
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 0 auto 48px;
    max-width: 800px;
}

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

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

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

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

.footer-badge {
    background: var(--bg-mint);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* Initial state for animated elements */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Hero animations */
.hero h1 {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-note {
    animation: fadeIn 0.8s ease-out 0.6s both;
}

/* Enhanced transitions */
.nav-links a {
    position: relative;
    transition: color 0.3s ease;
}

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

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

.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: var(--bg-mint);
}

/* Section animations - only for sections with animate-on-scroll class */
section.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Card hover effects */
.testimonial-card,
.award-card,
.integration-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover,
.award-card:hover,
.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Support metrics animation */
.support-metric {
    transition: transform 0.3s ease;
}

.support-metric:hover {
    transform: scale(1.05);
}

/* Logo animation */
.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Footer links animation */
.footer-column a {
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-column a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Newsletter input focus animation */
.newsletter-input {
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(56, 203, 137, 0.1);
}

/* Social icons animation */
.social-icons a {
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Smooth reveal for value cards */
.award-card {
    animation: fadeInUp 0.6s ease-out both;
}

.award-card:nth-child(1) { animation-delay: 0.1s; }
.award-card:nth-child(2) { animation-delay: 0.2s; }
.award-card:nth-child(3) { animation-delay: 0.3s; }

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .theme-toggle {
        margin-left: 8px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease, background-color 0.3s ease;
        z-index: 100;
        gap: 24px;
        border-left: 1px solid var(--border-light);
    }
    
    [data-theme="dark"] .nav-links {
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
        width: 100%;
        padding: 12px 0;
    }

    .features-showcase {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .support-metrics {
        flex-direction: column;
        gap: 32px;
    }

    .support-metric .metric-divider {
        display: none;
    }

    .lite-grid {
        grid-template-columns: 1fr;
    }

    .why-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-principles {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 600px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        padding: 14px 20px;
    }

    .hero {
        padding: 60px 20px 40px;
    }

    .hero h1 {
        font-size: clamp(32px, 8vw, 48px);
        line-height: 1.35;
        margin-bottom: 20px;
    }
    
    .hero h1 .highlight {
        line-height: 1.6;
        padding: 3px 6px;
    }

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

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

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .features-section,
    .social-proof,
    .support-section,
    .lite-section,
    .why-section,
    .products-section {
        padding: 60px 20px;
    }

    .social-proof h2,
    .support-section h2,
    .lite-section h2,
    .why-section h2,
    .products-header h2 {
        font-size: clamp(28px, 6vw, 36px);
        margin-bottom: 16px;
    }

    .products-header {
        margin-bottom: 48px;
    }

    .products-header p {
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 24px;
    }

    .product-icon {
        width: 64px;
        height: 64px;
        font-size: 32px;
        margin-bottom: 20px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-description {
        font-size: 15px;
    }

    .coming-soon-note {
        margin-top: 48px;
        padding: 24px;
    }

    .why-tagline {
        font-size: 20px;
    }

    .why-content {
        margin-bottom: 48px;
    }

    .why-intro,
    .why-description {
        font-size: 16px;
    }

    .why-principles {
        margin-bottom: 48px;
        gap: 16px;
    }

    .principle-card {
        padding: 24px;
    }

    .why-footer {
        padding-top: 32px;
    }

    .why-quote {
        font-size: 18px;
    }

    .social-proof-subtitle,
    .support-subtitle,
    .section-subtitle {
        font-size: 16px;
    }

    .testimonial-card {
        padding: 32px 24px;
    }

    .testimonial-card blockquote {
        font-size: 16px;
    }

    .support-metrics {
        gap: 32px;
    }

    .metric-number {
        font-size: 36px;
    }

    .metric-text {
        font-size: 14px;
    }

    .lite-grid {
        gap: 40px;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .award-card {
        padding: 20px;
    }

    .award-title {
        font-size: 13px;
    }

    .footer-newsletter {
        padding: 0 20px;
    }

    .footer-newsletter h3 {
        font-size: 28px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-input {
        max-width: 100%;
        width: 100%;
    }

    .footer-links-grid {
        gap: 32px;
        padding: 0 20px;
    }

    .footer-bottom {
        padding: 0 20px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 16px 32px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.4;
    }
    
    .hero h1 .highlight {
        line-height: 1.6;
        padding: 3px 6px;
    }

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

    .hero-note {
        font-size: 13px;
    }

    .features-section,
    .social-proof,
    .support-section,
    .lite-section {
        padding: 48px 16px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .support-metrics {
        gap: 24px;
    }

    .metric-number {
        font-size: 32px;
    }

    .container {
        padding: 0 16px;
    }
}
