/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00b8ff;
    --primary-dark: #0099d9;
    --primary-light: #33c7ff;
    --secondary-color: #00d4aa;
    --accent-color: #ff6b9d;
    --text-dark: #ffffff;
    --text-medium: #b4b4b4;
    --text-light: #808080;
    --bg-dark: #000000;
    --bg-darker: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-gradient: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --bg-gradient-alt: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
    --border-color: #2a2a2a;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 30px rgba(0, 184, 255, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #000000;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(42, 42, 42, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #b4b4b4;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 184, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 184, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 0.875rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 184, 255, 0.15);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 184, 255, 0.3);
}

.btn-hero {
    background: var(--primary-color);
    color: white;
    padding: 1.125rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    box-shadow: 0 12px 40px rgba(0, 184, 255, 0.4);
    border: none;
}

.btn-hero:hover {
    background: var(--primary-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 184, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: 2px solid #2a2a2a;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 184, 255, 0.05);
}

/* Hero Section */
.hero {
    background: #000000;
    color: white;
    padding: 6rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 184, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.hero-demo {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin: 4rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
}

.demo-label {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.demo-box {
    background: #1a1a1a;
    color: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
    text-align: left;
    border: 1px solid #2a2a2a;
}

.demo-arrow {
    font-size: 2rem;
    display: flex;
    align-items: center;
}

.output-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.check-icon {
    color: var(--secondary-color);
    font-weight: bold;
}

.output-file {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.hero-integrations {
    margin-top: 3rem;
    text-align: center;
    overflow: hidden;
}

.hero-integrations p {
    color: #999;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.chip-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.chip-carousel {
    display: flex;
    gap: 1rem;
    animation: scrollChips 30s linear infinite;
    width: fit-content;
}

.chip-carousel:hover {
    animation-play-state: paused;
}

.chip {
    padding: 0.625rem 1.5rem;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 50px;
    font-size: 0.875rem;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.chip:hover {
    background: #333;
    border-color: #00b8ff;
    box-shadow: 0 4px 12px rgba(0, 184, 255, 0.2);
    transform: translateY(-2px);
}

@keyframes scrollChips {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.integration-logos {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.integration-logo {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Digital Extension Section */
.digital-extension {
    background: #000000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #2a2a2a;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 184, 255, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Templates Section */
.templates {
    background: #000000;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.template-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #2a2a2a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.template-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(0, 184, 255, 0.2);
    transform: translateY(-5px);
}

.template-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.template-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.template-card p {
    color: #b4b4b4;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.template-integrations {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.integration-badge {
    background: #2a2a2a;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #b4b4b4;
    border: 1px solid #3a3a3a;
}

.template-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.template-link:hover {
    text-decoration: underline;
}

/* Busywork Section */
.busywork {
    background: #000000;
}

.busywork-grid {
    display: grid;
    gap: 2.5rem;
}

.busywork-item {
    background: #0a0a0a;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
    border: 1px solid #2a2a2a;
}

.workflow-card {
    background: #1a1a1a;
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid #2a2a2a;
}

.workflow-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
}

.workflow-content p {
    margin-bottom: 1rem;
}

.workflow-example {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    font-style: italic;
}

.highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    font-weight: 600;
}

/* How It Works Section */
.how-it-works {
    background: #000000;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.step-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #2a2a2a;
    transition: all 0.4s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 184, 255, 0.2);
    border-color: var(--primary-color);
}

.step-card h3 {
    color: #ffffff;
}

.step-card p {
    color: #b4b4b4;
}

.step-number {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 184, 255, 0.4);
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-light);
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Benefits Section */
.benefits {
    background: #000000;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.benefit-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #2a2a2a;
    transition: all 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 184, 255, 0.2);
    border-color: var(--primary-color);
}

.benefit-card h3 {
    color: #ffffff;
}

.benefit-card p {
    color: #b4b4b4;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-light);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Use Cases Section */
.use-cases {
    background: #000000;
}

.use-case-card-large {
    background: #1a1a1a;
    color: white;
    padding: 4rem;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid #2a2a2a;
}

.use-case-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.use-case-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.placeholder-image {
    font-size: 5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 12px;
}

/* Integrations Section */
.integrations-section {
    background: #000000;
}

.integration-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #2a2a2a;
    transition: all 0.4s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 184, 255, 0.2);
    border-color: var(--primary-color);
}

.category-card h3 {
    color: #ffffff;
}

.integration-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.integration-list span {
    background: #2a2a2a;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    color: #b4b4b4;
    border: 1px solid #3a3a3a;
}

/* Stats Section */
.stats {
    background: #000000;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    padding: 2.5rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1;
}

.stat-label {
    color: #b4b4b4;
    font-size: 1rem;
}

.testimonial {
    background: #1a1a1a;
    padding: 3rem;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
    border: 1px solid #2a2a2a;
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.6;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    font-weight: 700;
    color: #ffffff;
}

.testimonial-author span {
    color: #b4b4b4;
}

/* Pricing Section */
.pricing {
    background: #000000;
    text-align: center;
}

.pricing-toggle {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.toggle-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    border: 2px solid #2a2a2a;
    background: #1a1a1a;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #b4b4b4;
}

.toggle-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.discount {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid #2a2a2a;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 184, 255, 0.2);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 30px rgba(0, 184, 255, 0.3);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(0, 184, 255, 0.5);
    letter-spacing: 0.02em;
}

.pricing-header {
    text-align: center;
    border-bottom: 2px solid #2a2a2a;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
}

.price-period {
    font-size: 1.125rem;
    color: var(--text-light);
}

.price-description {
    color: #b4b4b4;
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b4b4b4;
}

.pricing-features li:before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-card a {
    width: 100%;
    text-align: center;
}

.enterprise-card {
    background: #1a1a1a;
    color: white;
    padding: 3.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid #2a2a2a;
}

.enterprise-card h3 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.enterprise-card p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* FAQ Section */
.faq {
    background: #000000;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.faq-item {
    background: #1a1a1a;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 2px solid #2a2a2a;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: 1.75rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    color: var(--text-dark);
}

.faq-question:hover {
    background: linear-gradient(90deg, rgba(0, 184, 255, 0.05) 0%, transparent 100%);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #b4b4b4;
}

.faq-cta {
    text-align: center;
}

/* About Section */
.about {
    background: #000000;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 2rem auto 0;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Blog Section */
.blog {
    background: #000000;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #2a2a2a;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 184, 255, 0.2);
    border-color: var(--primary-color);
}

.blog-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-date {
    color: #808080;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.blog-card p {
    color: #b4b4b4;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.blog-link:hover {
    text-decoration: underline;
}

/* Final CTA Section */
.final-cta {
    background: #000000;
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #2a2a2a;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 184, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: white;
    padding: 5rem 0 2rem;
    border-top: 1px solid #2a2a2a;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #b4b4b4;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-bottom p {
    color: #808080;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #b4b4b4;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-demo {
        grid-template-columns: 1fr;
    }

    .demo-arrow {
        transform: rotate(90deg);
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        transform: rotate(90deg);
        text-align: center;
    }

    .use-case-card-large {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .nav-actions {
        display: none;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .email-input {
        width: 100%;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 2rem;
        width: 95%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-card,
.template-card,
.benefit-card,
.blog-card {
    animation: fadeInUp 0.8s ease-out;
}

.feature-icon {
    animation: float 3s ease-in-out infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 3rem;
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.close-modal {
    color: #b4b4b4;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.auth-form h2,
.contact-form h2 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.form-subtitle {
    color: #b4b4b4;
    margin-bottom: 2rem;
}

.auth-form input,
.contact-form input,
.contact-form textarea,
.email-input {
    width: 100%;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: #0a0a0a;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s;
}

.auth-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 184, 255, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.form-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: #b4b4b4;
}

.form-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-switch a:hover {
    text-decoration: underline;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3000;
    transition: bottom 0.4s ease;
}

.toast.show {
    bottom: 2rem;
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.toast-message {
    font-weight: 500;
}

/* CTA Form */
.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 250px;
    margin-bottom: 0;
}

.cta-note {
    margin-top: 1rem;
    color: #b4b4b4;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Workflow Simulation Toast */
.workflow-simulation-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 0;
    min-width: 600px;
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 184, 255, 0.3);
    z-index: 10000;
    animation: slideUp 0.3s ease-out;
    overflow: hidden;
}

.simulation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #1a1a1a;
    background: linear-gradient(135deg, #0a0a0a, #121212);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.terminal-icon {
    color: #00b8ff;
    font-size: 1.2rem;
}

.simulation-header strong {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.connection-status {
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.close-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    border-radius: 4px;
}

.close-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

.simulation-content {
    padding: 1.5rem;
}

.terminal-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: #666;
}

.terminal-line {
    letter-spacing: 0.5px;
}

.simulation-apps {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.app-chip {
    background: rgba(0, 184, 255, 0.1);
    border: 1px solid rgba(0, 184, 255, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #00b8ff;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.3px;
}

.app-chip-0 { border-color: rgba(0, 184, 255, 0.4); }
.app-chip-1 { border-color: rgba(16, 185, 129, 0.4); color: #10b981; background: rgba(16, 185, 129, 0.1); }
.app-chip-2 { border-color: rgba(245, 158, 11, 0.4); color: #f59e0b; background: rgba(245, 158, 11, 0.1); }

.terminal-window {
    background: #000;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.terminal-header {
    background: #0a0a0a;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    font-size: 0.75rem;
    color: #666;
    font-family: 'Courier New', monospace;
}

.terminal-time {
    font-size: 0.7rem;
    color: #444;
    font-family: 'Courier New', monospace;
}

.terminal-body {
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    max-height: 300px;
    overflow-y: auto;
    color: #ccc;
}

.terminal-body .terminal-line {
    margin: 0.25rem 0;
    display: block;
}

.terminal-tech {
    color: #666;
    font-size: 0.75rem;
    padding-left: 1.5rem;
}

.terminal-fade-in {
    animation: terminalFadeIn 0.2s ease-out;
}

@keyframes terminalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.log-system { color: #00b8ff; }
.log-auth { color: #a855f7; }
.log-connect { color: #3b82f6; }
.log-data { color: #06b6d4; }
.log-compile { color: #f59e0b; }
.log-ai { color: #ec4899; }
.log-webhook { color: #8b5cf6; }
.log-test { color: #10b981; }
.log-validate { color: #14b8a6; }
.log-deploy { color: #f97316; }
.log-success { color: #22c55e; }
.log-dim { color: #444; }
.log-code { color: #94a3b8; font-weight: 500; }

.log-success-line {
    color: #22c55e;
    opacity: 0.3;
    margin: 0.5rem 0;
}

.simulation-progress {
    width: 100%;
    height: 6px;
    background: #0a0a0a;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    border: 1px solid #1a1a1a;
}

.simulation-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00b8ff, #0080ff);
    width: 0%;
    transition: width 0.3s ease-out, background 0.3s ease;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 184, 255, 0.5);
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 184, 255, 0.4), transparent);
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.simulation-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #1a1a1a;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
}

.step-counter {
    color: #666;
}

.eta {
    color: #00b8ff;
    font-weight: 600;
}

.btn-deploy {
    background: linear-gradient(135deg, #00b8ff, #0080ff);
    color: white;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.3px;
}

.btn-deploy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 184, 255, 0.4);
}

.btn-secondary-small {
    background: transparent;
    color: #666;
    border: 1px solid #1a1a1a;
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    margin-left: 0.5rem;
}

.btn-secondary-small:hover {
    background: #0a0a0a;
    color: #fff;
    border-color: #2a2a2a;
}

/* Enhanced Workflow Card Styling */
.workflow-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.workflow-example {
    transition: all 0.3s ease;
}

.workflow-example:hover {
    color: #00b8ff;
    transform: translateX(5px);
}

.step-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 184, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.step-card:hover::before {
    left: 100%;
}

.step-arrow {
    color: #00b8ff;
    font-size: 2rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Enhanced Simulation Styles */
.simulation-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

.simulation-subtitle {
    display: block;
    font-size: 0.7rem;
    color: #666;
    font-weight: normal;
    margin-top: 0.15rem;
    font-family: 'Courier New', monospace;
}

@keyframes successPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.02);
    }
}