/* Global Design System & Variables */
:root {
    --primary: #5C3E21;        /* Deep Roasted Coffee */
    --primary-light: #896740;  /* Warm Caramel */
    --secondary: #C6A47E;      /* Milky Latte Cream */
    --accent: #EADBC8;         /* Light Foam Cream */
    --bg-dark: #120905;        /* Rich Dark Espresso */
    --bg-card: rgba(28, 16, 10, 0.75); /* Premium Glassmorphic Brown Card */
    --text-light: #FFFBF9;     /* Cream White */
    --text-muted: #D7CCC8;     /* Soft Muted Cocoa */
    --border-color: rgba(234, 219, 200, 0.12);
    --glow-color: rgba(198, 164, 126, 0.25);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    background: radial-gradient(circle at top right, #25130A, #120905 50%, #0C0503 100%);
    position: relative;
}

/* Ambient Background Glow Blobs */
.bg-glow-1 {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(137, 103, 64, 0.15) 0%, rgba(0,0,0,0) 70%);
    top: 5%;
    right: -10%;
    z-index: -2;
    pointer-events: none;
    filter: blur(80px);
}

.bg-glow-2 {
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 62, 33, 0.12) 0%, rgba(0,0,0,0) 70%);
    bottom: -10%;
    left: -20%;
    z-index: -2;
    pointer-events: none;
    filter: blur(100px);
}

/* Background Image Overlay & Clouds */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(18, 9, 5, 0.3) 0%, rgba(18, 9, 5, 0.95) 100%), url('../images/coffee-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: -3;
    pointer-events: none;
}

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

.cloud {
    position: absolute;
    background: radial-gradient(circle, rgba(234, 219, 200, 0.1) 0%, rgba(234, 219, 200, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: floatHorizontal 60s linear infinite;
}

.cloud-1 {
    width: 500px;
    height: 500px;
    top: 10%;
    left: -20%;
    animation-duration: 100s;
}

.cloud-2 {
    width: 700px;
    height: 700px;
    top: 50%;
    left: -30%;
    animation-duration: 140s;
    animation-delay: -40s;
}

.cloud-3 {
    width: 400px;
    height: 400px;
    top: 30%;
    left: -15%;
    animation-duration: 85s;
    animation-delay: -15s;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--secondary) 100%);
}

/* Header & Navigation */
header {
    width: 100%;
    padding: 1.25rem 5%;
    position: sticky;
    top: 0;
    background: rgba(18, 9, 5, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--accent);
    padding: 2px;
    border: 2px solid var(--primary-light);
    object-fit: cover;
    box-shadow: 0 0 15px rgba(198, 164, 126, 0.3);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 850;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--accent) 0%, #FFFFFF 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

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

nav a:hover::after {
    width: 100%;
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    color: var(--text-light);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 20px rgba(198, 164, 126, 0.25);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(198, 164, 126, 0.5);
    border-color: var(--accent);
}

.counter-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-left: 2px solid var(--primary-light);
    padding-left: 1.2rem;
}

.counter-num {
    font-family: 'Outfit', monospace;
    font-weight: bold;
    color: var(--secondary);
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--glow-color);
}

/* Hero Section & Image wrapper (图4 更换风格) */
.hero {
    padding: 8rem 5% 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 5rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 850;
    line-height: 1.15;
    margin-bottom: 1.8rem;
    background: linear-gradient(135deg, var(--accent) 0%, #FFFFFF 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.8rem;
    max-width: 650px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.secondary-btn {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px dashed var(--secondary);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    color: var(--text-light);
    border-bottom-color: var(--text-light);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.coffee-cup-image-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(135deg, rgba(198, 164, 126, 0.4) 0%, rgba(234, 219, 200, 0.05) 100%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 
                0 0 30px rgba(198, 164, 126, 0.25),
                inset 0 1px 2px rgba(255,255,255,0.1);
    animation: hoverCup 6s ease-in-out infinite;
}

.coffee-hero-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-dark);
}

/* Rising Steam Elements (Float over image) */
.steam-container {
    position: absolute;
    top: -70px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 25px;
    pointer-events: none;
    z-index: 10;
}

.steam-line {
    width: 8px;
    height: 70px;
    background: linear-gradient(to top, rgba(234, 219, 200, 0.5), rgba(255,255,255,0));
    border-radius: 50%;
    filter: blur(3px);
    animation: riseSteam 4s infinite linear;
}

.steam-line:nth-child(2) { animation-delay: 1.3s; animation-duration: 4.8s; width: 10px; }
.steam-line:nth-child(3) { animation-delay: 2.6s; animation-duration: 4.1s; }

/* Sections Styling */
section {
    padding: 7rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-header h2,
.section-header h3,
.section-header h5 {
    font-size: 2.8rem;
    font-weight: 850;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--text-light) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

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

/* ========================================================
   图1 更换风格: 咖啡馆黑板垂直菜单 (Instruction 1)
   ======================================================== */
.menu-board-container {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(32, 18, 12, 0.85) 0%, rgba(14, 7, 4, 0.95) 100%);
    border: 2px solid var(--primary);
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 
                inset 0 1px 2px rgba(255,255,255,0.05),
                0 0 30px rgba(92, 62, 33, 0.15);
}

.menu-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed rgba(198, 164, 126, 0.2);
    padding-bottom: 1.25rem;
    margin-bottom: 2rem;
}

