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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #cccccc;
    background-color: #070605;
}

.advertorial {
    background: #0c0b09;
    color: #c8beae;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    border-bottom: 1px solid #1a1814;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: black;
    box-shadow: 0 2px 15px rgba(255,255,255,0.1);
    padding: 30px 0;
}

h1 {
    color: #eee7d8;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: #948d7f;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-style: italic;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 15px 40px rgba(255,255,255,0.15);
}

.content {
    background: black;
    margin: 40px 0;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(255,255,255,0.1);
}

h2 {
    color: #eee7d8;
    font-size: 2em;
    margin: 40px 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 4px solid #ef467e;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #c47d09;
}

h3 {
    color: #c8beae;
    font-size: 1.6em;
    margin: 35px 0 20px 0;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    font-size: 1.1em;
    text-align: justify;
    line-height: 1.8;
}

ul {
    margin: 25px 0;
    padding-left: 30px;
}

li {
    margin-bottom: 12px;
    font-size: 1.05em;
    line-height: 1.6;
}

.highlight-box {
    background: linear-gradient(135deg, #ef467e, #c47d09);
    color: black;
    padding: 35px;
    border-radius: 15px;
    margin: 35px 0;
    text-align: center;
    position: relative;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ef467e, #c47d09, #da9c14);
    border-radius: 17px;
    z-index: -1;
}

.highlight-box h3 {
    color: black;
    margin-bottom: 20px;
}

.section-image {
    width: 100%;
    max-width: 600px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    margin: 25px auto;
    display: block;
    box-shadow: 0 8px 20px rgba(255,255,255,0.15);
}

.book-showcase {
    background: linear-gradient(135deg, #ef467e 0%, #c47d09 100%);
    color: black;
    padding: 50px;
    border-radius: 20px;
    margin: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.book-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(0,0,0,0.1)"/></svg>') repeat;
    animation: float 20s infinite linear;
    opacity: 0.3;
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.book-showcase h2 {
    color: black;
    border-bottom: 4px solid black;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.book-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 25px auto;
    display: block;
    border: 4px solid black;
    box-shadow: 0 15px 40px rgba(255,255,255,0.3);
    position: relative;
    z-index: 2;
}

.form-group {
    margin: 25px 0;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 1.1em;
}

/* білі поля вводу */
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1.1em;
    background: #fff;
    color: #000;
    transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
}

/* фокус-стан */
input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
    background: #fff;
    color: #000;
}

/* плейсхолдер */
input::placeholder {
    color: #6b7280;
    opacity: 1;
}

/* автозаповнення Chrome/Safari — прибрати жовтий фон */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #000;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    box-shadow: 0 0 0px 1000px #fff inset;
    transition: background-color 9999s ease-in-out 0s;
}

.subscribe-btn {
    background: linear-gradient(135deg, #ef467e 0%, #fa6996 100%);
    color: black;
    padding: 20px 50px;
    border: none;
    border-radius: 30px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.subscribe-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(239, 70, 126, 0.4);
}

.free-highlight {
    background: #c47d09;
    color: black;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
}

footer {
    background: #eee7d8;
    color: black;
    padding: 50px 0 30px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: black;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 5px;
}

.footer-links a:hover {
    color: #ef467e;
    background: rgba(0,0,0,0.1);
}

.disclosures {
    background: rgba(0,0,0,0.1);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    font-size: 0.95em;
    line-height: 1.6;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.3);
    font-size: 0.9em;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.benefit-card {
    background: #070605;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #ef467e;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.1);
}

/* Additional styles for other pages */
.back-link {
    display: inline-block;
    color: #eee7d8;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #ef467e;
}

textarea {
    width: 100%;
    padding: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1.1em;
    background: #fff;
    color: #000;
    font-family: inherit;
    resize: vertical;
    min-height: 150px;
    transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
}

textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
    background: #fff;
    color: #000;
}

textarea::placeholder {
    color: #6b7280;
    opacity: 1;
}

.submit-btn {
    background: linear-gradient(135deg, #ef467e 0%, #fa6996 100%);
    color: black;
    padding: 20px 50px;
    border: none;
    border-radius: 30px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(239, 70, 126, 0.4);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.contact-card {
    background: #070605;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #ef467e;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.1);
}

.contact-card a {
    color: #ef467e;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.office-hours {
    background: #070605;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.contact-form {
    margin: 30px 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #070605;
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #1a1814;
}

.cookie-table th {
    background: #0c0b09;
    color: #eee7d8;
    font-weight: bold;
}

.cookie-table td {
    color: #c8beae;
}

.cookie-settings {
    background: #070605;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.mission-vision {
    margin: 30px 0;
}

.team-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.team-member {
    background: #070605;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #ef467e;
}

.important-notice {
    background: rgba(239, 70, 126, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #ef467e;
}

.warning {
    background: rgba(196, 125, 9, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #c47d09;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }
    .content {
        padding: 25px;
        margin: 20px 0;
    }
    .book-showcase {
        padding: 30px 20px;
        margin: 30px 0;
    }
    .hero-image {
        height: 250px;
        margin: 20px 0;
    }
    .footer-links {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
