:root {
    --primary-color: #ff3b30; /* TNT Red */
    --primary-hover: #e03026;
    --bg-color: #ffffff;
    --secondary-bg: #f8f8f8;
    --text-main: #1d1d1f;
    --text-secondary: #666666;
    --border-color: #333333; /* Darker for sandbox style */
    --card-shadow: 8px 8px 0px rgba(0, 0, 0, 0.1); /* Sandbox block shadow */
    --transition: all 0.2s ease;
    --container-width: 1200px;
    --sandbox-border: 3px solid #1d1d1f;
}

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

body {
    font-family: "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
header {
    height: 70px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: var(--sandbox-border);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-main);
    text-transform: uppercase;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: var(--text-main);
    border: var(--sandbox-border);
    box-shadow: 4px 4px 0px var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--text-main);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 900;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* TNT Dynamic Element */
.tnt-block {
    width: 200px;
    height: 200px;
    background: #ff3b30;
    border: 6px solid #1d1d1f;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 15px 15px 0px #1d1d1f;
    animation: bounce 3s infinite ease-in-out;
}

.tnt-block::before {
    content: "TNT";
    font-size: 60px;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
}

.tnt-block::after {
    content: "";
    position: absolute;
    top: -30px;
    right: 20px;
    width: 8px;
    height: 40px;
    background: #555;
    transform: rotate(15deg);
}

.fuse-spark {
    position: absolute;
    top: -45px;
    right: 15px;
    width: 15px;
    height: 15px;
    background: yellow;
    border-radius: 50%;
    box-shadow: 0 0 10px orange;
    animation: blink 0.2s infinite;
}

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

@keyframes blink {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(1.5); }
}

.cloud-element {
    position: absolute;
    background: white;
    border: 4px solid #1d1d1f;
    padding: 15px 25px;
    font-weight: 700;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.1);
    z-index: 2;
}

.cloud-1 { top: -20px; left: -40px; animation: float 4s infinite ease-in-out; }
.cloud-2 { bottom: 20px; right: -20px; animation: float 5s infinite ease-in-out 1s; }

@keyframes float {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(15px); }
}

/* Section Common */
section {
    padding: 100px 0;
}

h2 {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 40px;
    border: var(--sandbox-border);
    box-shadow: 10px 10px 0px #1d1d1f;
    background: white;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 14px 14px 0px #1d1d1f;
}

/* Pricing Table */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    border: var(--sandbox-border);
    padding: 50px 40px;
    background: white;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 10px 0px #1d1d1f;
}

.pricing-card.popular {
    background: #fff8f8;
    transform: translateY(-20px);
    border-color: var(--primary-color);
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.price {
    font-size: 52px;
    font-weight: 900;
    margin: 20px 0;
}

.price span {
    font-size: 16px;
    color: var(--text-secondary);
}

.features-list {
    list-style: none;
    margin: 30px 0;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li::before {
    content: "■";
    color: var(--primary-color);
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: var(--sandbox-border);
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 6px 6px 0px #1d1d1f;
}

.faq-item h3 {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #1d1d1f;
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col a {
    display: block;
    color: #999;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-col a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-content h1 { font-size: 48px; }
    .hero-content p { margin: 0 auto 40px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* Article pages */
.blog-container { padding: 40px 0 100px; max-width: 850px; margin: 0 auto; }
.blog-post { background: white; border: var(--sandbox-border); box-shadow: 12px 12px 0px #1d1d1f; padding: 50px; }
.blog-post h1 { font-size: 38px; line-height: 1.3; margin-bottom: 30px; border-bottom: 4px solid var(--primary-color); padding-bottom: 20px; }
.blog-post h2 { text-align: left; font-size: 26px; margin-top: 45px; margin-bottom: 20px; color: #1d1d1f; }
.blog-post p { font-size: 18px; line-height: 1.8; color: #444; margin-bottom: 25px; }
.blog-post strong { color: #000; font-weight: 700; }
.blog-post img { width: 100%; border: var(--sandbox-border); margin: 20px 0; }
.internal-link { color: var(--primary-color); font-weight: 700; text-decoration: underline; }
.blog-meta { color: #888; font-size: 14px; margin-bottom: 30px; display: block; }
.blog-post ul, .blog-post ol { padding-left: 24px; margin-bottom: 25px; }
.blog-post li { font-size: 17px; line-height: 1.8; color: #444; margin-bottom: 10px; }
.blog-post h3 { font-size: 20px; margin: 30px 0 12px; }
.blog-post a:not(.btn) { color: var(--primary-color); }
.related { margin-top: 40px; border-top: 2px dashed #ddd; padding-top: 25px; }
.related h2 { margin-top: 0 !important; font-size: 20px !important; }

/* SEO: breadcrumb, tables, summary box */
.breadcrumb { font-size: 14px; color: #888; padding-top: 30px; }
.breadcrumb a { color: #888; text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb span[aria-hidden] { margin: 0 6px; }
.table-wrap { overflow-x: auto; margin: 20px 0 30px; }
.data-table { width: 100%; border-collapse: collapse; border: var(--sandbox-border); font-size: 15px; min-width: 520px; }
.data-table th, .data-table td { border: 1px solid #1d1d1f; padding: 10px 12px; text-align: left; vertical-align: top; }
.data-table th { background: #1d1d1f; color: #fff; }
.data-table tr:nth-child(even) td { background: #f8f8f8; }
.summary-box { border: var(--sandbox-border); background: #fff5f4; padding: 20px 24px; margin: 0 0 30px; box-shadow: 6px 6px 0 #1d1d1f; }
.summary-box strong { display: block; margin-bottom: 8px; }
.summary-box ul { margin: 0; padding-left: 20px; }
.summary-box li { margin-bottom: 6px; }
.content-section { padding: 80px 0; }
.content-section h2 { margin-bottom: 30px; }
.content-section .lead { max-width: 800px; margin: 0 auto 20px; text-align: center; color: #444; font-size: 17px; }

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .nav-links { gap: 12px; }
    .nav-links a:not(.btn) { display: none; }
    .blog-post, .article-box { padding: 24px !important; box-shadow: 6px 6px 0 #1d1d1f !important; }
    .blog-post h1, .page-content h1 { font-size: 28px !important; }
}
