/*
Theme Name: TechNaharia
Theme URI: https://technaharia.in/
Author: TechNaharia
Description: Custom futuristic theme for TechNaharia, matching the design mockup.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: technaharia
*/

/* Core layout & design taken from design_mockup.html */

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

:root {
    --bg-gradient: radial-gradient(circle at top left, #1a1b4b 0%, #120f28 38%, #050510 80%);
    --accent: #ffffff;
    --accent-2: #ff6bcb;
    --accent-soft: rgba(79, 244, 255, 0.18);
    --text-main: #f7f8ff;
    --text-muted: #a3a7c4;
    --card-bg: rgba(13, 16, 40, 0.85);
    --border-soft: rgba(255, 255, 255, 0.06);
    --radius-xl: 26px;
    --shadow-soft: 0 28px 80px rgba(0, 0, 0, 0.7);
    --shadow-small: 0 12px 40px rgba(0, 0, 0, 0.5);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background: var(--bg-gradient);
    background-attachment: fixed;
}

.page-shell {
    max-width: 1360px;
    margin: 0 auto;
    padding-inline: 32px;
}

/* Global link styling */
a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--accent-2);
    text-decoration: underline;
}

.blog-card h3 a {
    color: var(--text-main);
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-shell {
        padding-inline: 18px;
    }
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    background: linear-gradient(120deg, rgba(6, 7, 20, 0.92), rgba(8, 9, 30, 0.76));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.9);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    max-width: 1360px;
    margin: 0 auto;
}

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

.brand-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    width: 130%;
    height: 130%;
    object-fit: contain;
    display: block;
    filter:
        drop-shadow(0 0 10px rgba(79, 244, 255, 0.6))
        drop-shadow(0 0 18px rgba(0, 0, 0, 0.9));
}

.brand-text-main {
    font-weight: 800;
    letter-spacing: 0.04em;
    font-size: 1.2rem;
}

.brand-text-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

.nav a {
    position: relative;
    font-size: 0.94rem;
    text-decoration: none;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 999px;
    transition: width 0.25s ease-out;
}

.nav a:hover,
.nav a.is-active {
    color: var(--text-main);
}

.nav a:hover::after,
.nav a.is-active::after {
    width: 100%;
}

/* HERO */

