
/* Perun In The Machine — Company Website Styles */

@font-face {
    font-family: 'Cinzel';
    src: url('../assets/Cinzel.ttf') format('truetype');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-primary: #050505;
    --bg-secondary: #0c0c0e;
    --bg-card: #101014;
    --bg-card-hover: #16161b;
    --gold: #c9a227;
    --gold-light: #e4c46a;
    --gold-dark: #8f7419;
    --text-primary: #f2f2f2;
    --text-secondary: #a3a3a3;
    --text-muted: #6b6b6b;
    --border: rgba(201, 162, 39, 0.15);
    --border-strong: rgba(201, 162, 39, 0.3);
    --radius: 14px;
    --radius-sm: 8px;
    --max-width: 1200px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gold);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-strong);
}

.brand-name {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

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

.main-nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

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

.main-nav a.active {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

.nav-cta {
    border: 1px solid var(--gold);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    color: var(--gold-light) !important;
}

.nav-cta:hover {
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gold);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.eyebrow {
    display: inline-block;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, var(--gold-light) 60%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-strong);
}

@media (max-width: 900px) {
    .hero-logo {
        max-width: 420px;
    }
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 260px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #050505;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: #050505;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.25);
}

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

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(201, 162, 39, 0.06);
}

/* Sections */
.section {
    padding: 110px 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px;
}

.section-header.left-aligned {
    text-align: left;
    margin-left: 0;
}

.section-eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-header h2 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.2;
    font-weight: 600;
}

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

.cards-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.info-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-strong);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin-bottom: 20px;
}

.card-icon.dimmed {
    color: var(--text-muted);
}

.info-card h3 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.coming-soon {
    position: relative;
}

.status-tag {
    display: inline-block;
    margin-top: 18px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(201, 162, 39, 0.12);
    color: var(--gold-light);
    border: 1px solid var(--border);
}

/* About */
.about {
    background: var(--bg-secondary);
}

/* Products */
.products {
    background: var(--bg-primary);
}

.product-showcase {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 48px;
    margin-bottom: 80px;
}

.product-visual img {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.product-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(201, 162, 39, 0.18);
    color: var(--gold-light);
    border: 1px solid var(--border-strong);
}

.product-body h3 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 16px;
}

.product-lead {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.15);
    color: var(--gold);
    border-radius: 50%;
    font-size: 0.75rem;
    margin-top: 2px;
}

.feature-item strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-item span {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.download-btn {
    margin-bottom: 12px;
}

.icon-play {
    width: 20px;
    height: 20px;
}

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

.future-products {
    padding-top: 20px;
}

/* Technology */
.technology {
    background: var(--bg-secondary);
}

.team {
    background: var(--bg-primary);
}

.team-lead {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 760px;
    margin: 0 auto 48px;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 30px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.team-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-strong);
}

.team-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: var(--gold);
    margin-top: 2px;
}

.team-content h3 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.team-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.team-closing {
    text-align: center;
    color: var(--gold-light);
    font-size: 1.05rem;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 560px) {
    .team-card {
        padding: 20px 22px;
        gap: 16px;
    }
    .team-icon {
        width: 30px;
        height: 30px;
    }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.tech-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.tech-block h3 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--gold-light);
}

.tech-block p {
    color: var(--text-secondary);
    font-size: 0.97rem;
}

/* Contact */
.contact {
    background: var(--bg-primary);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.contact-text h2 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 18px;
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
}

.contact-email {
    display: block;
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--gold-light);
    margin-bottom: 16px;
    word-break: break-all;
}

.contact-email:hover {
    color: var(--gold);
}

.contact-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-note code {
    color: var(--gold-light);
    background: rgba(201, 162, 39, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Footer */
.site-footer {
    background: #020202;
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 600;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.domain-note {
    color: var(--gold-dark);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content,
    .product-showcase,
    .contact-inner,
    .tech-grid,
    .cards-grid.two-col {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .product-showcase {
        padding: 28px;
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(5, 5, 5, 0.97);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        gap: 18px;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 72px 0;
    }

    .info-card,
    .tech-block,
    .contact-card {
        padding: 24px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
