/* Дизайн для Plant App - природная/растительная тема */
:root {
    --primary-color: #27ae60;
    --secondary-color: #2ecc71;
    --accent-color: #f39c12;
    --dark-green: #1e8449;
    --light-green: #58d68d;
    --text-color: #2c3e50;
    --light-text: #7f8c8d;
    --background-color: #f0f8f4;
    --section-bg: #ffffff;
    --header-gradient: linear-gradient(135deg, #27ae60, #2ecc71, #58d68d);
    --shadow-color: rgba(39, 174, 96, 0.15);
}

@keyframes grow {
    0% { transform: scale(0.9) translateY(5px); }
    50% { transform: scale(1) translateY(0); }
    100% { transform: scale(0.9) translateY(5px); }
}

@keyframes sway {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes leaf-fall {
    0% { 
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% { 
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

.leaves-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(39, 174, 96, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(46, 204, 113, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(88, 214, 141, 0.04) 0%, transparent 70%);
}

.leaves-background::before,
.leaves-background::after {
    content: '🍃';
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
}

.leaves-background::before {
    top: 10%;
    left: 15%;
    animation: leaf-fall 20s linear infinite;
}

.leaves-background::after {
    top: 20%;
    right: 20%;
    animation: leaf-fall 25s linear infinite 5s;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 40px;
    background: var(--header-gradient);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

header::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.logo-container {
    margin-bottom: 20px;
    animation: grow 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.logo {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff, #e8f8f5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 30px rgba(39, 174, 96, 0.3),
        0 5px 20px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.8);
}

.plant-icon {
    font-size: 4.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: sway 3s ease-in-out infinite;
}

h1 {
    color: white;
    font-size: 2.8rem;
    margin: 15px 0 10px 0;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.app-name {
    color: white;
    font-size: 1.3rem;
    margin: 0;
    opacity: 0.95;
    font-weight: 600;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
}

.policy-section {
    background-color: var(--section-bg);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--primary-color);
    position: relative;
}

.policy-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(39, 174, 96, 0.02) 0%,
        transparent 50%
    );
    border-radius: 15px;
    pointer-events: none;
}

.policy-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.policy-section.intro {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.08), rgba(46, 204, 113, 0.08));
    border-left-color: var(--secondary-color);
    border-left-width: 6px;
}

.policy-section.effective-date {
    background: linear-gradient(135deg, #e8f8f5, #f0fdf4);
    border-left-color: var(--light-green);
    text-align: center;
}

.policy-section.contact {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(88, 214, 141, 0.1));
    text-align: center;
}

p {
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.05rem;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin: 20px 0;
}

ul li {
    margin-bottom: 12px;
    padding-left: 40px;
    position: relative;
    color: var(--text-color);
    font-size: 1.05rem;
}

ul li:before {
    content: "🌿";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.3rem;
}

strong {
    color: var(--primary-color);
    font-weight: 600;
}

.email {
    color: var(--primary-color);
    font-weight: 600;
    background-color: rgba(39, 174, 96, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.contact-email {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(46, 204, 113, 0.1));
    border-radius: 10px;
    margin: 20px 0;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 25px 0;
    border-top: 2px solid rgba(39, 174, 96, 0.2);
    color: var(--light-text);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .app-name {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .policy-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .logo {
        width: 90px;
        height: 90px;
    }
    
    .plant-icon {
        font-size: 3.5rem;
    }
    
    p, ul li {
        font-size: 1rem;
    }
    
    .contact-email {
        font-size: 1.1em;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .app-name {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    .policy-section {
        padding: 15px;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .plant-icon {
        font-size: 3rem;
    }
    
    .contact-email {
        font-size: 1em;
        padding: 12px;
    }
}

