:root {
    /* Paleta Kolorów - Premium Hypnotherapy */
    --color-bg-dark: #0f172a;
    /* Głęboki granat */
    --color-bg-light: #1e293b;
    /* Jaśniejszy granat */
    --color-accent: #38bdf8;
    /* Jasny błękit/turkus */
    --color-primary: #818cf8;
    /* Indygo/Fiolet */
    --color-gold: #f59e0b;
    /* Złoty akcent */
    --color-text-main: #f8fafc;
    /* Prawie biały */
    --color-text-muted: #94a3b8;
    /* Szary tekst */

    /* Glassmorphism */
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Font */
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    /* Opcjonalnie dla nagłówków */
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-gold {
    color: var(--color-gold);
}

.text-accent {
    color: var(--color-accent);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    box-shadow: 0 4px 15px rgba(129, 140, 248, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(129, 140, 248, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-bg-dark);
}

/* Section Styling */
section {
    padding: var(--spacing-xl) 0;
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(to right, #fff, var(--color-text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: var(--spacing-md);
    box-shadow: var(--glass-shadow);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    /* Space for fixed nav */
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(129, 140, 248, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.15) 0%, transparent 50%);
    z-index: -1;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s backwards;
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-links .btn {
    color: white;
}

/* --- About Section (New V3) --- */
.about-content-row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.photo-frame {
    background: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.photo-frame img {
    width: 100%;
    display: block;
    border-radius: 0;
    /* Clear previous radius if any */
}

/* Certificate Styles */
.certificate-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.certificate-label {
    text-align: center;
    border: 1px solid var(--color-gold);
    min-width: 250px;
}

.cert-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.cert-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5rem 0;
    color: var(--color-gold);
    font-family: var(--font-serif);
}

.cert-course {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.cert-sign {
    font-style: italic;
    color: var(--color-text-muted);
}

.certificate-wrapper {
    max-width: 500px;
    width: 100%;
}

.cert-img {
    width: 100%;
    border-radius: 4px;
    box-shadow: var(--glass-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Desktop Layout */
@media (min-width: 769px) {
    .about-content-row {
        flex-direction: row;
        align-items: center;
    }

    .about-text {
        flex: 1;
    }

    .about-portrait {
        flex: 0.8;
        display: flex;
        justify-content: center;
        padding-left: var(--spacing-md);
    }

    .certificate-row {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-lg);
        align-items: center;
    }
}

/* --- Pricing Section --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.pricing-card {
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
}

.pricing-card.featured {
    border-color: var(--color-gold);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(30, 41, 59, 0.7));
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold);
    color: var(--color-bg-dark);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.pricing-card .features {
    list-style: none;
    margin: var(--spacing-md) 0;
    flex-grow: 1;
}

.pricing-card .features li {
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
}

/* --- Contact Section --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-info .note {
    margin-top: var(--spacing-sm);
    color: var(--color-gold);
    font-style: italic;
}

/* New Phone Link */
.cta-box {
    margin-top: 1rem;
}

.phone-link {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    margin-top: 0.25rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    transition: all 0.3s;
}

.phone-link:hover {
    background: var(--color-accent);
    color: var(--color-bg-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
}

/* --- Footer --- */
footer {
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--glass-border);
    margin-top: var(--spacing-lg);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* --- Animations --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    /* Mobile Menu */
    .logo {
        font-size: 1.1rem;
        max-width: 80%;
        line-height: 1.3;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background: var(--color-bg-light);
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px 0;
        transition: all 0.3s;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}