.hero {
    position: relative;
    padding: 96px 0 84px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(79, 244, 255, 0.08);
    border: 1px solid rgba(79, 244, 255, 0.4);
    color: var(--accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.hero-title {
    margin: 18px 0 10px;
    font-size: clamp(2.8rem, 4vw, 3.8rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.06em;
    background: linear-gradient(120deg, #ffffff, #e2e6ff, #b5cdff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    max-width: 520px;
    color: var(--text-muted);
    font-size: 1.02rem;
}

@media (max-width: 960px) {
    .hero-sub {
        margin: 0 auto;
    }
}

.hero-ctas {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

@media (max-width: 960px) {
    .hero-ctas {
        justify-content: center;
    }
}

.pill-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: var(--shadow-small);
}

.pill-btn span.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ffffff;
}

.pill-btn--primary {
    background: linear-gradient(120deg, #ff6bcb, #ffc94f);
    color: #1b1024;
}

.pill-btn--outline {
    background: rgba(15, 18, 40, 0.5);
    color: var(--accent);
    border: 1px solid rgba(79, 244, 255, 0.7);
}

.pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.9);
}

.hero-note {
    margin-top: 14px;
    font-size: 0.83rem;
    color: var(--text-muted);
}

.hero-orbit {
    position: relative;
    min-height: 260px;
    border-radius: 34px;
    background: radial-gradient(circle at top, rgba(79, 244, 255, 0.12), transparent 60%),
                radial-gradient(circle at bottom, rgba(255, 107, 203, 0.16), transparent 70%);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.orbit-tag {
    position: absolute;
    top: 22px;
    left: 24px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(4, 206, 255, 0.15);
    border: 1px solid rgba(4, 206, 255, 0.5);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
}

.orbit-ring {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-pill {
    position: absolute;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(6, 8, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.7);
}

.orbit-pill small {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.orbit-pill--yt { top: 52%; left: 80%; transform: translate(-50%, -50%); }
.orbit-pill--songify { top: 20%; left: 45%; }
.orbit-pill--blog { top: 78%; left: 38%; }

.glow-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 22px rgba(79, 244, 255, 0.9);
}

.glow-dot--1 { top: 24%; left: 10%; }
.glow-dot--2 { top: 72%; right: 14%; }

/* SOFTWARE SECTION */

.section {
    padding: 80px 0 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 32px;
}

.section-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.18em;
}

.section-title {
    margin: 4px 0 0;
    font-size: 1.9rem;
}

.section-sub {
    color: var(--text-muted);
    font-size: 0.96rem;
}

.pill-link {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 7px 15px;
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pill-link span.icon {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* Blog List Layout */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 768px) {
    .blog-list {
        gap: 40px;
    }
}

.glass-card {
    padding: 22px 22px 20px;
    border-radius: var(--radius-xl);
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-small);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.76rem;
    color: var(--text-muted);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.tool-title {
    margin: 14px 0 4px;
    font-size: 1.25rem;
}

.tool-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* BLOG PREVIEW */

.blog-card {
    position: relative;
    border-radius: 22px;
    background: radial-gradient(circle at top left, rgba(79, 244, 255, 0.16), rgba(12, 14, 34, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.12);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    background: rgba(0, 0, 0, 0.2);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}

.blog-card:hover .blog-card-video-badge {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 107, 203, 0.8);
}

.blog-card-content {
    padding: 24px;
}

.blog-card h2,
.blog-card h3 {
    margin: 0 0 12px 0;
    font-size: 1.4rem;
    line-height: 1.3;
}

.blog-card h2 a,
.blog-card h3 a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card h2 a:hover,
.blog-card h3 a:hover {
    color: var(--accent-2);
}

.blog-card p {
    margin: 0 0 16px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
}

.chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Blog card link */
.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 767px) {
    .blog-card {
        border-radius: 16px;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-card h2,
    .blog-card h3 {
        font-size: 1.2rem;
    }
    
    .blog-card p {
        font-size: 0.9rem;
    }
}

/* Video embeds */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper embed,
.video-wrapper object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.post-content iframe[src*="youtube"],
.post-content iframe[src*="youtu.be"],
.post-content iframe[src*="vimeo"] {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 400px;
    margin: 24px 0;
    border-radius: 12px;
}

/* Software pages */
.software-page {
    max-width: 900px;
    margin: 0 auto;
}

.page-article {
    padding: 24px;
    border-radius: var(--radius-xl);
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
}

.page-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2rem;
}

.page-content {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.software-hero {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 40px;
}

.software-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.software-hero .lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.software-features,
.software-download,
.software-screenshots,
.software-info {
    margin-bottom: 40px;
    padding: 24px;
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-soft);
}

.software-features h2,
.software-download h2,
.software-screenshots h2,
.software-info h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.software-features ul,
.software-screenshots ol,
.software-info ul {
    list-style: none;
    padding-left: 0;
}

.software-features li,
.software-screenshots li,
.software-info li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
}

.software-features li::before,
.software-info li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.software-screenshots li::before {
    content: counter(list-item);
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.software-screenshots ol {
    counter-reset: list-item;
}

.software-screenshots li {
    counter-increment: list-item;
}

.download-section {
    text-align: center;
    padding: 24px;
    background: rgba(79, 244, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(79, 244, 255, 0.2);
    margin-top: 16px;
}

.download-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FOOTER */

.footer {
    padding: 40px 32px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    text-align: center;
    font-size: 0.82rem;
    margin-top: 40px;
}


