/* ============================================
   CARDSHILP LANDING PAGE
   ============================================ */

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

:root {
    --bg: #0a0608;
    --bg-card: #1a1215;
    --bg-card-hover: #251a1f;
    --text: #f5efe8;
    --text-secondary: #b8a89a;
    --text-muted: #7a6a5e;
    --accent: #c41e3a;
    --accent-glow: rgba(196, 30, 58, 0.3);
    --gold: #d4a017;
    --gold-glow: rgba(212, 160, 23, 0.2);
    --border: rgba(212, 160, 23, 0.15);
    --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* --- Nav --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 6, 8, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-icon {
    font-size: 24px;
    color: var(--accent);
    font-weight: 700;
}

.nav-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    font-family: 'Playfair Display', serif;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}

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

.nav-cta {
    padding: 8px 24px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-cta:hover { background: #a01830; transform: translateY(-1px); }

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    position: relative;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(196, 30, 58, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 160, 23, 0.05) 0%, transparent 50%);
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 30, 58, 0.08), transparent 70%);
    border-radius: 50%;
}

.hero-content { flex: 1; max-width: 580px; }

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gold-glow);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-accent {
    background: linear-gradient(135deg, var(--accent), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent), #d42a48);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.3s;
    font-family: inherit;
    cursor: pointer;
}

.btn-hero-secondary:hover {
    background: rgba(212, 160, 23, 0.08);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-large { padding: 18px 40px; font-size: 17px; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat strong {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.hero-stat span {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Hero visual - floating cards */
.hero-visual {
    flex: 0 0 380px;
    position: relative;
    height: 500px;
}

.hero-card {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    overflow: hidden;
    transition: transform 0.4s ease;
}

.hero-card:hover { transform: translateY(-8px) rotate(0deg) !important; }

.hero-card-1 {
    top: 0;
    left: 20px;
    width: 220px;
    height: 310px;
    transform: rotate(-5deg);
    z-index: 3;
    animation: floatCard1 6s ease-in-out infinite;
}

.hero-card-2 {
    top: 60px;
    right: 0;
    width: 180px;
    height: 250px;
    transform: rotate(6deg);
    z-index: 2;
    animation: floatCard2 7s ease-in-out infinite;
}

.hero-card-3 {
    bottom: 20px;
    left: 60px;
    width: 190px;
    height: 260px;
    transform: rotate(-3deg);
    z-index: 1;
    animation: floatCard3 8s ease-in-out infinite;
}

.hc-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
}

.hc-icon { font-size: 28px; }
.hc-line { width: 60%; height: 3px; border-radius: 2px; }
.hc-line-sm { width: 40%; height: 2px; border-radius: 2px; }
.hc-script { font-family: 'Great Vibes', cursive; font-size: 22px; }
.hc-text { font-size: 11px; opacity: 0.7; }
.hc-dots { font-size: 14px; letter-spacing: 4px; }

@keyframes floatCard1 { 0%,100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-12px); } }
@keyframes floatCard2 { 0%,100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-10px); } }
@keyframes floatCard3 { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-14px); } }

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section-alt {
    background: rgba(26, 18, 21, 0.6);
}

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

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212, 160, 23, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

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

/* --- Events --- */
.events-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.event-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: default;
}

.event-pill:hover {
    border-color: var(--gold);
    background: var(--gold-glow);
    transform: translateY(-2px);
}

.event-pill span { font-size: 20px; }

.events-detail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.event-detail-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.event-detail-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gold);
}

.event-detail-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Themes Showcase --- */
.themes-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.theme-show-card {
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    cursor: default;
}

.theme-show-card:hover { transform: translateY(-4px); }

.tsc-inner {
    width: 70px;
    height: 96px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.tsc-dot { width: 14px; height: 14px; border-radius: 50%; }
.tsc-line { width: 80%; height: 3px; border-radius: 2px; }
.tsc-line.short { width: 55%; }

.theme-show-card span {
    font-size: 12px;
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* --- AI Section --- */
.section-ai {
    background: linear-gradient(180deg, var(--bg), rgba(26, 18, 21, 0.8), var(--bg));
}

.ai-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.ai-text { flex: 1; }

.ai-badge {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.15), rgba(196, 30, 58, 0.15));
    border: 1px solid rgba(124, 77, 255, 0.3);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: #b388ff;
    margin-bottom: 16px;
}

.ai-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.ai-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.ai-examples {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-example {
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.ai-example strong { color: var(--gold); }

.ai-visual { flex: 0 0 380px; }

.ai-prompt-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.ai-prompt-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}

.ai-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.ai-dot:first-child { background: #ff5f57; }
.ai-dot:nth-child(2) { background: #febc2e; }
.ai-dot:nth-child(3) { background: #28c840; }

.ai-prompt-header span { margin-left: auto; }

.ai-prompt-body { padding: 24px; }

.ai-typing {
    font-size: 15px;
    color: var(--text);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.ai-cursor {
    animation: blink 1s step-end infinite;
    color: var(--accent);
    font-style: normal;
}

@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

.ai-generating {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
}

.ai-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* --- CTA --- */
.section-cta {
    text-align: center;
    padding: 80px 0;
    background: radial-gradient(ellipse at center, rgba(196, 30, 58, 0.08), transparent 70%);
}

.section-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    margin-bottom: 12px;
}

.section-cta p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-actions { display: flex; justify-content: center; }

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-seo-links a {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-seo-links a:hover {
    color: var(--accent);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-content { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { height: 350px; flex: none; width: 100%; max-width: 420px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .events-detail { grid-template-columns: 1fr; }
    .ai-content { flex-direction: column; text-align: center; }
    .ai-visual { flex: none; width: 100%; max-width: 420px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    .nav-links { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .themes-showcase { grid-template-columns: repeat(3, 1fr); }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
