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

:root {
    --primary-blue: #2B7A9B;
    --accent-orange: #F5A742;
    --dark-blue: #1B4F6B;
    --light-blue: #E6F3F8;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --success-green: #10B981;
    --error-red: #EF4444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-link {
    text-decoration: none;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-small {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* Buttons */
.cta-button-small {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
}

.cta-button-small:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 122, 155, 0.3);
}

.cta-button-large {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(245, 167, 66, 0.3);
}

.cta-button-large:hover {
    background-color: #E89630;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 167, 66, 0.4);
}

.cta-hint {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-light);
    opacity: 0.85;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.5;
}

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

.screenshot {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: scale(1.02);
}

/* Section Titles */
.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 50px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--gray-50);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(43, 122, 155, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* AI Hotspot Spotlight Section */
.spotlight {
    padding: 100px 0;
    background-color: var(--text-dark);
    color: var(--white);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.spotlight-image {
    display: flex;
    justify-content: center;
}

.spotlight-screenshot {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.spotlight-screenshot:hover {
    transform: scale(1.02);
}

.spotlight-badge {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.spotlight-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.spotlight-body {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 32px;
}

.spotlight-list {
    list-style: none;
    margin-bottom: 40px;
}

.spotlight-list li {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.spotlight-list li:last-child {
    border-bottom: none;
}

.check {
    color: var(--success-green);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

/* Showcase Section */
.showcase {
    padding: 100px 0;
    background-color: var(--light-blue);
}

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

.showcase-item {
    text-align: center;
}

.showcase-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.showcase-image:hover {
    transform: scale(1.03);
}

.showcase-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.showcase-item p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section .section-title {
    color: var(--white);
}

.cta-content {
    max-width: 620px;
    margin: 0 auto;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-subtext {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-text {
    color: var(--white);
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

/* =====================
   Blog — Listing Page
   ===================== */

.blog-index {
    padding: 80px 0 100px;
    min-height: 60vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-subtitle {
    font-size: 20px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 28px;
}

.blog-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 10px 0 12px;
    line-height: 1.3;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--primary-blue);
}

.blog-card-excerpt {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.read-more:hover {
    text-decoration: underline;
}

.blog-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--text-light);
    font-size: 18px;
}

/* Post meta (category badge + date) */
.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.post-category {
    display: inline-block;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 20px;
}

.post-date {
    font-size: 14px;
    color: var(--text-light);
}

/* =====================
   Blog — Post Page
   ===================== */

.blog-post {
    padding: 60px 0 80px;
}

.post-header {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.post-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 20px;
}

.post-description {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.6;
}

.post-hero-image {
    max-width: 900px;
    margin: 0 auto 60px;
}

.post-featured-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.post-content {
    max-width: 760px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 48px 0 20px;
}

.post-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 36px 0 16px;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content ul,
.post-content ol {
    margin: 0 0 24px 24px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content strong {
    font-weight: 700;
    color: var(--text-dark);
}

.post-content a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-blue);
    margin: 32px 0;
    padding: 16px 24px;
    background: var(--light-blue);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-dark);
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 16px;
}

.post-content th,
.post-content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

.post-content th {
    background-color: var(--light-blue);
    font-weight: 700;
    color: var(--primary-blue);
}

.post-content tr:hover td {
    background-color: var(--gray-50);
}

.post-content code {
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: monospace;
}

.post-cta {
    max-width: 760px;
    margin: 0 auto 40px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 48px 40px;
    border-radius: 20px;
    text-align: center;
}

.post-cta h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.post-cta p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 28px;
    line-height: 1.5;
}

.post-back {
    max-width: 760px;
    margin: 0 auto;
}

.back-to-blog {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.back-to-blog:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .spotlight-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .spotlight-image {
        order: -1;
    }

    .spotlight-title {
        font-size: 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .showcase-item {
        max-width: 100%;
    }

    /* Blog responsive */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-title {
        font-size: 34px;
    }

    .post-content {
        font-size: 17px;
    }

    .post-cta {
        padding: 36px 24px;
    }

    .post-cta h2 {
        font-size: 24px;
    }

    .post-content table {
        font-size: 14px;
    }

    .post-content th,
    .post-content td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .cta-button-large {
        padding: 14px 32px;
        font-size: 16px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .post-title {
        font-size: 28px;
    }

    .post-description {
        font-size: 17px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-image {
    animation: fadeInUp 0.8s ease-out;
}

.feature-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
