/* ==========================================
   ANVYR.DEV - ONE PAGER
   ========================================== */

:root {
    --bg: #09090b;
    --bg-elevated: #18181b;
    --bg-subtle: #0f0f11;
    --text: #fafafa;
    --text-secondary: #d4d4d8;
    --text-muted: #71717a;
    --accent: #a1a1aa;
    --border: #27272a;
    --border-hover: #52525b;
    --glow: rgba(250, 250, 250, 0.03);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

.page {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    padding: 5rem 0 3.5rem;
    text-align: center;
}

.logo {
    margin-bottom: 1.25rem;
}

.logo-img {
    width: 18rem;
    opacity: 0.95;
    transition: opacity var(--transition);
}

.logo-img:hover {
    opacity: 1;
}

.tagline {
    font-size: 0.9375rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    font-weight: 400;
}

/* ==========================================
   ABOUT
   ========================================== */
.about {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.about p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    letter-spacing: -0.01em;
}

.about p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   PRODUCTS
   ========================================== */
.products {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.products h2 {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.product-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-subtle) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glow);
    opacity: 0;
    transition: opacity var(--transition);
}

.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--border);
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
    min-width: 0;
}

.product-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    letter-spacing: -0.01em;
}

.product-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.product-arrow {
    flex-shrink: 0;
    font-size: 1.125rem;
    color: var(--text-muted);
    transition: all var(--transition);
}

.product-card:hover .product-arrow {
    transform: translateX(4px);
    color: var(--text);
}

/* ==========================================
   CONTACT
   ========================================== */
.contact {
    padding: 5rem 0 4rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.contact h2 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
    letter-spacing: -0.02em;
}

.contact p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    padding: 0.875rem 1.75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.email:hover {
    border-color: var(--border-hover);
    background: var(--bg-subtle);
    transform: translateY(-2px);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 3rem 0 4rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-muted);
    transform: scaleX(0);
    transition: transform var(--transition);
}

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

.footer-links a:hover::after {
    transform: scaleX(1);
}

.copyright {
    font-size: 0.8125rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 640px) {
    .page {
        padding: 0 1.25rem;
    }
    
    .hero {
        padding: 3.5rem 0 2.5rem;
    }
    
    .logo-img {
        width: 12rem;
    }
    
    .tagline {
        font-size: 0.875rem;
    }
    
    .about,
    .products {
        padding: 3rem 0;
    }
    
    .about p {
        font-size: 1rem;
    }
    
    .contact {
        padding: 3.5rem 0 3rem;
    }
    
    .contact h2 {
        font-size: 1.25rem;
    }
    
    .product-card {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .product-icon {
        width: 44px;
        height: 44px;
    }
    
    .product-info p {
        display: none;
    }
    
    .footer-links {
        gap: 1.75rem;
    }
}
