:root {
    --primary: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --background: #ffffff;
    --background-alt: #F3F4F6;
    --border-color: #E5E7EB;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background: var(--background-alt);
}

.main {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

/* Hero Section */
.hero {
    padding: 2rem 4rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 0L60 30L30 60L0 30L30 0Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: moveBackground 20s linear infinite;
    opacity: 0.2;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, -50%); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Content Section */
.content-section {
    background: var(--background);
    padding: 2rem;
    overflow-y: auto;
    max-height: 100vh;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container img {
    max-width: 250px;
    height: auto;
}

.content {
    max-width: 800px;
    margin: 0 auto;
}

.terms-section {
    background: var(--background);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px var(--shadow-color);
    transition: transform 0.3s ease;
}

.terms-section:hover {
    transform: translateY(-2px);
}

.terms-section h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.terms-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.terms-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.terms-section li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-email {
    color: var(--primary);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .content-section {
        order: 1;
        padding: 1.5rem;
        max-height: none;
    }

    .hero {
        order: 2;
        padding: 2rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .content {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .hero {
        display: none;
    }

    .content-section {
        padding: 1rem;
    }

    .logo-container img {
        max-width: 200px;
    }

    .terms-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .terms-section h2 {
        font-size: 1.25rem;
    }

    .terms-section p {
        font-size: 0.9rem;
    }
}