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

:root {
    --black: #000000;
    --white: #ffffff;
    --cream: #f5f2ed;
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(245, 242, 237, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-mark {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--black);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav-cta:hover {
    opacity: 0.8;
}

/* Hero */
.hero {
    padding: 10rem 2rem 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--cream);
}

.hero .section-content {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-100);
    padding: 0.25rem 1rem;
    border-radius: 100px;
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #8b5cf6;
    border-radius: 50%;
}

h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.gradient-text {
    background: linear-gradient(to right, #8b5cf6 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

/* Dashboard Section */
.dashboard-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
    background: var(--gray-50);
}

/* Dashboard */
.dashboard-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.dashboard {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.1);
}

.dashboard-header {
    background: var(--gray-50);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dots {
    display: flex;
    gap: 0.5rem;
}

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

.dot:nth-child(1) { background: #ef4444; }
.dot:nth-child(2) { background: #f59e0b; }
.dot:nth-child(3) { background: #22c55e; }

.dashboard-content {
    padding: 2rem;
}

.form-preview {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.875rem;
    background: var(--white);
}

.form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.ai-prompt {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.ai-prompt-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Floating elements */
.float {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    animation: float 20s ease-in-out infinite;
}

.float-1 { top: 10%; left: -50px; animation-delay: 0s; }
.float-2 { bottom: 20%; right: -50px; animation-delay: -7s; }
.float-3 { top: 50%; left: -70px; animation-delay: -14s; }

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

.notification {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.success { background: #dcfce7; color: #22c55e; }
.warning { background: #fef3c7; color: #f59e0b; }
.ai-icon { background: #ede9fe; color: #8b5cf6; }

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
}

.section-content {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: left;
    margin-bottom: 4rem;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0;
}

/* Problems */
.problems {
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 25%, #16213e 75%, #0f3460 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.problems::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.problems .section-header {
    position: relative;
    z-index: 2;
    text-align: left;
    margin-bottom: 6rem;
}

.problems .section-header h2 {
    color: white;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 400;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.problems .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 650px;
    line-height: 1.6;
}

.problems-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.problems-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 6rem;
}

.problems-left {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
}

.problems-right {
    display: flex;
}

.problem-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.08) 50%, 
        rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 3rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    height: 100%;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6, #22c55e);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.18) 0%, 
        rgba(255, 255, 255, 0.12) 50%, 
        rgba(255, 255, 255, 0.08) 100%);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.25);
}

.problem-number {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 5rem;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.problem-icon {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.problem-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -0.01em;
}

.problem-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-weight: 400;
}

.cost-showcase {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cost-card {
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 4rem 6rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cost-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, 
        rgba(139, 92, 246, 0.3), 
        rgba(59, 130, 246, 0.3), 
        rgba(34, 197, 94, 0.3), 
        rgba(139, 92, 246, 0.3));
    border-radius: 8px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    animation: borderRotate 3s linear infinite;
    opacity: 0;
}

.cost-card:hover::before {
    opacity: 1;
}

.cost-card:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.15) 100%);
}

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

.cost-amount {
    font-size: 4.5rem;
    font-weight: 300;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #8b5cf6 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.cost-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

/* Mobile adjustments */
@media (max-width: 1024px) {
    .problems-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .problems-left {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }

    .problems-right {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .problems .section-header h2 {
        font-size: 2.5rem;
    }

    .problems-left {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
    
    .problem-card {
        padding: 2rem;
    }
    
    .cost-card {
        padding: 3rem 3rem;
    }
    
    .cost-amount {
        font-size: 3.5rem;
    }
}

/* Integrations */
.integrations {
    background: var(--gray-50);
    padding: 8rem 2rem;
}

.integrations-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.integration-category {
    display: flex;
    flex-direction: column;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2rem;
    text-align: center;
}

.integration-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.integration-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 280px;
    cursor: pointer;
}

.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #8b5cf6;
}

.integration-card.featured {
    border-color: #8b5cf6;
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.15);
}

.integration-card.featured:hover {
    box-shadow: 0 16px 32px rgba(139, 92, 246, 0.25);
}

.integration-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.integration-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.integration-card:hover .integration-icon::before {
    opacity: 1;
}

.integration-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.integration-info p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.integration-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}

.integration-badge.popular {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
}

.integrations-cta {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 3rem;
    margin-top: 4rem;
    text-align: center;
}

.integration-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.integration-action p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-integration {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-integration:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.3);
}

/* Mobile responsive for integrations */
@media (max-width: 768px) {
    .integrations {
        padding: 4rem 1rem;
    }

    .integration-row {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .integration-card {
        padding: 1.5rem 1rem;
        max-width: none;
    }

    .integration-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .integrations-cta {
        padding: 2rem;
    }
}

/* Features */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-box {
    padding: 2.5rem;
    border-radius: 0;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    background: #8b5cf6;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.feature-icon-modern {
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

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

.feature-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.feature-box p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: white;
    opacity: 1;
}

.feature-demo {
    border: 1px solid white;
    border-radius: 12px;
    padding: 1rem;
    margin-top: auto;
}

.demo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

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

.demo-label {
    font-size: 0.875rem;
    color: white;
}

.demo-action {
    font-size: 0.813rem;
    border: 1px solid white;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    color: white;
}

.ai-conversation {
    font-family: monospace;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

.ai-message {
    display: block;
    color: white;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.user-message {
    display: block;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.template-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.template-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: white;
}

.template-icon {
    font-size: 1.125rem;
}

.demo-button {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.demo-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* CTA */
.cta {
    background: #f5f2ed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-content {
    text-align: left;
    max-width: 800px;
    margin: 0;
}

.cta-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-form {
    background: #8b5cf6;
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

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

.btn-demo {
    background: transparent;
    color: #8b5cf6;
    border: 2px solid #8b5cf6;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-demo:hover {
    background: #8b5cf6;
    color: var(--white);
}

.cta-content h2 {
    color: #8b5cf6;
}

.cta-content p {
    color: var(--gray-600);
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--black);
    padding: 4rem 2rem 2rem;
    text-align: left;
    font-size: 0.875rem;
    border-top: 1px solid var(--gray-200);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
}

.footer-info p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.newsletter-signup {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.newsletter-signup h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.newsletter-signup p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.875rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #8b5cf6;
}

.newsletter-form button {
    background: #8b5cf6;
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
    color: var(--gray-500);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background: var(--gray-100);
}

.modal h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
}

.modal p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .modal-content {
        padding: 2rem;
    }

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