/* ==========================================================================
   LOCAL FONTS (INTER - EXACT FILENAMES)
   ========================================================================== */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_18pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_18pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_18pt-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   RESET & BASE VARIABLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #1e1e1e;
    --accent: #bfff00;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   NAVBAR & LOGO
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    position: relative;
    z-index: 10;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px !important; 
    max-height: 40px !important;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
}

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

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 75vh;
    padding: 0 5%;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.bg-line-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.animated-line {
    width: 100%;
    height: 100%;
}

.animated-line path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawLine 6s linear infinite alternate;
}

@keyframes drawLine {
    0% { stroke-dashoffset: 2000; }
    100% { stroke-dashoffset: 0; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.button-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    
    background-color: #2b2b2b;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    cursor: pointer;
    
    border: 2px solid #000000;
    outline: none;
    border-radius: 6px; 
    box-shadow: 0 4px 0 #000000; 
    
    --tx: 0px;
    --ty: 0px;
    --ox: 50%;
    --oy: 50%;
    
    transform: translate(var(--tx), var(--ty)) scale(1);
    transform-origin: var(--ox) var(--oy);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn:hover {
    background-color: #383838;
}

@media (min-width: 1024px) {
    .btn:hover {
        transform: translate(var(--tx), var(--ty)) scale(1.06); 
    }
}

.btn:active {
    transform: translate(0, 4px) scale(0.98) !important; 
    box-shadow: 0 0px 0 #000000 !important; 
    transition: transform 0.05s, box-shadow 0.05s;
}

/* ==========================================================================
   PRODUCTS SECTION & SLOW SOLID LINE
   ========================================================================== */
.products-section {
    position: relative; 
    overflow: hidden; 
    padding: 80px 5%;
}

.animated-line-secondary { 
    width: 100%; 
    height: 100%; 
}
.animated-line-secondary path {
    stroke-dasharray: 2000; 
    stroke-dashoffset: 2000;
    animation: drawLineSlow 15s ease-in-out infinite alternate; 
}

@keyframes drawLineSlow {
    0% { stroke-dashoffset: 2000; }
    100% { stroke-dashoffset: 0; }
}

.product-grid-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2; 
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2; 
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.product-card {
    background-color: #242424;
    border: 2px solid #333; 
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #555;
    box-shadow: 0 12px 0 rgba(0,0,0,0.5); 
}

.product-image {
    height: 220px;
    background-color: #151515;
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 20px 20px; 
    border-bottom: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
}

.placeholder-graphic {
    width: 80px;
    height: 80px;
    border: 3px solid var(--accent);
    color: var(--accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    transform: rotate(-10deg);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tags { margin-bottom: 12px; }

.tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: #333;
    color: #eee;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-ai { background-color: #4a33ff; }
.tag-blender { background-color: #ea7600; }

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #333;
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    padding: 80px 5%;
    background-color: #1a1a1a;
    border-top: 1px solid #333;
}

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

.faq-item {
    background-color: #242424;
    border: 2px solid #333;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none; 
    outline: none;
    transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background-color: #2a2a2a;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-family: monospace;
    color: var(--accent);
    line-height: 1;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--text-muted);
}

.faq-item[open] summary {
    border-bottom: 1px solid #333;
}

.faq-content {
    padding: 20px;
    color: var(--text-muted);
    line-height: 1.7;
    background-color: #1e1e1e;
}

.faq-content code {
    background-color: #111;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #333;
    font-family: monospace;
    font-size: 0.9rem;
    color: #ccc;
    word-break: break-all;
}

/* ==========================================================================
   PORTFOLIO YOUTUBE SECTION
   ========================================================================== */
.portfolio-header {
    text-align: center;
    padding: 60px 5% 20px;
}
.portfolio-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -2px;
}
.portfolio-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.portfolio-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.video-grid {
    display: grid;
    gap: 32px;
}

.horizontal-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.vertical-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.yt-facade {
    position: relative;
    background-color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #333;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.yt-facade:hover {
    transform: translateY(-8px);
    border-color: #555;
    box-shadow: 0 12px 0 rgba(0,0,0,0.5); 
}

.yt-facade.horizontal { aspect-ratio: 16 / 9; }
.yt-facade.vertical { aspect-ratio: 9 / 16; }

.yt-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.yt-facade:hover img { opacity: 0.3; }

.play-btn {
    position: absolute;
    width: 64px;
    height: 64px;
    background-color: var(--accent);
    border: 2px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 0 #000;
    transition: transform 0.1s;
    z-index: 2;
}

.yt-facade:active .play-btn {
    transform: translateY(4px) scale(0.95);
    box-shadow: 0 0px 0 #000;
}

.yt-facade iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: none;
    background-color: #000;
    z-index: 3;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    padding: 80px 5% 40px 5%;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.contact-email {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #333;
}

.email-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 8px;
}

.email-address {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

.email-address:hover { opacity: 0.8; }

.contact-info .social-links { display: flex; gap: 12px; }

.dry-form { display: flex; flex-direction: column; gap: 20px; }

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dry-form input, .dry-form textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #242424;
    border: 2px solid #333;
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dry-form input:focus, .dry-form textarea:focus {
    border-color: var(--accent);
    background-color: #2a2a2a;
}

.form-success {
    color: var(--accent);
    background-color: rgba(191, 255, 0, 0.1);
    border: 1px solid var(--accent);
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

.form-error {
    color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.1);
    border: 1px solid #ff4d4d;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px 5%;
    }
    
    .nav-links {
        justify-content: center;
        gap: 16px;
    }
    
    .nav-links a { margin: 0; }

    .hero {
        min-height: auto;
        padding: 80px 5% 60px 5%;
    }

    .hero h1 {
        font-size: 2.5rem; 
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}