/* ----------------------------------------------------
   NovaPulse Mobile Studio Stylesheet
   quick notes: keeping layout modular + slightly imperfect comments
---------------------------------------------------- */

:root {
    --bg-main: #070a16;
    --bg-alt: #10162b;
    --bg-panel: #121a32;
    --brand-primary: #ff5f6d;
    --brand-secondary: #ffb347;
    --brand-tertiary: #3ce8ff;
    --text-main: #f4f7ff;
    --text-muted: #a6b0d4;
    --border-soft: rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 30px 80px rgba(4, 7, 18, 0.65);
    --transition-fast: 0.25s ease;
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Inter", "Calibri", sans-serif;
    background: radial-gradient(circle at 10% 20%, #141d34, #060910 55%);
    color: var(--text-main);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(3, 5, 12, 0.8);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-soft);
}

.nav-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-btn {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: none;
    border: 2px solid var(--border-soft);
    color: var(--text-main);
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.logo-btn:hover {
    border-color: var(--brand-tertiary);
    color: var(--brand-tertiary);
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.burger-btn span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background var(--transition-fast), border var(--transition-fast);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-soft);
}

.hero {
    padding: 4.5rem 1.5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-visual img {
    width: 100%;
    background: var(--bg-panel);
    border-radius: 28px;
    border: 1px solid var(--border-soft);
    padding: 0.75rem;
    box-shadow: var(--shadow-soft);
}

.hero-content h1 {
    font-size: clamp(2.6rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content h1 span {
    color: var(--brand-primary);
}

.hero-summary {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(120deg, var(--brand-primary), var(--brand-secondary));
    color: #05070f;
    box-shadow: 0 15px 30px rgba(255, 110, 98, 0.35);
}

.btn-secondary {
    background: none;
    border: 1px solid var(--border-soft);
    color: var(--text-main);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
}

.hero-slider {
    background: var(--bg-panel);
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}

.slider-image {
    width: 100%;
    border-radius: 18px;
    margin-bottom: 1rem;
    object-fit: cover;
    border: 1px solid var(--border-soft);
}

.hero-slider article {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    min-height: 220px;
}

.hero-slider article.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-main);
    padding: 0.55rem 0.9rem;
    border-radius: 50%;
    cursor: pointer;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.metric-card {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid var(--border-soft);
    background: rgba(255, 255, 255, 0.02);
}

.metric-card h3 {
    margin: 0;
    font-size: 1.9rem;
    color: var(--brand-secondary);
}

.section {
    padding: 3.5rem 1.5rem;
}

.section:nth-of-type(odd) {
    background: rgba(255, 255, 255, 0.01);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.2rem;
    margin: 0;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.section-media {
    margin-bottom: 2rem;
}

.section-media img {
    width: 100%;
    border-radius: 26px;
    border: 1px solid var(--border-soft);
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.card {
    background: var(--bg-panel);
    padding: 1.6rem;
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-fast);
}

.card:hover {
    transform: translateY(-6px);
}

.tag {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--brand-tertiary);
    text-transform: uppercase;
}

.accordion {
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    overflow: hidden;
}

.accordion-item + .accordion-item {
    border-top: 1px solid var(--border-soft);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.2rem 1.6rem;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.6rem;
}

.accordion-content p {
    color: var(--text-muted);
}

.accordion-item.active .accordion-content {
    max-height: 400px;
    padding: 0 1.6rem 1.4rem;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.3rem;
}

.timeline-step {
    padding: 1.3rem;
    border-radius: 20px;
    border: 1px dashed var(--border-soft);
    background: rgba(255, 255, 255, 0.02);
}

.timeline-step strong {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.insight-card {
    border-left: 4px solid var(--brand-secondary);
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
}

.insight-card cite {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.contact-visual img {
    width: 100%;
    border-radius: 26px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

.contact-details {
    background: var(--bg-panel);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--border-soft);
}

form {
    background: var(--bg-panel);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

input,
textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(5, 7, 15, 0.6);
    color: var(--text-main);
    margin-bottom: 1.2rem;
}

input:focus,
textarea:focus {
    outline: 2px solid var(--brand-tertiary);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

footer {
    background: #03050b;
    border-top: 1px solid var(--border-soft);
    padding: 2.5rem 1.5rem 2rem;
    margin-top: auto;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.footer-nav a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-copy {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 540px);
    background: rgba(3, 5, 12, 0.95);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 1.2rem 1.5rem;
    display: none;
    z-index: 1200;
    box-shadow: var(--shadow-soft);
}

.cookie-banner.show {
    display: block;
}

.cookie-banner p {
    margin: 0 0 0.8rem;
    font-size: 0.95rem;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-banner button {
    flex: 1;
    min-width: 140px;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.cookie-banner button.primary {
    background: var(--brand-primary);
    color: #05070f;
}

.cookie-banner button.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

/* policy templates */
.policy-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.policy-wrapper h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.policy-wrapper h2 {
    margin-top: 2.5rem;
}

.policy-wrapper p,
.policy-wrapper li {
    color: var(--text-muted);
}

.thank-you {
    text-align: center;
    padding: 4rem 1.5rem;
}

.thank-you h1 {
    font-size: 3rem;
}

@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(80%, 320px);
        height: 100vh;
        background: rgba(3, 5, 12, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        border-left: 1px solid var(--border-soft);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 1rem 1.2rem;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .hero {
        padding-top: 3rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        flex-direction: column;
    }
}


