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

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
/* Navigation */
.nav {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo svg {
    width: 48px;
    height: 57px;
}

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

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #525289;
}

.btn-login {
    background: transparent;
    color: #525289 !important;
    border: 1px solid #525289;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 14px;
}

.btn-login:hover {
    background: #525289 !important;
    color: white !important;
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-demo {
    background: #525289;
    color: rgb(234, 223, 223) !important;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: #454073;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #525289;
    transition: all 0.3s ease;
}

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

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(82, 82, 137, 0.03) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}
.highlight {
    color: #525289;
    position: relative;
}

.highlight::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #525289, #7b7bcd);
    border-radius: 2px;
    animation: slideIn 1s ease-out 0.5s both;
}

.hero-subheadline {
    font-size: 18px;
    color: #666;
    margin-bottom: 28px;
    max-width: 600px;
    line-height: 1.5;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-email-form {
    width: 100%;
    max-width: 500px;
}

.email-input-group {
    display: flex;
    gap: 12px;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(82, 82, 137, 0.15);
    border: 1px solid rgba(82, 82, 137, 0.1);
    transition: all 0.3s ease;
}

.email-input-group:focus-within {
    box-shadow: 0 6px 25px rgba(82, 82, 137, 0.25);
    border-color: rgba(82, 82, 137, 0.3);
}

.hero-email-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 20px;
    font-size: 16px;
    background: transparent;
    color: #333;
    border-radius: 12px;
}

.hero-email-input::placeholder {
    color: #888;
    font-size: 16px;
}

.hero-submit-btn {
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 140px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.hero-submit-btn:hover {
    transform: translateY(-1px);
}

.hero-message {
    margin-top: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out;
}

.hero-message.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-message-success {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.hero-message-error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-top: 0;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-stats .stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #525289;
    margin-bottom: 4px;
}

.hero-stats .stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100%;
        margin-bottom: 24px;
        padding: 0 16px;
    }

    .benefit {
        padding: 16px;
        gap: 10px;
    }

    .benefit-icon {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .benefit-text strong {
        font-size: 14px;
    }

    .benefit-text span {
        font-size: 13px;
    }
}

.benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #333;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(82, 82, 137, 0.15);
    box-shadow: 0 2px 8px rgba(82, 82, 137, 0.08);
    transition: all 0.3s ease;
}

.benefit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(82, 82, 137, 0.12);
    border-color: rgba(82, 82, 137, 0.25);
}

.benefit-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.benefit-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.benefit-text strong {
    font-size: 16px;
    font-weight: 600;
    color: #525289;
    margin-bottom: 4px;
}

.benefit-text span {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-stats .stat-item {
        flex: 1;
        min-width: 120px;
    }
}

.cta-urgency-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.cta-urgency {
    font-size: 14px;
    color: #e74c3c;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.btn-primary {
    background: #525289;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(82, 82, 137, 0.3);
}

.btn-primary:hover {
    background: #454073;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(82, 82, 137, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #525289;
    border: 2px solid #525289;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #525289;
    color: white;
    transform: translateY(-1px);
}

.trust-indicators {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.trust-text {
    color: #888;
    font-size: 14px;
    margin-bottom: 16px;
    display: block;
}

.trust-stats {
    display: flex;
    gap: 32px;
}

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

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #525289;
}

.stat-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

/* Trust Indicators */
.trust-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.trust-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.logo-placeholder {
    background: #f5f5f5;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    border: 1px solid #e0e0e0;
}

/* Dashboard Preview */
.dashboard-preview {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transform: translateY(20px);
    animation: dashboardFloat 3s ease-in-out infinite;
}

@keyframes dashboardFloat {
    0%,
    100% {
        transform: translateY(20px);
    }
    50% {
        transform: translateY(0px);
    }
}

.dashboard-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

.search-bar-demo {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    transition: border-color 0.3s ease;
}

.search-bar-demo:hover {
    border-color: #525289;
}

.search-icon {
    margin-right: 12px;
    font-size: 16px;
    color: #666;
}

.search-text {
    flex: 1;
    color: #333;
    font-size: 14px;
}

.typing-effect {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
}

