:root {
    --cyan: #007acc; /* ปรับสีฟ้าให้เข้มขึ้นเพื่อให้อ่านง่ายบนพื้นขาว */
    --cyan-hover: #005f9e;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.bg-glow {
    position: fixed;
    top: -20%; left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 122, 204, 0.05) 0%, rgba(248, 250, 252, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.logo-container { display: flex; align-items: center; }
.logo-img { height: 45px; width: auto; }

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a.menu-link:hover, .nav-links a.active {
    color: var(--cyan);
}

.btn-nav-download {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main) !important;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 10px 24px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-nav-download:hover {
    border-color: var(--cyan);
    color: var(--cyan) !important;
}

.beta-tag {
    background-color: var(--cyan);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
}

/* Sections */
main {
    padding: 140px 50px 80px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
    line-height: 1.1;
    color: var(--text-main);
}
h1 .highlight { color: var(--cyan); }

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

p.desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    line-height: 1.6;
    margin-bottom: 50px;
    font-weight: 400;
}

/* Images & Cards */
.hero-image-container { margin-top: 40px; max-width: 1000px; width: 100%; }
.hero-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: block;
}

.feature-grid, .cutters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.feature-card, .long-text-container, .download-box, .supported-cutters, .contact-box, .doc-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    text-align: left;
}

.feature-card { transition: all 0.3s ease; }
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan);
    box-shadow: 0 10px 20px rgba(0, 122, 204, 0.1);
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-main);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.feature-card p, .long-text-container p, .doc-container p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 15px 0;
    font-size: 1rem;
}

/* Download & Contact */
.download-box { text-align: center; max-width: 600px; margin: 0 auto 40px; }
.download-btn-main {
    background: var(--cyan);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 122, 204, 0.3);
}
.download-btn-main:hover { background: var(--cyan-hover); transform: translateY(-2px); }

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.contact-box {
    padding: 20px 40px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.contact-box:hover { color: var(--cyan); border-color: var(--cyan); }

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--card-bg);
}
footer a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 10px;
}
footer a:hover { color: var(--cyan); }

/* Responsive */
@media (max-width: 768px) {
    header { flex-direction: column; padding: 15px 20px; gap: 20px; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 15px; }
    main { padding-top: 180px; }
    h1 { font-size: 2.5rem; }
}

/* Styling for Plotter Cards on Download Page */
.cutter-brand-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    text-align: center;
}

.cutter-brand-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan);
    box-shadow: 0 10px 20px rgba(0, 122, 204, 0.1);
    background: #ffffff;
}

.cutter-brand-card h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-main);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--cyan);
    display: inline-block;
    padding-bottom: 8px;
    letter-spacing: 1px;
}

.brand-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-top: -15px;
    margin-bottom: 20px;
    font-style: italic;
}

.cutter-brand-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.cutter-brand-card ul li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.4;
}

.cutter-brand-card ul li::before {
    content: '✓';
    color: var(--cyan);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Styling for Pricing Page */
.pricing-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    margin-top: 40px;
    max-width: 900px;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    flex: 1;
    min-width: 320px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan);
    box-shadow: 0 10px 25px rgba(0, 122, 204, 0.1);
}

.pricing-badge {
    background: var(--cyan);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: absolute;
    top: 25px;
    right: -35px;
    width: 150px;
    transform: rotate(45deg);
}

.pricing-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-main);
    font-size: 1.5rem;
    margin: 0;
}

.pricing-price {
    font-size: 4rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--text-main);
    margin: 20px 0;
    font-weight: 700;
    line-height: 1;
}

.pricing-price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0 40px;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--text-muted);
    position: relative;
    padding-left: 35px;
    font-size: 1rem;
    line-height: 1.5;
}

.pricing-features li::before {
    content: '✓';
    color: var(--cyan);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    background: rgba(0, 122, 204, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}