/* HARF Shorter Page Specific Styles */
:root {
    --bg: #000;
    --card: #071016;
    --muted: #9fb3b6;
    --accent-a: #00ffd4;
    --accent-b: #18ff6f;
    --glass: rgba(255, 255, 255, 0.03);
    --radius: 16px;
    --maxw: 1200px;
    --gap: 2rem;
}

/* Product Hero */
.product-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.product-hero-content {
    position: relative;
    z-index: 10;
}

.breadcrumb-nav {
    margin-bottom: 2rem;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--accent-a);
}

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

.product-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    color: var(--bg);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 255, 212, 0.3);
}

.product-logo {
    height: 100px;
    width: auto;
    margin: 0 auto 2rem;
    display: block;
    transition: transform 0.3s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.product-tagline {
    font-size: 1.3rem;
    color: var(--accent-a);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Introduction Section */
.intro-section {
    padding: 8rem 0;
    background: var(--card);
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-paragraph {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.key-highlights {
    margin-top: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border: 1px solid var(--glass);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: rgba(0, 255, 212, 0.2);
    transform: translateX(5px);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.highlight-content p {
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

/* Visual Demo */
.visual-demo {
    display: flex;
    justify-content: center;
}

.demo-window {
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--glass);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.window-header {
    background: var(--card);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--glass);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

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

.control.close { background: #ff5f57; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #28ca42; }

.window-title {
    color: var(--muted);
    font-size: 0.9rem;
}

.window-content {
    padding: 2rem;
}

.section-label {
    color: var(--muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
}

.text-preview {
    margin-bottom: 2rem;
}

.text-line {
    height: 8px;
    background: var(--glass);
    border-radius: 4px;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.text-line.long { width: 100%; }
.text-line.medium { width: 80%; }
.text-line.short { width: 60%; }
.text-line.optimized { 
    width: 70%; 
    background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
    opacity: 0.8;
}

.text-line.animated {
    animation: pulse 2s ease-in-out infinite;
}

.text-line.animated:nth-child(2) {
    animation-delay: 0.3s;
}

.text-line.animated:nth-child(3) {
    animation-delay: 0.6s;
}

.processing-animation {
    text-align: center;
    margin: 2rem 0;
}

.arrow-icon {
    color: var(--accent-a);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.processing-text {
    color: var(--muted);
    font-size: 0.9rem;
    font-style: italic;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
}

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

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--bg);
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* Technical Specs */
.specs-section {
    padding: 8rem 0;
    background: var(--card);
}

.specs-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.specs-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.specs-text p {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.spec-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border: 1px solid var(--glass);
}

.spec-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-a);
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.spec-label {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Code Preview */
.specs-visual {
    display: flex;
    justify-content: center;
}

.code-preview {
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--glass);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.code-header {
    background: var(--card);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--glass);
}

.code-tabs {
    display: flex;
    gap: 1rem;
}

.code-tab {
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--muted);
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.code-tab.active {
    background: rgba(0, 255, 212, 0.1);
    color: var(--accent-a);
}

.code-content {
    padding: 2rem;
    background: #0a0f1a;
}

.code-content pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--accent-a);
    line-height: 1.5;
    overflow-x: auto;
}

/* Demo Section */
.demo-section {
    padding: 8rem 0;
}

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

.demo-interface {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--glass);
    padding: 3rem;
}

.input-area, .output-area {
    margin-bottom: 2rem;
}

.demo-interface label {
    display: block;
    color: var(--muted);
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.demo-interface textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--glass);
    border-radius: var(--radius);
    padding: 1.5rem;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    min-height: 150px;
    transition: all 0.3s ease;
}

.demo-interface textarea:focus {
    outline: none;
    border-color: var(--accent-a);
    box-shadow: 0 0 0 2px rgba(0, 255, 212, 0.1);
}

.demo-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.output-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--card) 0%, var(--bg) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.95rem;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
    color: var(--bg);
    box-shadow: 0 4px 15px rgba(0, 255, 212, 0.4);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(0, 255, 212, 0.5),
        0 0 0 1px rgba(0, 255, 212, 0.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-a);
    color: var(--accent-a);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 212, 0.2);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    min-width: 200px;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

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

    .specs-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .demo-interface {
        padding: 2rem;
    }

    .demo-controls {
        flex-direction: column;
    }

    .demo-controls .btn {
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .product-hero {
        min-height: 70vh;
        padding-top: 80px;
    }

    .product-logo {
        height: 80px;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .demo-interface {
        padding: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .highlight-item {
        padding: 1rem;
    }

    .highlight-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .container {
        width: 100%;
        padding: 0 1rem;
    }

    .product-hero {
        padding-top: 60px;
    }

    .product-logo {
        height: 60px;
    }

    .demo-interface {
        padding: 1rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}