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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --accent: #00ff88;
    --accent-hover: #00cc6f;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border: #2a2a2a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
    display: inline-block;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text {
    background: linear-gradient(135deg, var(--accent), #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
}

.lang-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-btn.active {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
    min-height: 60vh;
}

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

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

.title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out;
}

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

.flow-diagram {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}

.node {
    background: var(--bg-card);
    border: 2px solid var(--border);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.node:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

.node-start {
    border-color: var(--accent);
}

.node-process {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.6); }
}

.node-end {
    border-color: #00ccff;
}

.connector {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #00ccff);
    position: relative;
}

.connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--accent);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.features {
    margin-bottom: 8rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #00ccff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.about {
    margin-bottom: 8rem;
    background: var(--bg-secondary);
    padding: 4rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact {
    text-align: center;
    margin-bottom: 6rem;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.examples-section {
    margin-bottom: 8rem;
}

.example-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.example-card:hover {
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.example-icon {
    font-size: 2.5rem;
}

.example-header h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
}

.example-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.example-workflow {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-card);
    border-radius: 6px;
    border: 1px solid var(--border);
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.workflow-step:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
}

.workflow-arrow {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .title {
        font-size: 2.5rem;
    }

    .flow-diagram {
        flex-direction: column;
    }

    .connector {
        width: 2px;
        height: 40px;
        transform: rotate(90deg);
    }

    .connector::after {
        content: '';
        right: -4px;
        top: 30px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 8px solid var(--accent);
        border-bottom: none;
    }

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

    .stats {
        flex-direction: column;
    }

    .example-workflow {
        flex-direction: column;
    }

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

    .example-before-after {
        flex-direction: column;
    }

    .examples-grid-direct {
        grid-template-columns: 1fr;
    }

    .example-visual-flow {
        flex-direction: column;
        align-items: center;
    }

    .flow-connector-visual {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
}

/* Direct Examples Grid Styles */
.examples-grid-direct {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.example-card-direct {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.example-card-direct:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.15);
}

.example-visual-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.example-icon-large {
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.example-visual-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.example-visual-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 80px;
}

.flow-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 10px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.example-card-direct:hover .flow-icon {
    background: var(--accent);
    transform: scale(1.1);
}

.flow-item span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 600;
}

.flow-connector-visual {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.example-quick-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Learn Page Styles */
.explanation-section {
    margin-bottom: 6rem;
}

.explanation-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.explanation-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.explanation-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.explanation-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
}

.analogy-section {
    margin-bottom: 6rem;
}

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

.analogy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.analogy-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.analogy-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.analogy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.analogy-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.how-it-works {
    margin-bottom: 6rem;
    background: var(--bg-secondary);
    padding: 4rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.step-visual {
    flex-shrink: 0;
}

.step-number-large {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.step-connector-large {
    text-align: center;
    color: var(--accent);
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
    margin-left: 30px;
}

.benefits-section {
    margin-bottom: 6rem;
}

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

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.real-example-section {
    margin-bottom: 6rem;
}

.real-example-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
}

.real-example-card h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.example-before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.before-box,
.after-box {
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.before-box {
    background: rgba(255, 0, 0, 0.05);
    border-color: rgba(255, 100, 100, 0.3);
}

.after-box {
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
}

.before-box h4,
.after-box h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.manual-steps,
.auto-steps {
    list-style: none;
    padding: 0;
}

.manual-steps li,
.auto-steps li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    line-height: 1.8;
    border-bottom: 1px solid var(--border);
}

.manual-steps li:last-child,
.auto-steps li:last-child {
    border-bottom: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border);
}

.auto-steps li:not(:first-child):not(:last-child) {
    color: var(--accent);
}

.no-tech-needed {
    margin-bottom: 6rem;
}

.no-tech-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.no-tech-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.no-tech-card h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.no-tech-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.no-tech-card strong {
    color: var(--accent);
}

@media (max-width: 768px) {
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-connector-large {
        margin-left: 0;
    }

    .example-before-after {
        grid-template-columns: 1fr;
    }

    .analogy-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

