/* home.css - Anya Bot Terms & Privacy Policy Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #8FBC8F 0%, #DEB887 50%, #D2691E 100%);
    overflow: hidden;
}

.leaf {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #8B4513;
    border-radius: 0 100% 0 100%;
    opacity: 0.7;
    animation: fall linear infinite;
}

.leaf:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 15px;
    background: #654321;
    transform: translate(-50%, -50%) rotate(45deg);
}

.leaf1 {
    left: 10%;
    animation-duration: 15s;
    animation-delay: 0s;
    background: #CD853F;
}

.leaf2 {
    left: 30%;
    animation-duration: 12s;
    animation-delay: 2s;
    background: #D2691E;
}

.leaf3 {
    left: 50%;
    animation-duration: 18s;
    animation-delay: 4s;
    background: #B22222;
}

.leaf4 {
    left: 70%;
    animation-duration: 14s;
    animation-delay: 6s;
    background: #DAA520;
}

.leaf5 {
    left: 85%;
    animation-duration: 16s;
    animation-delay: 1s;
    background: #8B4513;
}

.leaf6 {
    left: 5%;
    animation-duration: 20s;
    animation-delay: 3s;
    background: #FF8C00;
}

@keyframes fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

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

/* Header */
.header {
    background: rgba(46, 125, 50, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bot-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo-text h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: -5px;
}

.logo-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    margin-top: 100px;
    padding: 100px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-content h2 {
    font-size: 3.5rem;
    color: #c3e1ff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    color: #34495e;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.bot-id {
    animation: fadeInUp 1s ease 0.4s both;
}

.bot-id span {
    background: rgba(46, 125, 50, 0.9);
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bot-id code {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.05);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 60px;
    position: relative;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2e7d32, #66bb6a);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #66bb6a;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #555;
    line-height: 1.6;
}

.feature-card code {
    background: #f1f2f6;
    color: #2e7d32;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Content Cards */
.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    margin: 50px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-card h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.content-card h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2e7d32, #66bb6a);
    border-radius: 2px;
}

.content-card h3 {
    color: #2e7d32;
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.content-card p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

.content-card ul {
    margin: 15px 0 15px 30px;
    color: #555;
}

.content-card li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-card strong {
    color: #2e7d32;
    font-weight: 600;
}

.content-card em {
    color: #e74c3c;
    font-weight: 500;
}

.content-card code {
    background: #f8f9fa;
    color: #2e7d32;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Terms and Privacy Sections */
.terms, .privacy {
    padding: 50px 0;
}

.terms {
    background: rgba(255, 255, 255, 0.03);
}

.privacy {
    background: rgba(255, 255, 255, 0.08);
}

/* Setup Section */
.setup {
    padding: 50px 0;
    background: rgba(255, 255, 255, 0.05);
}

.setup-code {
    background: #2c3e50;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
}

.setup-code h4 {
    color: #66bb6a;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.setup-code pre {
    color: #ecf0f1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.setup-code code {
    color: #ecf0f1;
    background: none;
    font-size: 0.9rem;
}

.setup-instructions {
    background: rgba(46, 125, 50, 0.1);
    border-left: 4px solid #2e7d32;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.setup-instructions h4 {
    color: #2e7d32;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: rgba(46, 125, 50, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 60px 0 20px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #fff;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-section code {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

.status-badge {
    background: linear-gradient(90deg, #f39c12, #e67e22);
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .content-card {
        padding: 30px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .bot-id span {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .content-card h2 {
        font-size: 2rem;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}