/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.2), transparent 50%, rgba(59, 93, 232, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient-3);
    color: #fff;
    box-shadow: 0 0 20px rgba(74, 108, 247, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(74, 108, 247, 0.5);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glow);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

[data-theme="light"] .navbar {
    background: rgba(248, 250, 252, 0.85);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-card);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-logo-icon {
    width: 36px; height: 36px;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.theme-toggle {
    width: 40px; height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    color: var(--text-primary);
    border-color: var(--border-glow);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    width: 40px; height: 40px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
}

/* ============================================
   FEATURE ICONS & CARDS
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.feature-card {
    padding: 32px;
}

.feature-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.feature-icon.blue { background: rgba(74, 108, 247, 0.1); color: var(--blue-400); }
.feature-icon.blue-alt { background: rgba(59, 93, 232, 0.1); color: #4A6CF7; }
.feature-icon.green { background: rgba(34, 197, 94, 0.1); color: #4ADE80; }
.feature-icon.orange { background: rgba(249, 115, 22, 0.1); color: #FB923C; }
.feature-icon.pink { background: rgba(236, 72, 153, 0.1); color: #F472B6; }
.feature-icon.cyan { background: rgba(6, 182, 212, 0.1); color: #22D3EE; }
.feature-icon.red { background: rgba(239, 68, 68, 0.1); color: #F87171; }

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

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

/* ============================================
   HOW IT WORKS / STEPS
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    position: relative;
}

/* Connecting line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.67% + 24px);
    right: calc(16.67% + 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
    opacity: 0.3;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--accent-gradient-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(74, 108, 247, 0.3);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    position: relative;
    z-index: 1;
    padding: 60px 0;
    background: var(--bg-glass);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    color: var(--text-primary);
}

.stat-item .stat-number span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item .stat-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================
   TOOLS GRID
   ============================================ */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.tool-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.tool-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(74, 108, 247, 0.1);
    border: 1px solid rgba(74, 108, 247, 0.2);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    color: var(--blue-400);
    width: fit-content;
    margin-bottom: 16px;
}

.tool-card-badge.coming-soon {
    background: rgba(234, 179, 8, 0.1);
    border-color: rgba(234, 179, 8, 0.2);
    color: #EAB308;
}

.tool-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.tool-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-400);
    margin-top: 16px;
    transition: gap var(--transition-fast);
}

.tool-card:hover .tool-card-link { gap: 10px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    padding: 60px 0 32px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 36px; height: 36px;
    border-radius: var(--radius-full);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    color: var(--blue-400);
    border-color: var(--border-glow);
}

/* ============================================
   AD SLOT
   ============================================ */
.ad-slot {
    text-align: center;
    margin: 20px 0;
    min-height: 0;
}
.ad-slot:empty, .ad-slot:not(:has(iframe)) {
    display: none;
}

.ad-slot-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