.menu-board-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 2px;
}

.menu-board-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-weight: bold;
}

.menu-board-list {
    max-height: 520px; /* Fixed height for scrolling */
    overflow-y: auto;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Custom scrollbar inside the menu board */
.menu-board-list::-webkit-scrollbar {
    width: 6px;
}
.menu-board-list::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.menu-item-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.6rem 2.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(234, 219, 200, 0.05);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menu-item-row:hover {
    background: rgba(92, 62, 33, 0.15);
    border-color: rgba(198, 164, 126, 0.3);
    transform: translateX(8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.menu-item-number {
    font-family: 'Outfit', monospace;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    opacity: 0.8;
}

.menu-item-row:hover .menu-item-number {
    color: var(--accent);
    transform: scale(1.1);
}

.menu-item-details {
    flex-grow: 1;
}

.menu-item-tag {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.menu-item-details h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
    font-weight: 750;
    transition: color 0.3s ease;
}

.menu-item-row:hover .menu-item-details h3 {
    color: var(--accent);
}

.menu-item-details p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.menu-read-wrapper {
    flex-shrink: 0;
}

.menu-read-btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.3s ease;
    background: transparent;
}

.menu-item-row:hover .menu-read-btn {
    background: var(--secondary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(198, 164, 126, 0.4);
}

/* ========================================================
   图2 更换风格: 咖啡杯造型卡片设计 (Instruction 2)
   ======================================================== */
.pricing-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: linear-gradient(180deg, rgba(28, 16, 10, 0.5) 0%, rgba(18, 9, 5, 0.95) 100%);
    border: 2px solid rgba(234, 219, 200, 0.15);
    /* Silhouette of a coffee cup (Flat top, heavily curved bottom) */
    border-radius: 24px 24px 80px 80px; 
    padding: 4rem 2.2rem 3rem 2.2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.05);
}

/* Real-looking Coffee Cup Handle on the right side of the card */
.cup-handle {
    position: absolute;
    right: -24px;
    top: 30%;
    width: 30px;
    height: 100px;
    border: 6px solid rgba(234, 219, 200, 0.15);
    border-left: none;
    border-radius: 0 45px 45px 0;
    z-index: 1;
    pointer-events: none;
    transition: border-color 0.3s, right 0.3s;
}

.pricing-card:hover .cup-handle {
    border-color: var(--secondary);
    right: -28px;
}

/* Plan Steam rising on Hover */
.plan-steam-container {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.p-steam {
    width: 5px;
    height: 25px;
    background: linear-gradient(to top, rgba(234, 219, 200, 0.5), rgba(255,255,255,0));
    border-radius: 50%;
    filter: blur(1.5px);
    animation: riseSteam 2.5s infinite linear;
}

.p-steam:nth-child(2) { animation-delay: 0.8s; width: 6px; }

.pricing-card:hover .plan-steam-container {
    opacity: 1;
    top: -35px;
}

/* Fill cup with hot coffee on hover */
.pricing-card:hover {
    border-color: var(--secondary);
    background: linear-gradient(180deg, rgba(28, 16, 10, 0.3) 0%, rgba(92, 62, 33, 0.4) 60%, rgba(92, 62, 33, 0.8) 100%);
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.6), 
                0 0 20px rgba(198, 164, 126, 0.2), 
                inset 0 1px 2px rgba(255,255,255,0.1);
}

/* Featured card (Large Cup) adjustments */
.pricing-card.featured {
    border-color: var(--secondary);
    background: linear-gradient(180deg, rgba(58, 33, 19, 0.4) 0%, rgba(38, 22, 13, 0.6) 50%, rgba(58, 33, 19, 0.85) 100%);
    transform: scale(1.03);
    animation: featuredPulse 6s infinite ease-in-out;
}

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.03);
}

.pricing-card.featured .cup-handle {
    border-color: var(--secondary);
    border-width: 7px;
}

