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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #ec4899;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================
   Container
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ==========================================
   Background Animation
   ========================================== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.circle-3 {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.8;
    }
}

/* ==========================================
   Header
   ========================================== */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    animation: pulse 2s infinite;
}

.company-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
}

/* ==========================================
   Main Content
   ========================================== */
.main-content {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

.headline {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.125rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* ==========================================
   Countdown Section
   ========================================== */
.countdown-section {
    margin: 3rem 0;
    text-align: center;
}

.countdown-title {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    padding: 1.5rem 2rem;
    min-width: 120px;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.countdown-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    margin: 3rem 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-color);
    background: var(--bg-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: var(--text-light);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    color: var(--bg-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

/* ==========================================
   Contact Info
   ========================================== */
.contact-info {
    margin: 3rem 0;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    color: var(--text-color);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* ==========================================
   Social Links
   ========================================== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-color);
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.social-link.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-link.twitter:hover {
    background: #1da1f2;
    color: white;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: white;
}

.social-link.youtube:hover {
    background: #ff0000;
    color: white;
}

.social-link.github:hover {
    background: #333;
    color: white;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    text-align: center;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.credits {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.credits a {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.credits a:hover {
    opacity: 0.8;
}

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

@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) {
    .container {
        padding: 1rem;
    }

    .main-content {
        padding: 2rem 1.5rem;
    }

    .company-name {
        font-size: 1.75rem;
    }

    .headline {
        font-size: 1.75rem;
    }

    .description {
        font-size: 1rem;
    }

    .countdown-item {
        min-width: 80px;
        padding: 1rem 1.5rem;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .contact-item {
        font-size: 1rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 100px;
    }

    .company-name {
        font-size: 1.5rem;
    }

    .headline {
        font-size: 1.5rem;
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 0.75rem 1rem;
    }

    .countdown-value {
        font-size: 1.5rem;
    }
}
