@font-face {
    font-family: 'CustomFont';
    src: url('../fonts/font.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CustomFont';
    src: url('../fonts/bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}


:root {
    --bg: #0a0a0a;
    --card: #0f0f0f;
    --card-hover: #141414;
    --muted: #9ca3af;
    --text: #e5e7eb;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --border: #1f1f1f;
}

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

body {
    font-family: 'CustomFont', Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Header */
header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(15, 15, 15, 0.8);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'CustomFont', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}

nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

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

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

/* Hero Section */
.hero-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 32px 60px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-content .subtitle {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.5;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 16px;
    left: 5rem;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: fit-content;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(211, 146, 6, 0.4), 0 0 40px rgba(211, 190, 6, 0.3), 0 0 60px rgba(211, 211, 6, 0.1);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(211, 146, 6, 0.5), 0 0 40px rgba(211, 190, 6, 0.3), 0 0 60px rgba(211, 211, 6, 0.1); }
    50% { box-shadow: 0 0 30px rgba(211, 146, 6, 0.6), 0 0 60px rgba(211, 190, 6, 0.4), 0 0 90px rgba(211, 211, 6, 0.1); }
}

.profile-text h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.profile-text p {
    font-size: 14px;
    color: var(--muted);
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all .2s ease;
    font-size: 14px;
}

.social-link:hover {
    border-color: var(--accent);
    background: var(--card-hover);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

/* 3D Character */
.hero-3d {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-placeholder {
    width: 150%;
    height: 150%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.buddy-img {
    max-width: 150%;
    max-height: 150%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

/* Tools Section */
.tools-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 32px 80px;
}

.section-header {
    margin-bottom: 40px;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
}

.tool-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tool-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.tool-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent 70%);
}

.tool-content {
    padding: 24px;
}

.tool-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.tool-content p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 14px;
}

.tool-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer */
footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 40px 32px;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    color: var(--muted);
    font-size: 14px;
}

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

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

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

/* Responsive */
@media(max-width:1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 32px 40px;
    }

    .hero-3d {
        order: -1;
        height: 300px;
    }

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

@media(max-width:768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .profile-info {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
