/* K+Toolkit Landing Page Styles */

:root {
    --primary: #0066cc;
    --primary-dark: #004d99;
    --primary-light: #e6f0fa;
    --secondary: #1a1a2e;
    --accent: #00c896;
    --text: #2d3748;
    --text-light: #718096;
    --text-dark: #1a202c;
    --background: #ffffff;
    --background-alt: #f7fafc;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-start: #0066cc;
    --gradient-end: #004d99;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--background);
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-light);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

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

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

.nav-logo {
    height: 40px;
    width: auto;
}

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

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

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

.nav-links .btn {
    margin-left: 8px;
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--background) 100%);
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero .highlight {
    color: var(--primary);
}

.no-code-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #00a67d 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 200, 150, 0.4); }
    50% { box-shadow: 0 0 20px rgba(0, 200, 150, 0.6); }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text);
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Trusted By Section */
.trusted-by {
    padding: 40px 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

.trusted-by .container {
    text-align: center;
}

.trusted-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.badge {
    background: var(--background-alt);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
    color: var(--text);
    border: 1px solid var(--border);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
}

.section-subtext {
    margin-top: 12px;
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background);
}

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

.feature-card {
    background: var(--background);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px var(--shadow);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Integrations Section */
.integrations {
    padding: 100px 0;
    background: var(--background-alt);
}

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

.integration-category {
    background: var(--background);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.integration-category h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

.integration-list {
    list-style: none;
}

.integration-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.integration-list li:last-child {
    border-bottom: none;
}

.integration-name {
    font-weight: 600;
    color: var(--text-dark);
}

.integration-desc {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Security Section */
.security {
    padding: 100px 0;
    background: var(--secondary);
    color: white;
}

.security-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.security-text h2 {
    color: white;
    margin-bottom: 16px;
}

.security-intro {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.security-feature {
    display: flex;
    gap: 16px;
}

.check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    width: 14px;
    height: 14px;
    color: white;
}

.security-feature h4 {
    color: white;
    margin-bottom: 6px;
}

.security-feature p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.security-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vault-icon {
    width: 200px;
    height: 200px;
    color: var(--accent);
    opacity: 0.8;
}

.vault-icon svg {
    width: 100%;
    height: 100%;
}

/* Pipeline Section */
.pipeline-section {
    padding: 100px 0;
    background: var(--background);
}

.pipeline-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
}

.pipeline-feature {
    background: var(--background-alt);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    min-width: 200px;
    border: 1px solid var(--border);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 16px;
}

.pipeline-feature h3 {
    margin-bottom: 8px;
}

.pipeline-feature p {
    font-size: 0.9rem;
}

.pipeline-arrow {
    color: var(--primary);
}

.pipeline-arrow svg {
    width: 32px;
    height: 32px;
}

.pipeline-extras {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.extra {
    text-align: center;
}

.extra strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
}

.extra span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.cta-section .btn-primary:hover {
    background: var(--background-alt);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Screenshot Showcase */
.showcase {
    padding: 60px 0;
    background: var(--background);
}

.showcase-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.showcase-image {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-thumbnails {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.thumb {
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 100px;
}

.thumb img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.thumb span {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.thumb:hover {
    border-color: var(--primary);
}

.thumb.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.thumb.active span {
    color: var(--primary);
}

.showcase-caption {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Data Editor Section */
.data-editor-section {
    padding: 100px 0;
    background: var(--background-alt);
}

.data-editor-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.data-editor-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.de-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.de-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.de-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.de-feature h3 {
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.de-feature p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.data-editor-screenshots {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.de-screenshot {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border);
    background: var(--background);
}

.de-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.de-screenshot-label {
    display: block;
    padding: 12px 16px;
    background: var(--background);
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-content {
        grid-template-columns: 1fr;
    }

    .security-visual {
        display: none;
    }

    .data-editor-content {
        grid-template-columns: 1fr;
    }

    .data-editor-screenshots {
        order: -1;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 12px var(--shadow);
    }

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

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

    .hero {
        padding: 120px 0 60px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

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

    .integration-categories {
        grid-template-columns: 1fr;
    }

    .pipeline-features {
        flex-direction: column;
    }

    .pipeline-arrow {
        transform: rotate(90deg);
    }

    .pipeline-extras {
        flex-direction: column;
        gap: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}

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

.hero-content {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}