.pricing-card.featured::before {
    content: '☕ POPULAR CUP';
    position: absolute;
    top: 20px;
    right: 25px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--bg-dark);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

.plan-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 850;
    color: var(--accent);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    font-family: 'Outfit', sans-serif;
}

.plan-price span {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid rgba(234, 219, 200, 0.08);
    padding-top: 1.5rem;
}

.plan-features li {
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plan-features li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Card Action Button */
.pricing-card .cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.pricing-card.featured .cta-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--bg-dark);
    font-weight: 750;
    border: none;
    box-shadow: 0 5px 20px rgba(198, 164, 126, 0.3);
}

.pricing-card.featured .cta-btn:hover {
    box-shadow: 0 8px 25px rgba(198, 164, 126, 0.5);
    background: linear-gradient(135deg, var(--accent) 0%, #FFFFFF 100%);
}

/* ========================================================
   图3 更换风格: Telegram 交流群与机架控制台 (Instruction 3)
   ======================================================== */
.h4-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    margin-top: 2rem;
}

/* Left Panel: Telegram Chat log wrapper */
.chat-console-wrapper {
    background: #140C07; /* Dark chat theme */
    border: 2px solid #2D190E;
    border-radius: 28px;
    overflow: hidden;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 45px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.05);
}

.chat-console-header {
    background: rgba(45, 25, 14, 0.7);
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(234, 219, 200, 0.08);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chat-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00E676;
    box-shadow: 0 0 10px #00E676;
}

.chat-title {
    font-weight: 750;
    color: var(--text-light);
    font-size: 1.05rem;
    flex-grow: 1;
}

.chat-members {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.chat-messages-container {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.chat-bubble-thread {
    position: absolute;
    width: calc(100% - 4rem);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
    transform: translateY(15px);
}

.chat-bubble-thread.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
}

.chat-bubble-user {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--text-light);
    font-size: 0.95rem;
}

.chat-user-details {
    display: flex;
    flex-direction: column;
}

.chat-user-name {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--accent);
}

.chat-user-status {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.chat-bubble-content {
    background: rgba(45, 25, 14, 0.6);
    border: 1px solid rgba(234, 219, 200, 0.08);
    border-radius: 4px 20px 20px 20px;
    padding: 1.4rem 1.6rem;
    position: relative;
    max-width: 90%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.chat-bubble-content p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-light);
}

.chat-time {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
}

/* Right Panel: Server Rack Board speed test */
.server-rack-wrapper {
    background: linear-gradient(180deg, #100805 0%, #060302 100%);
    border: 3px solid #2D190E;
    border-radius: 28px;
    padding: 2.5rem 2.2rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7), 
                inset 0 1px 2px rgba(255,255,255,0.05);
}

.rack-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #2D190E;
    padding-bottom: 1rem;
    margin-bottom: 1.8rem;
}

.rack-title {
    font-family: 'Outfit', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--secondary);
    letter-spacing: 1.5px;
}

.rack-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: bold;
    color: #00FF66;
    letter-spacing: 1px;
}

.rack-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00FF66;
    box-shadow: 0 0 10px #00FF66;
    animation: pulse 1.5s infinite;
}

.rack-server-blades {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Individual Blade Row */
.rack-blade-row {
    display: grid;
    grid-template-columns: 40px 1.5fr 1fr;
    align-items: center;
    padding: 0.9rem 1.4rem;
    background: #090402;
    border: 1px solid #1C0F08;
    border-radius: 12px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.8);
    transition: all 0.3s ease;
}

.rack-blade-row:hover {
    border-color: var(--primary-light);
    background: #0C0603;
    transform: scale(1.01);
}

.blade-leds {
    display: flex;
    gap: 6px;
}

.led-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.led-dot.green {
    background: #00FF66;
    box-shadow: 0 0 8px #00FF66;
}

.led-dot.blue {
    background: #00E5FF;
    box-shadow: 0 0 8px #00E5FF;
}

.led-dot.blue.blink {
    animation: blinkLed 0.8s infinite alternate;
}

@keyframes blinkLed {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
}

.blade-info {
    display: flex;
    justify-content: space-between;
    padding-right: 2rem;
    align-items: center;
}

.blade-node-name {
    font-family: 'Outfit', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.blade-ping-number {
    font-family: 'Outfit', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    color: #00FF66;
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.2);
}

.blade-speed-gauge {
    width: 100%;
}

.rack-progress-bg {
    width: 100%;
    height: 8px;
    background: #140C07;
    border-radius: 4px;
    border: 1px solid #25130A;
    overflow: hidden;
}

.rack-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    width: 0;
    transition: width 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 4px;
}

