* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.tagline {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.2em;
    color: #667eea;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.2em;
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero .btn-primary {
    margin-top: 20px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f9f9f9;
}

.services h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5em;
    color: #667eea;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 50px;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.about-item {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.about-item h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.about-item p {
    color: #666;
    line-height: 1.8;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.cta .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta .btn-primary {
    padding: 20px 60px;
    font-size: 1.4em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #f0f0f0;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* Admin Styles */
.admin-body {
    background: #f5f5f5;
    min-height: 100vh;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    text-align: center;
    color: #667eea;
    margin-bottom: 30px;
}

.admin-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    color: #667eea;
    font-size: 1.8em;
}

.admin-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-card h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.admin-card p {
    color: #666;
    margin-bottom: 20px;
}

.admin-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.form-group input[type="url"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input[type="url"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 0.9em;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #5a6268;
}

.message {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 600;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.current-link-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.current-link-info h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.link-display {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    word-break: break-all;
}

.link-display a {
    color: #667eea;
    text-decoration: none;
}

.link-display a:hover {
    text-decoration: underline;
}

.no-link {
    color: #999;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .hero h2,
    .services h2,
    .about h2,
    .cta h2 {
        font-size: 1.8em;
    }

    .services-grid,
    .about-content {
        grid-template-columns: 1fr;
    }

    .admin-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

