/*
Theme Name: Easy-ITIN Custom Blog Theme
Theme URI: https://easy-itin.com/
Description: A custom, ultra-fast, premium glassmorphism theme designed to display daily articles from Laura while serving Easy-ITIN and All7 business service flows.
Version: 1.0.3
Author: Antigravity AI
Author URI: https://github.com/Gitlawb/openclaude
Text Domain: easy-itin
*/

:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --accent: #10b981;
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Outfit', sans-serif;
}

/* Background Blobs for Glassmorphism effect */
.blob-c {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
    border-radius: 50%;
}
.blob-1 {
    top: -5%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.5) 0%, rgba(15,23,42,0) 70%);
}
.blob-2 {
    bottom: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16,185,129,0.2) 0%, rgba(15,23,42,0) 70%);
}

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    margin-bottom: 40px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
}

.logo span {
    background: linear-gradient(90deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 32px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-signin {
    color: var(--text-muted);
}

/* Buttons */
.btn, .btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white !important;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Glassmorphism Cards */
.glass-card, .glass-container {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    margin-bottom: 60px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Blog Layout (Laura Posts Layout) */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

/* Featured Article (Último Post) */
.featured-article {
    margin-bottom: 40px;
}

.featured-article .glass-card {
    padding: 40px;
}

.featured-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
}

.featured-article h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.featured-article h2 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-article h2 a:hover {
    color: var(--primary);
}

.featured-article .post-excerpt {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.featured-article img, .post-thumbnail img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
}

/* News Grid (Outros Posts) */
.posts-grid-title {
    font-size: 1.8rem;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px;
}

.posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.post-card {
    display: flex;
    flex-direction: column;
}

.post-card .post-thumbnail img {
    max-height: 180px;
}

.post-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.post-card h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card h3 a:hover {
    color: var(--primary);
}

.post-card .post-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Sidebar / CTAs */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(30, 41, 59, 0.7) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-align: center;
}

.cta-box h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
}

.cta-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.cta-box .btn {
    width: 100%;
}

.cta-box-all7 {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(30, 41, 59, 0.7) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Single Post View */
.single-post-card {
    padding: 48px;
    margin-bottom: 40px;
}

.single-post-card h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(180deg, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
}

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

.post-content h2, .post-content h3 {
    color: #fff;
    margin: 40px 0 20px 0;
}

.post-content h2 { font-size: 1.8rem; }
.post-content h3 { font-size: 1.4rem; }

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

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

.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text-muted);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px auto;
    display: block;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.pagination .page-numbers {
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover, .pagination .page-numbers.current {
    background: var(--primary);
    border-color: var(--primary);
}

/* FAQ Section (WordPress adaptation) */
.faq-section {
    padding: 80px 0;
    background: rgba(10, 132, 255, 0.02);
    border-top: 1px solid var(--glass-border);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 8px;
    text-align: center;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 48px;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Government Disclaimer */
.disclaimer-section {
    padding: 60px 0;
    background: #060b13;
    border-top: 1px solid var(--glass-border);
}

.disclaimer-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    text-align: center;
    background: rgba(255,255,255,0.02);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    background: #090d16;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    nav { display: none; }
    .posts-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .single-post-card { padding: 24px; }
    .single-post-card h1 { font-size: 2rem; }
}
