:root {
    --pro-bg: #ffffff;
    --pro-card-bg: #f9fafb;
    --pro-border: #e5e7eb;
    --pro-text: #111827;
    --pro-text-dim: #6b7280;
    --pro-accent: #2563eb; /* Royal Blue */
    --pro-accent-glow: rgba(37, 99, 235, 0.15);
    --pro-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --pro-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --ease-pro: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--pro-bg);
    color: var(--pro-text);
    font-family: var(--pro-font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: var(--pro-accent); }

/* Grid Utilities */
.container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
}

/* Navbar */
.nav-pro {
    position: fixed; top: 0; width: 100%; height: 70px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--pro-border);
    display: flex; align-items: center; z-index: 1000;
}
.nav-inner {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
}
.logo-pro {
    font-family: var(--pro-font-mono); font-weight: 700; font-size: 20px;
    letter-spacing: -1px; display: flex; align-items: center; gap: 10px;
}
.logo-tag {
    font-size: 10px; background: var(--pro-accent); color: white;
    padding: 2px 6px; border-radius: 4px; text-transform: uppercase;
}
.nav-menu { display: flex; gap: 32px; }
.nav-menu a {
    font-size: 14px; color: var(--pro-text-dim); font-weight: 500;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--pro-text); }

/* Hero */
.hero-pro {
    padding: 180px 0 120px; text-align: center;
    background: radial-gradient(circle at 50% 0%, #f3f4f6 0%, var(--pro-bg) 70%);
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 999px;
    background: white; border: 1px solid var(--pro-border);
    font-size: 13px; color: var(--pro-text-dim); margin-bottom: 32px;
    font-family: var(--pro-font-mono);
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.hero-badge span { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; }

.hero-title {
    font-size: clamp(48px, 6vw, 80px); line-height: 1.1; font-weight: 800;
    letter-spacing: -3px; margin-bottom: 24px;
    color: var(--pro-text);
}
.hero-desc {
    font-size: 20px; color: var(--pro-text-dim); max-width: 600px; margin: 0 auto 48px;
    font-weight: 400;
}
.btn-pro {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; background: var(--pro-text); color: white;
    font-weight: 600; border-radius: 8px; font-size: 16px;
    transition: all 0.3s var(--ease-pro);
}
.btn-pro:hover {
    transform: translateY(-2px); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    background: #000;
}
.btn-pro.outline {
    background: white; border: 1px solid var(--pro-border); color: var(--pro-text);
    margin-left: 16px;
}
.btn-pro.outline:hover { border-color: var(--pro-text); background: #f9fafb; }

/* Bento Grid */
.bento-section { padding: 80px 0; }
.bento-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    grid-auto-rows: minmax(300px, auto);
}

.bento-card {
    background: var(--pro-card-bg); border: 1px solid var(--pro-border);
    border-radius: 24px; padding: 40px; position: relative; overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex; flex-direction: column;
    text-decoration: none !important; color: inherit;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Super Creative Hover Effect */
.bento-card::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(37, 99, 235, 0.06), transparent 40%);
    opacity: 0; transition: opacity 0.5s; pointer-events: none; z-index: 1;
}

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

.bento-card:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    box-shadow: 
        20px 20px 60px rgba(0, 0, 0, 0.05),
        -20px -20px 60px rgba(255, 255, 255, 0.8);
    background: white;
    border-color: transparent;
}

.bento-icon {
    width: 56px; height: 56px; background: white;
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: var(--pro-accent); margin-bottom: 24px;
    border: 1px solid var(--pro-border);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative; z-index: 2;
}

/* Icon Explosion Effect */
.bento-card:hover .bento-icon {
    transform: scale(1.1) translateZ(20px);
    background: var(--pro-accent); color: white;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
    border-radius: 50%; /* Morph to circle */
}

.bento-card h3 {
    font-size: 24px; margin-bottom: 12px; font-weight: 600; color: var(--pro-text);
    transition: transform 0.4s; position: relative; z-index: 2;
}
.bento-card:hover h3 { transform: translateX(10px); }

.bento-card p {
    color: var(--pro-text-dim); font-size: 15px; line-height: 1.6;
    transition: transform 0.4s; position: relative; z-index: 2;
}
.bento-card:hover p { transform: translateX(10px); }

/* Background Parallax */
.bento-bg {
    position: absolute; bottom: -20px; right: -20px; width: 120%; height: 80%;
    opacity: 0.05; pointer-events: none;
    background-size: cover; background-position: center;
    mask-image: linear-gradient(to top, black, transparent);
    -webkit-mask-image: linear-gradient(to top, black, transparent);
    filter: grayscale(100%) blur(2px);
    transition: all 0.8s ease;
    transform: rotate(-5deg) scale(1);
}
.bento-card:hover .bento-bg {
    opacity: 0.2; filter: grayscale(0%) blur(0);
    transform: rotate(0deg) scale(1.1) translate(-10px, -10px);
}

.bento-card.wide { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; }

/* Detail Page Styles */
.detail-pro-header {
    padding: 160px 0 80px; border-bottom: 1px solid var(--pro-border);
}
.detail-pro-header h1 { font-size: 56px; margin-bottom: 24px; letter-spacing: -2px; }
.detail-content { padding: 80px 0; max-width: 800px; margin: 0 auto; }
.tech-spec-list {
    list-style: none; margin-top: 40px; border-top: 1px solid var(--pro-border);
}
.tech-spec-item {
    display: flex; justify-content: space-between; padding: 20px 0;
    border-bottom: 1px solid var(--pro-border); font-family: var(--pro-font-mono);
    font-size: 14px;
}
.tech-spec-key { color: var(--pro-text-dim); }

/* Download Page Styles */
.dl-pro-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px;
    margin-top: 60px;
}
.dl-card {
    background: var(--pro-card-bg); border: 1px solid var(--pro-border);
    border-radius: 16px; padding: 32px; text-align: center;
    transition: all 0.3s;
}
.dl-card:hover {
    border-color: var(--pro-text); background: white;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
}
.dl-ver {
    font-family: var(--pro-font-mono); font-size: 12px; color: var(--pro-accent);
    margin-bottom: 16px; display: block; background: rgba(37, 99, 235, 0.1);
    padding: 4px 8px; border-radius: 4px; display: inline-block;
}

/* Footer */
.footer-pro {
    border-top: 1px solid var(--pro-border); padding: 80px 0;
    margin-top: 80px; color: var(--pro-text-dim); font-size: 14px;
    background: #f9fafb;
}

@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.wide, .bento-card.tall { grid-column: span 1; grid-row: span 1; }
}
