*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #ffffff;
    --fg: hsl(265, 4%, 12.9%);
    --muted: hsl(257, 4.6%, 55.4%);
    --border: hsl(256, 1.3%, 92.9%);
    --card: #ffffff;
    --secondary: hsl(248, 0.7%, 96.8%);

    --primary: hsl(213, 56%, 24%);
    --primary-mid: hsl(220, 60%, 35%);
    --accent-from: hsl(0, 84%, 70%);
    --accent-to: hsl(15, 90%, 65%);

    --gradient-hero: linear-gradient(135deg, hsl(213, 56%, 24%) 0%, hsl(220, 60%, 35%) 50%, hsl(213, 56%, 24%) 100%);
    --gradient-accent: linear-gradient(135deg, hsl(0, 84%, 70%) 0%, hsl(15, 90%, 65%) 100%);

    --success: hsl(142, 71%, 45%);
    --warning: hsl(38, 92%, 50%);
    --danger: hsl(0, 84%, 60%);

    --shadow-card: 0 2px 12px -2px hsl(213 56% 24% / .10);
    --shadow-elevated: 0 12px 40px -8px hsl(213 56% 24% / .15);
    --shadow-glow: 0 0 40px hsl(0 84% 70% / .30);

    --radius: 16px;
    --container: 1200px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Merriweather', Georgia, serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}


/*animation shit*/
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

.fade-in {
    animation: fadeIn .8s ease-out both;
}

.slide-up {
    animation: slideUp .6s ease-out both;
}

.pulse {
    animation: pulse 1.8s ease-in-out infinite;
}

#recent-articles {
    scroll-margin-top: 100px; /* adjust based on your navbar height */
}

/* navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}

.navbar.scrolled {
    border-color: var(--border);
    box-shadow: 0 1px 12px hsl(213 56% 24% / .08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Merriweather', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--fg);
}

.logo-icon-box {
    width: 40px;
    height: 40px;
    background: var(--gradient-hero);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.logo-icon-box.small {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    transition: color .15s;
}

.nav-links a:hover {
    color: var(--fg);
}

.nav-auth {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-ghost-nav {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fg);
    border: 1px solid var(--border);
    transition: all .15s;
}

.btn-ghost-nav:hover {
    background: var(--secondary);
}

.btn-hero-nav {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    background: var(--gradient-hero);
    color: #fff;
    transition: opacity .15s;
}

.btn-hero-nav:hover {
    opacity: .88;
}



/*side menu shit*/
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--fg);
    border-radius: 2px;
    transition: all .2s;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: #fff;
}

.mobile-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
}

.mobile-menu.open {
    display: flex;
}

.mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

@media (max-width:768px) {

    .nav-links,
    .nav-auth {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}



/*hero section*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px;
    overflow: hidden;
}


/*makes it so that background has some black shit*/
.blob {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .08;
    pointer-events: none;
}

.blob-right {
    background: var(--accent-from);
    top: 20%;
    right: -120px;
}

.blob-left {
    background: var(--primary);
    bottom: 10%;
    left: -120px;
}

.hero-inner {
    text-align: center;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 99px;
    background: hsl(213 56% 24% / .06);
    border: 1px solid hsl(213 56% 24% / .12);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    color: var(--fg);
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn-hero-lg {
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    background: var(--gradient-hero);
    color: #fff;
    transition: opacity .15s, transform .15s;
}

.btn-hero-lg:hover {
    opacity: .88;
    transform: translateY(-1px);
}

.btn-outline-lg {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid var(--border);
    color: var(--fg);
    transition: border-color .15s, transform .15s;
}

.btn-outline-lg:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.play-icon {
    font-size: 12px;
}



/*browser preview*/
.preview-window {
    max-width: 1500px;
    margin: 0 auto;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-elevated);
    border: 1px solid var(--border);
    overflow: hidden;
    background:var(--secondary);
    padding:32px;
    border-radius:var(--radius);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--secondary);
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f57;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #28c840;
}

.browser-url {
    flex: 1;
    height: 28px;
    background: var(--border);
    border-radius: 6px;
    opacity: .5;
}