/* H5 FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.faq-card {
    background: linear-gradient(135deg, rgba(38, 22, 13, 0.6) 0%, rgba(18, 9, 5, 0.8) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.8rem 2.2rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.faq-card:hover {
    border-color: rgba(198, 164, 126, 0.4);
    background: linear-gradient(135deg, rgba(38, 22, 13, 0.85) 0%, rgba(18, 9, 5, 0.95) 100%);
    transform: translateY(-3px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-light);
}

.faq-icon {
    font-size: 1.3rem;
    color: var(--secondary);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), margin-top 0.4s ease;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-card.open .faq-answer {
    max-height: 250px;
    margin-top: 1.2rem;
}

.faq-card.open .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

/* H6 All Devices Protected Section */
.protection-section {
    background: linear-gradient(180deg, rgba(38, 22, 13, 0.3) 0%, rgba(18, 9, 5, 0.6) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 6rem 5%;
    text-align: center;
}

.protection-section h6 {
    font-size: 2.5rem;
    font-weight: 850;
    margin-bottom: 1.2rem;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--accent) 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.protection-section p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 4rem auto;
}

.device-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
}

.device-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.device-item:hover {
    transform: translateY(-8px);
    color: var(--accent);
}

.device-svg {
    width: 55px;
    height: 55px;
    fill: currentColor;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Footer & PBN Weight Injector (Core Task 2) */
footer {
    width: 100%;
    padding: 4rem 5% 3rem 5%;
    background: #080402;
    border-top: 1px solid rgba(234, 219, 200, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Low-profile SEO Friend Link styling */
.seo-pbn-links {
    margin-top: 0.8rem;
    display: flex;
    gap: 1.8rem;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem; /* low profile size */
    opacity: 0.55;
    transition: opacity 0.3s ease;
}

.seo-pbn-links:hover {
    opacity: 1.0;
}

.seo-pbn-links a {
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.seo-pbn-links a:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

/* Article Page Layout Styles */
.article-page {
    max-width: 900px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.article-header {
    margin-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2.5rem;
}

.article-header h1 {
    font-size: 2.8rem;
    font-weight: 850;
    line-height: 1.3;
    margin-bottom: 1.8rem;
    background: linear-gradient(135deg, var(--accent) 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-meta-info {
    display: flex;
    gap: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.article-content {
    font-size: 1.15rem;
    line-height: 1.85;
    color: #ECE0D1;
}

.article-content p {
    margin-bottom: 1.8rem;
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--accent);
    margin: 3rem 0 1.5rem 0;
    border-left: 5px solid var(--secondary);
    padding-left: 1rem;
}

.article-content h3 {
    font-size: 1.45rem;
    color: var(--text-light);
    margin: 2.5rem 0 1.2rem 0;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.8rem;
    padding-left: 2.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content blockquote {
    border-left: 5px solid var(--primary-light);
    padding: 1.25rem 2rem;
    margin: 2.5rem 0;
    background: rgba(234, 219, 200, 0.04);
    font-style: italic;
    border-radius: 0 12px 12px 0;
}

.article-content a {
    color: var(--secondary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.article-content a:hover {
    color: var(--accent);
}

.back-to-home {
    margin-bottom: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-to-home:hover {
    color: var(--accent);
}

/* Animations Keyframes */
@keyframes riseSteam {
    0% {
        transform: translateY(15px) scaleX(1);
        opacity: 0;
    }
    15% {
        opacity: 0.55;
    }
    50% {
        transform: translateY(-25px) scaleX(1.5) skewX(4deg);
        opacity: 0.25;
    }
    100% {
        transform: translateY(-60px) scaleX(2) skewX(-8deg);
        opacity: 0;
    }
}

@keyframes floatHorizontal {
    0% {
        transform: translateX(-100px);
    }
    50% {
        transform: translateX(100px);
    }
    100% {
        transform: translateX(-100px);
    }
}

@keyframes hoverCup {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.45;
        transform: scale(0.85);
    }
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .h4-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
        padding-top: 6rem;
    }
    .hero-content p {
        margin: 0 auto 2.5rem auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .h4-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.25rem;
    }
    .counter-container {
        align-items: center;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 0.75rem;
        width: 100%;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .coffee-cup-image-wrapper {
        width: 260px;
        height: 260px;
    }
    .section-header h2,
    .section-header h3,
    .section-header h5 {
        font-size: 2.2rem;
    }
    .chat-console-wrapper {
        min-height: 400px;
    }
    .server-rack-wrapper {
        padding: 2rem 1.5rem;
    }
    .menu-board-container {
        padding: 1.5rem;
    }
    .menu-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }
    .menu-read-btn {
        width: 100%;
        text-align: center;
    }
}
