/* ProfitAIPath — LIGHT PATH UI */
:root {
    --purple: #7C3AED;
    --purple-dark: #6D28D9;
    --purple-light: #EDE9FE;
    --amber: #F59E0B;
    --amber-dark: #D97706;
    --amber-light: #FEF3C7;
    --gradient: linear-gradient(135deg, #7C3AED 0%, #F59E0B 100%);
    --gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
    --text: #1E1B4B;
    --text-muted: #64748B;
    --bg: #FAFAFE;
    --bg-white: #FFFFFF;
    --border: #E2E8F0;
    --shadow: 0 4px 24px rgba(124, 58, 237, 0.08);
    --shadow-lg: 0 12px 48px rgba(124, 58, 237, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --header-h: 72px;
    --transition: 0.25s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--purple);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--amber-dark);
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--purple);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    z-index: 9999;
}

.skip-link:focus {
    top: 1rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text);
}

.logo:hover {
    color: var(--purple);
}

.logo-icon {
    color: var(--purple);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.main-nav a {
    display: block;
    padding: 0.5rem 0.85rem;
    font-weight: 500;
    font-size: 0.925rem;
    color: var(--text-muted);
    border-radius: 8px;
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--purple);
    background: var(--purple-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--purple);
    border-color: var(--purple);
}

.btn-outline:hover {
    background: var(--purple-light);
    color: var(--purple-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--border);
    color: var(--text);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* Hero */
.hero {
    position: relative;
    padding: 4rem 0 5rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-soft);
    z-index: 0;
}

.hero-path-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0.15;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--purple);
}

.hero-stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

/* Page header */
.page-header {
    padding: 3rem 0 2rem;
    background: var(--gradient-soft);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.page-header p {
    color: var(--text-muted);
    max-width: 640px;
    font-size: 1.05rem;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--purple);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-muted);
}

/* Timeline / Path */
.path-timeline {
    position: relative;
    padding-left: 2rem;
}

.path-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient);
    border-radius: 3px;
}

.path-step {
    position: relative;
    padding-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.path-step::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.35rem;
    width: 14px;
    height: 14px;
    background: var(--purple);
    border: 3px solid var(--bg-white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--purple-light);
    transform: translateX(calc(-50% + 1.5px));
}

.path-step:last-child {
    padding-bottom: 0;
}

.path-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--purple-dark);
}

.path-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Cards grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.card:hover {
    box-shadow: var(--shadow);
    border-color: var(--purple-light);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-soft);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--purple);
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.925rem;
}

.card-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.card-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

/* Program cards */
.program-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
}

.program-card:hover {
    box-shadow: var(--shadow-lg);
}

.program-card-header {
    background: var(--gradient);
    color: #fff;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.program-number {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.program-card-body {
    padding: 1.5rem;
}

.program-card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Two column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.two-col-reverse {
    direction: rtl;
}

.two-col-reverse > * {
    direction: ltr;
}

.content-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.content-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* FAQ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    background: var(--bg-white);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.5rem;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: var(--text);
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--purple-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--purple);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 600px;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info-block {
    background: var(--gradient-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
}

.contact-info-block h2 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.contact-info-block address {
    font-style: normal;
}

.contact-info-block p {
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font);
    font-size: 0.95rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px var(--purple-light);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-check input {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-message.success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.form-message.error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* Legal / prose */
.prose {
    max-width: 780px;
    margin: 0 auto;
}

.prose h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--purple-dark);
}

.prose h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.prose p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.prose ul, .prose ol {
    margin: 0 0 1rem 1.5rem;
    color: var(--text-muted);
}

.prose li {
    margin-bottom: 0.4rem;
}

.prose a {
    text-decoration: underline;
}

/* 404 */
.error-page {
    text-align: center;
    padding: 5rem 0;
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-page h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.error-page p {
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 2rem;
}

/* CTA band */
.cta-band {
    background: var(--gradient);
    color: #fff;
    padding: 3.5rem 0;
    text-align: center;
}

.cta-band h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-band p {
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 1.5rem;
}

.cta-band .btn-outline {
    color: #fff;
    border-color: #fff;
}

.cta-band .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Footer */
.site-footer {
    background: var(--text);
    color: #CBD5E1;
    padding: 3.5rem 0 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    color: #fff;
    margin-bottom: 0.75rem;
}

.footer-logo .logo-icon {
    color: var(--amber);
}

.footer-slogan {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #94A3B8;
}

.footer-location {
    font-size: 0.85rem;
    color: var(--amber);
    font-weight: 600;
}

.footer-links h3,
.footer-contact h3 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.9rem;
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--amber);
}

.footer-contact address p {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.footer-contact a {
    color: #94A3B8;
}

.footer-contact a:hover {
    color: var(--amber);
}

.footer-ids {
    font-size: 0.8rem !important;
    color: #64748B !important;
    margin-top: 0.5rem;
}

.footer-disclaimer {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: #64748B;
    line-height: 1.6;
}

.footer-bottom {
    padding: 1.25rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #64748B;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-settings-panel {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    cursor: pointer;
}

/* Services pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
}

.pricing-card.featured {
    border-color: var(--purple);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Doporučeno';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.85rem;
    border-radius: 20px;
}

.pricing-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--purple);
    margin: 1rem 0;
}

.pricing-price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.pricing-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--purple);
}

/* Responsive */
@media (max-width: 960px) {
    .hero .container,
    .two-col,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .two-col-reverse {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav a {
        padding: 0.75rem 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}