/* LANDING PAGE ARTICLE CARDS */

.preview-header{
text-align:center;
margin-bottom:24px;
}

.preview-header h2{
font-size: clamp(28px, 4vw, 42px);
font-weight: 900;
margin-bottom:6px;
}

.preview-header p{
font-size: 17px;
    color: var(--muted);
    line-height: 1.6;
}

.preview-cards{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:28px;
padding:24px;
}

.preview-card{
background:var(--card);
border:1px solid var(--border);
border-radius:var(--radius);
padding:10px;
display:flex;
flex-direction:column;
position:relative;
overflow:hidden;
transition:border-color .15s, box-shadow .15s, transform .15s;
box-shadow:var(--shadow-card);
height:430px; /* SAME as homepage */
width: 340px;
}

.preview-card:hover{
border-color:var(--primary);
box-shadow:var(--shadow-elevated);
transform:translateY(-2px);
}

.preview-meta{
display:flex;
justify-content:space-between;
align-items:center;
}

.preview-cat{
font-size:15px;
font-weight:700;
text-transform:uppercase;
color:var(--primary);
}

.preview-score{
font-size:11px;
padding:4px 10px;
border-radius:999px;
}

.preview-thumb{
width:100%;
height:150px;
border-radius:10px;
overflow:hidden;
margin-top:8px;
margin-bottom:6px;
}

.preview-thumb img{
width:100%;
height:100%;
object-fit:cover;
}

.preview-title{
font-family:Georgia,serif;
font-size:20px;
font-weight:700;
line-height:1.4;
margin-top:6px;
}

.preview-excerpt{
font-size:15px;
color:var(--muted);
line-height:1.6;
flex:1; /* pushes footer down */
overflow:hidden;
}

.preview-footer{
display:flex;
justify-content:space-between;
align-items:center;
font-size:15px;
color:var(--muted);
margin-top:8px;
}

.preview-author{
display:flex;
align-items:center;
gap:8px;
}

.author-avatar{
width:26px;
height:26px;
border-radius:50%;
background:var(--gradient-hero);
display:flex;
align-items:center;
justify-content:center;
font-size:11px;
font-weight:700;
color:#fff;
}
.author-info{
display:flex;
flex-direction:column;
line-height:1.1;
}

.author-name{
font-size:13px;
}

.author-time{
font-size:11px;
color:var(--muted);
padding-top: 5px;
}

.preview-stats{
display:flex;
gap:10px;
}

/* override hero center alignment for article cards */
.preview-card{
text-align:left;
}

.preview-title{
text-align:left;
}

.preview-excerpt{
text-align:left;
}

.preview-footer{
text-align:left;
}

/*trust score shit*/
.score-high {
    background: hsl(142 71% 45% / .12);
    color: hsl(142 60% 30%);
}

.score-mid {
    background: hsl(38 92% 50% / .12);
    color: hsl(38 70% 30%);
}

.score-low {
    background: hsl(0 84% 60% / .12);
    color: hsl(0 60% 40%);
}



/*skeleton*/
.skeleton .preview-thumb {
    background: var(--secondary);
}

.skel-line {
    height: 10px;
    border-radius: 6px;
    background: var(--secondary);
    margin-bottom: 8px;
}

.w-half {
    width: 50%;
}

.w-full {
    width: 100%;
}

.w-three-quarters {
    width: 75%;
}

@media (max-width:700px) {
    .preview-cards {
        grid-template-columns: 1fr;
    }

    .preview-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}


/*sections*/
.section {
    padding: 96px 0;
}

.section-alt {
    background: hsl(248 0.7% 96.8%);
}

.section-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: var(--fg);
    margin-bottom: 12px;
}

.section-head p {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.6;
}




/*features part*/
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width:900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: box-shadow .2s, border-color .2s, transform .2s;
}

.feature-card:hover {
    box-shadow: var(--shadow-elevated);
    border-color: hsl(213 56% 24% / .2);
    transform: translateY(-3px);
}

.feature-icon-box img{
    width:60px;
    height:60px;
    object-fit:contain;
    padding-left: 0px;
}


.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}