.typing-effect::after {
    content: "|";
    color: #0066ff;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%,
    50% {
        opacity: 1;
    }
    51%,
    100% {
        opacity: 0;
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.search-results-count {
    background: #525289;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-tabs {
    display: flex;
    gap: 8px;
}

.tab {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.tab.active {
    background: #525289;
    color: white;
}

.tab:not(.active):hover {
    background: #f0f0f0;
}

.asset-card-preview {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 12px;
    background: #fafafa;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.asset-card-preview:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.asset-thumbnail {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    border: 1px solid #e0e0e0;
}

.asset-thumbnail .asset-icon {
    font-size: 24px;
}

.asset-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.asset-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.asset-meta {
    font-size: 12px;
    color: #666;
}

.asset-actions {
    display: flex;
    gap: 6px;
}

.action-btn {
    background: #525289;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #434269;
    transform: translateY(-1px);
}

/* Asset Preview Container */
.asset-preview {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-top: 12px;
}

.asset-preview:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Responsive layout for asset preview */
@media (min-width: 768px) {
    .asset-preview {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }
}

/* Improve spacing within asset cards when in preview */
.asset-preview .asset-card-preview {
    margin-bottom: 0;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.asset-preview .asset-card-preview:hover {
    background: #ffffff;
    border-color: #525289;
    box-shadow: 0 2px 12px rgba(82, 82, 137, 0.15);
}

/* Change preview positioning */
.change-preview {
    flex: 1 1 100%;
    margin-left: 60px;
    margin-top: 4px;
}

/* Social Proof Section */
.social-proof {
    padding: 80px 0;
    background: #f8f9ff;
}

.social-proof-content {
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.quote-icon {
    font-size: 48px;
    color: #525289;
    opacity: 0.3;
    margin-bottom: 16px;
    font-family: serif;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.author-role {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #525289;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}


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

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

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    text-align: center;
    padding: 32px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    background: #fafafa;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: white;
    box-shadow: 0 12px 40px rgba(82, 82, 137, 0.1);
    border-color: rgba(82, 82, 137, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: #f8f9ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card:hover .feature-icon {
    background: #525289;
    transform: scale(1.1);
}

.feature-card:hover .feature-icon svg path {
    fill: white;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Who It's For Section */
.who-its-for {
    padding: 100px 0;
    background: #f8f9ff;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.audience-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(82, 82, 137, 0.1);
}

.audience-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.audience-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.audience-card p {
    color: #666;
    line-height: 1.6;
}

/* Demo Section */
.demo-section {
    padding: 100px 0;
    background: #f8f9ff;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.demo-info-section h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.demo-info-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.demo-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.demo-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.benefit-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.demo-benefit h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.demo-benefit p {
    color: #666;
    margin: 0;
    font-size: 16px;
}

/* Demo Form */
.demo-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: #d9d8d8;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #525289;
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.form-submit {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-success {
    background: #4caf50;
    color: white;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    margin-top: 16px;
    display: none;
}

.form-error {
    background: #f44336;
    color: white;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    margin-top: 16px;
    display: none;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #525289 0%, #6b6bb3 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-content .highlight {
    color: #b8b8ff;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.cta-section .btn-primary {
    background: white;
    color: #525289;
}

.cta-section .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: #525289;
}

.cta-note {
    opacity: 0.8;
    font-size: 14px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #888;
    margin-top: 16px;
    margin-bottom: 16px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 16px;
    color: #ccc;
}

.footer-column a {
    display: block;
    color: #888;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #525289;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 14px;
}

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

.footer-legal a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #525289;
}

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

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

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Enhanced Mobile Responsiveness */

/* Large tablets and small laptops */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero-headline {
        font-size: 52px;
    }

    .hero-subheadline {
        font-size: 17px;
    }

    .section-header h2 {
        font-size: 42px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .calculator-container {
        gap: 40px;
    }

    .demo-content {
        gap: 60px;
    }
}

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

    /* Navigation improvements */
    .nav-content {
        height: 64px;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 64px);
        background: white;
        flex-direction: column;
        padding: 32px 24px;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
        overflow-y: auto;
    }

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

    .nav-links a {
        margin-bottom: 20px;
        font-size: 16px;
        color: #1a1a1a;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }

    .nav-links a:last-of-type {
        border-bottom: none;
    }

    .nav-links .btn-login {
        margin: 24px 0 16px 0;
        width: 100%;
        text-align: center;
        padding: 12px 24px;
    }

    .nav-links .btn-demo {
        margin-top: 0;
        width: 100%;
        padding: 14px 24px;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1000;
        padding: 8px;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }

    .mobile-menu-btn:hover {
        background-color: rgba(82, 82, 137, 0.1);
    }

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

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

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

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(2px);
    }

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

    /* Hero section improvements */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-headline {
        font-size: 44px;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-subheadline {
        font-size: 18px;
        margin-bottom: 32px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .highlight::after {
        bottom: -4px;
        height: 3px;
    }

    .hero-cta {
        justify-content: center;
        margin-bottom: 32px;
    }

    .hero-cta .btn-primary {
        min-width: 200px;
        padding: 16px 32px;
    }

    .hero-email-form {
        max-width: 100%;
    }

    .email-input-group {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .hero-email-input {
        padding: 14px 16px;
        font-size: 16px;
        text-align: center;
    }

    .hero-submit-btn {
        width: 100%;
        padding: 16px;
        min-width: unset;
    }

    .hero-message {
        margin-top: 16px;
        padding: 14px 20px;
        font-size: 15px;
    }

    .hero-stats {
        justify-content: center;
        gap: 32px;
        margin-top: 24px;
    }

    .hero-stats div {
        text-align: center;
    }

    .hero-stats .stat-number {
        font-size: 16px;
    }

    .hero-stats .stat-label {
        font-size: 11px;
    }

    /* Section improvements */
    .section-header {
        margin-bottom: 60px;
    }

    .section-header h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .section-header p {
        font-size: 18px;
    }

    /* Features section */
    .features {
        padding: 80px 0;
    }

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

    .feature-card {
        padding: 28px 24px;
    }

    /* Who it's for section */
    .who-its-for {
        padding: 80px 0;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .audience-card {
        padding: 28px 24px;
    }

    /* Demo section */
    .demo-section {
        padding: 80px 0;
    }

    .demo-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .demo-info-section h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    .demo-info-section p {
        font-size: 16px;
    }

    .demo-form {
        padding: 28px 24px;
    }

    /* Footer */
    .footer {
        padding: 50px 0 24px;
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

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

    /* Asset preview improvements */
    .asset-grid {
        transform: none;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .asset-preview {
        padding: 16px;
        gap: 12px;
        margin-top: 12px;
    }

    .asset-preview .asset-card-preview {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .asset-preview .asset-card-preview .asset-thumbnail {
        margin-right: 0;
        margin-bottom: 8px;
        align-self: flex-start;
    }

    .asset-preview .asset-card-preview .asset-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .asset-preview .asset-card-preview .change-preview {
        margin-left: 0;
        margin-top: 12px;
        width: 100%;
    }

    .change-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .change-meta {
        align-self: flex-start;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    /* Navigation */
    .nav-content {
        height: 60px;
    }

    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
        width: 100%;
        padding: 24px 16px;
    }

    .logo svg {
        width: 40px;
        height: 48px;
    }

    /* Hero section */
    .hero {
        padding: 80px 0 50px;
    }

    .hero-headline {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-subheadline {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .highlight::after {
        bottom: -6px;
        height: 3px;
    }

    .hero-cta {
        margin-bottom: 28px;
    }

    .hero-cta .btn-primary {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
        font-size: 16px;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stats div {
        flex: 1;
        min-width: 80px;
    }

    .hero-stats .stat-number {
        font-size: 14px;
    }

    .hero-stats .stat-label {
        font-size: 10px;
    }

    /* Sections */
    .features,
    .who-its-for,
    .cta-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 28px;
        line-height: 1.2;
    }

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

    /* Feature cards */
    .feature-card {
        padding: 24px 20px;
    }

    .feature-card h3 {
        font-size: 20px;
    }

    .feature-card p {
        font-size: 14px;
    }

    /* Audience cards */
    .audience-card {
        padding: 24px 20px;
    }

    .audience-card h3 {
        font-size: 18px;
    }

    .audience-card p {
        font-size: 14px;
    }

    /* Demo section */
    .demo-info-section h2 {
        font-size: 28px;
    }

    .demo-info-section p {
        font-size: 15px;
    }

    .demo-benefit h4 {
        font-size: 16px;
    }

    .demo-benefit p {
        font-size: 14px;
    }

    .demo-form {
        padding: 24px 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* ROI Calculator */
    .calculator-inputs {
        padding: 24px 20px;
    }

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

    .result-card h3 {
        font-size: 24px;
    }

    /* CTA section */
    .cta-content h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
    }

    /* Footer */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    /* Button improvements */
    .btn-primary,
    .btn-secondary {
        min-height: 48px; /* Better touch targets */
        font-size: 16px;
    }

    /* Asset preview mobile optimizations */
    .asset-preview {
        padding: 12px;
        gap: 8px;
        border-radius: 12px;
    }

    .asset-preview .asset-card-preview {
        padding: 12px;
        border-radius: 8px;
    }

    .asset-preview .asset-card-preview .asset-thumbnail {
        width: 36px;
        height: 36px;
    }

    .asset-preview .asset-card-preview .asset-thumbnail .asset-icon {
        font-size: 18px;
    }

    .asset-preview .asset-card-preview .asset-name {
        font-size: 12px;
    }

    .asset-preview .asset-card-preview .asset-meta {
        font-size: 10px;
    }

    .asset-preview .asset-card-preview .action-btn {
        padding: 6px 10px;
        font-size: 10px;
        min-height: 32px;
    }

    .asset-preview .asset-card-preview .change-preview {
        margin-left: 0;
        margin-top: 8px;
        padding: 8px;
    }

    .asset-preview .asset-card-preview .version-status {
        margin-left: 0;
        margin-top: 8px;
        font-size: 10px;
        padding: 4px 8px;
    }

    .change-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 8px;
    }

    .change-meta {
        font-size: 10px;
        align-self: flex-start;
    }

    .change-summary {
        font-size: 11px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero-headline {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .feature-card,
    .audience-card {
        padding: 20px 16px;
    }

    .demo-form,
    .calculator-inputs,
    .result-card {
        padding: 20px 16px;
    }
}

/* Touch device optimizations */
.touch-device {
    /* Improve touch scrolling */
    -webkit-overflow-scrolling: touch;
}

.touch-device * {
    /* Improve touch scrolling for all elements */
    -webkit-overflow-scrolling: touch;
}

/* Better touch targets */
.touch-device button,
.touch-device .btn-primary,
.touch-device .btn-secondary,
.touch-device .btn-demo,
.touch-device .btn-login,
.touch-device input,
.touch-device select,
.touch-device textarea {
    min-height: 44px; /* Apple's recommended minimum */
}

.touch-device .mobile-menu-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 10px;
}

/* Hover effects only for non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .feature-card:hover,
    .audience-card:hover,
    .asset-card:hover {
        transform: translateY(-4px);
    }
    
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: translateY(-2px);
    }
}

/* Touch-friendly spacing */
@media (max-width: 768px) and (pointer: coarse) {
    .nav-links a {
        padding: 16px 0;
        font-size: 18px;
    }
    
    .feature-card,
    .audience-card {
        padding: 32px 24px;
    }
    
    .demo-benefit {
        gap: 20px;
    }
    
    .benefit-icon {
        min-width: 56px;
        min-height: 56px;
    }
}

/* 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;
    }
    
    .typing-effect::after {
        animation: none;
    }
    
    .dashboard-float,
    .float-animation {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    .btn-secondary {
        border-width: 3px;
    }
    
    .feature-card,
    .audience-card {
        border: 2px solid #525289;
    }
}



/* Print styles */
@media print {
    .nav,
    .mobile-menu-btn,
    .mobile-overlay,
    .btn-primary,
    .btn-secondary,
    .cta-section,
    .footer {
        display: none !important;
    }
    
    .hero,
    .features,
    .who-its-for {
        padding: 20px 0 !important;
    }
    
    .section-header h2 {
        font-size: 24px !important;
        color: #000 !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* CSS Custom Properties for mobile viewport */
:root {
    --vh: 1vh; /* Fallback for browsers that don't support custom properties */
}

/* Use custom vh for mobile-specific height calculations */
@supports (height: 100vh) {
    @media (max-width: 768px) {
        .mobile-overlay,
        .nav-links {
            height: calc(var(--vh, 1vh) * 100 - 64px);
        }
    }
}
