/* =========================================
   Pixalley — Landing Page Styles
   ========================================= */

:root {
    --primary: #3399cc;
    --primary-dark: #2a7fa5;
    --secondary: #f5f5f5;
    --text: #333;
    --text-light: #666;
    --border: #e5e5e5;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ff6600;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-large { padding: 14px 32px; font-size: 16px; }
.btn-block { display: block; width: 100%; }
.btn-disabled { background: #ccc; color: #666; cursor: not-allowed; }

/* Header */
.site-header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}
.logo { font-size: 24px; font-weight: 800; color: var(--primary); }
.site-header nav { display: flex; align-items: center; gap: 24px; }
.site-header nav a { color: var(--text); font-weight: 500; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #e3f2fd 0%, #f5f5f5 100%);
    padding: 80px 0 100px;
    text-align: center;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.2;
    color: var(--text);
}
.hero-sub {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
}
.hero-cta { margin: 30px 0; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.trust-signals {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 14px;
}

/* Early Bird Badge */
.early-bird-badge {
    display: inline-block;
    background: linear-gradient(90deg, #ff6600, #ff9900);
    color: #fff;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* Sections */
section { padding: 80px 0; }
section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text);
}
.section-sub { text-align: center; color: var(--text-light); margin-bottom: 50px; }

/* Features Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-card .icon { font-size: 3rem; margin-bottom: 15px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text); }
.feature-card p { color: var(--text-light); font-size: 14px; }

/* Pricing */
.pricing { background: var(--secondary); }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 50px auto 0;
}
.price-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}
.price-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}
.price-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning);
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}
.price-card h3 { color: var(--text); font-size: 1.4rem; margin-bottom: 15px; }
.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 10px 0;
}
.price span { font-size: 1rem; color: var(--text-light); font-weight: 400; }
.price-sub { color: var(--text-light); font-size: 14px; margin-bottom: 20px; }
.price-card ul { list-style: none; margin: 25px 0; text-align: left; }
.price-card li { padding: 8px 0; color: var(--text-light); font-size: 14px; }

/* FAQ */
.faq details {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}
.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    font-size: 16px;
}
.faq details[open] summary { margin-bottom: 12px; }
.faq p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* Footer */
.site-footer {
    background: #222;
    color: #999;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}
.site-footer a { color: #999; margin: 0 8px; }
.site-footer a:hover { color: #fff; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero-sub { font-size: 1rem; }
    section h2 { font-size: 1.6rem; }
    .site-header nav { gap: 12px; font-size: 14px; }
    .site-header nav a:not(.btn) { display: none; }
    .price-card.popular { transform: none; }
    .trust-signals { flex-direction: column; gap: 8px; }
}