/*how it workds*/
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width:800px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:500px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    text-align: center;
    position: relative;
}

.step-connector {
    display: none;
}

@media (min-width:800px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 52px;
        left: calc(50% + 52px);
        width: calc(100% - 52px);
        height: 1px;
        background: var(--border);
    }
}

.step-icon-wrap {
    position: relative;
    display: inline-flex;
    margin-bottom: 20px;
}

.step-icon-box {
    width: 104px;
    height: 104px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
} 
.step-icon-box img{
    width:48px;
    height:48px;
    object-fit:contain;
}
.step-num {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 30px;
    height: 30px;
    background: var(--gradient-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
}

.step-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--fg);
}

.step-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}



/*video styling*/
.video-wrapper {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    border: 1px solid var(--border);
    aspect-ratio: 16/9;
    background: hsl(213 56% 24% / .04);
}

.video-wrapper video,
.video-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: hsl(213 56% 24% / .05);
    backdrop-filter: blur(2px);
    cursor: pointer;
    transition: opacity .2s;
}

.video-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--fg);
}

.video-overlay p {
    font-size: 14px;
    color: var(--muted);
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: var(--shadow-glow);
    transition: transform .2s;
    cursor: pointer;
    padding-left: 4px;
}

.play-btn:hover {
    transform: scale(1.1);
}



/*reviews part*/
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width:700px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: box-shadow .2s;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card:hover {
    box-shadow: var(--shadow-elevated);
}

.review-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.review-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.review-author-info {
    flex: 1;
}

.review-author-info strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--fg);
}

.review-author-info span {
    font-size: 13px;
    color: var(--muted);
}

.review-quote-icon {
    font-size: 36px;
    color: hsl(213 56% 24% / .15);
    font-family: 'Merriweather', serif;
    line-height: 1;
    margin-top: -4px;
}

.review-title a {
    font-size: 15px;
    font-weight: 700;
    color: var(--fg);
    font-family: 'Merriweather', serif;
    line-height: 1.4;
    transition: color .15s;
}

.review-title a:hover {
    color: var(--primary);
}

.review-excerpt {
    font-size: 14px;
    color: hsl(265 4% 12.9% / .75);
    line-height: 1.7;
    flex: 1;
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.review-stars {
    color: var(--warning);
    font-size: 16px;
    letter-spacing: 2px;
}

.trust-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
}



/*pricing cards*/
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 820px;
    margin: 0 auto;
}

@media (max-width:640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: box-shadow .2s;
}

.pricing-card:hover {
    box-shadow: var(--shadow-elevated);
}

.pricing-card.popular {
    border-color: hsl(0 84% 70%);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 99px;
    white-space: nowrap;
}

.pricing-head {
    text-align: center;
    margin-bottom: 28px;
}

.pricing-head h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.price {
    font-size: 40px;
    font-weight: 900;
    color: var(--fg);
    margin-bottom: 6px;
}

.price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--muted);
}

.pricing-head p {
    font-size: 13px;
    color: var(--muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    font-size: 16px;
    flex-shrink: 0;
}

.pricing-features li.inc {
    color: var(--fg);
}

.pricing-features li.inc::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

.pricing-features li.exc {
    color: var(--muted);
    opacity: .5;
}

.pricing-features li.exc::before {
    content: '✗';
    color: var(--muted);
}

.btn-outline-full {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid var(--border);
    color: var(--fg);
    transition: border-color .15s, background .15s;
}

.btn-outline-full:hover {
    border-color: var(--primary);
    background: hsl(213 56% 24% / .04);
}

.btn-hero-full {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    background: var(--gradient-hero);
    color: #fff;
    transition: opacity .15s;
}

.btn-hero-full:hover {
    opacity: .88;
}



/*footer section*/
.site-footer {
    background: var(--gradient-hero);
    color: rgba(255, 255, 255, .9);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

@media (max-width:800px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:480px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Merriweather', serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    opacity: .7;
    max-width: 240px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 10px;
    transition: color .15s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background .15s;
}

.footer-socials a:hover {
    background: rgba(255, 255, 255, .2);
}

.landing-articles{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:24px;
}
