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

:root {
    --primary: #2a9d8f;
    --primary-dark: #21867a;
    --primary-light: #e8f6f5;
    --secondary: #264653;
    --accent: #e9c46a;
    --text: #2c3e50;
    --text-light: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #e8f6f5 0%, #f0f9ff 100%);
    --shadow: 0 4px 20px rgba(42, 157, 143, 0.1);
    --shadow-hover: 0 12px 40px rgba(42, 157, 143, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 12px;
}

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

.nav-desktop a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
    width: 100%;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.btn-menu span {
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary-light);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 157, 143, 0.3);
}

/* Hero Section */
.hero {
    padding: 180px 24px 100px;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233, 196, 106, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--secondary);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 span {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Search Box */
.search-box {
    background: var(--white);
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto 50px;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 16px;
    align-items: end;
}

.search-field {
    text-align: left;
}

.search-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-field select,
.search-field input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.search-field select:focus,
.search-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.1);
}

.btn-search {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-search:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 157, 143, 0.3);
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    color: var(--text-light);
    margin-top: 8px;
}

/* Features Section */
.features {
    padding: 100px 24px;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 38px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(42, 157, 143, 0.3);
}

.step h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--secondary);
}

.step p {
    color: var(--text-light);
    font-size: 15px;
}

/* Trust Section */
.trust {
    padding: 60px 24px;
    background: var(--primary-light);
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.badge-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.badge strong {
    display: block;
    color: var(--secondary);
    font-size: 15px;
    margin-bottom: 4px;
}

.badge span {
    font-size: 13px;
    color: var(--text-light);
}

/* Psychologues Section */
.psychologues-section {
    padding: 100px 24px;
}

.psychologues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.psy-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.psy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.psy-card-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f9ff 100%);
    padding: 30px;
    text-align: center;
    position: relative;
}

.psy-avatar {
    width: 110px;
    height: 110px;
    background: var(--white);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--white);
}

.psy-card-header h3 {
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--secondary);
}

.psy-specialty {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: block;
}

.psy-rating {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.psy-card-body {
    padding: 24px;
}

.psy-info {
    margin-bottom: 16px;
}

.psy-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.psy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.psy-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.psy-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.psy-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
}

.psy-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
}

.psy-card .btn-primary {
    padding: 12px 24px;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a365d 100%);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 38px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--primary);
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-section .btn-secondary:hover {
    background: var(--white);
    color: var(--secondary);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.payment-icon {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Blog Section */
.blog-section {
    padding: 100px 24px;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-light);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f9ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.blog-content {
    padding: 24px;
}

.blog-category {
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--secondary);
}

.blog-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.blog-meta {
    font-size: 13px;
    color: #94a3b8;
}

/* Footer */
footer {
    background: #1a2634;
    color: var(--white);
    padding: 80px 24px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-powered {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.footer-powered p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.footer-powered strong {
    color: var(--primary);
}

.footer-powered a {
    color: var(--primary);
    text-decoration: underline;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #94a3b8;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #64748b;
}

/* Page Header */
.page-header {
    background: var(--bg-gradient);
    padding: 140px 24px 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    color: var(--secondary);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* Auth Section */
.auth-section {
    padding: 120px 24px 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
}

.auth-container {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 50px;
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header h1 {
    font-size: 30px;
    margin-bottom: 10px;
    color: var(--secondary);
}

.auth-header p {
    color: var(--text-light);
}

/* Contact Page */
.contact-section {
    padding: 100px 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 17px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 54px;
    height: 54px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--secondary);
    margin-bottom: 4px;
}

.contact-item span {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.1);
}

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

/* Security Page */
.security-section {
    padding: 100px 24px;
}

.security-content {
    max-width: 800px;
    margin: 0 auto;
}

.security-content h2 {
    font-size: 28px;
    margin: 45px 0 20px;
    color: var(--primary);
}

.security-content h2:first-child {
    margin-top: 0;
}

.security-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.security-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.security-content li {
    padding: 10px 0;
    padding-left: 10px;
    color: var(--text-light);
    line-height: 1.7;
}

.security-content li::marker {
    color: var(--primary);
}

.security-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f9ff 100%);
    padding: 35px;
    border-radius: 20px;
    margin: 40px 0;
    border: 1px solid rgba(42, 157, 143, 0.2);
}

.security-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Legal Page */
.legal-section {
    padding: 100px 24px;
    max-width: 850px;
    margin: 0 auto;
}

.legal-section h1 {
    font-size: 38px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--secondary);
}

.legal-section h2 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--primary);
}

.legal-section h2:first-of-type {
    margin-top: 0;
}

.legal-section p,
.legal-section li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    padding-left: 20px;
}

.legal-section a {
    color: var(--primary);
    text-decoration: underline;
}

/* Filters */
.filters {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--secondary);
}

.filter-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    background: var(--white);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
    }

    .nav-desktop.active {
        display: flex;
    }

    .btn-menu {
        display: flex;
    }

    .header-actions .btn-secondary {
        display: none;
    }

    .hero {
        padding: 150px 24px 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 32px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .trust-badges {
        grid-template-columns: 1fr;
    }

    .psychologues-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .auth-container {
        padding: 30px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero > * {
    animation: fadeInUp 0.6s ease forwards;
}

.hero h1 {
    animation-delay: 0.1s;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.search-box {
    animation-delay: 0.3s;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.hero-stats {
    animation-delay: 0.4s;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
