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

body {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    line-height: 1.6;
    background-color: #0b0f19;
    overflow-x: hidden;
}

/* Background overlay configuration to sit over backstretch image */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.85) 0%, rgba(20, 30, 48, 0.75) 100%);
    z-index: -1;
}

a {
    color: #00d2ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3a7bd5;
}

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

/* Header */
.main-header {
    padding: 30px 0 10px;
    text-align: center;
    animation: fadeInDown 1s ease forwards;
}

.logo {
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Typography */
.glow-text {
    font-size: 3.8rem;
    font-weight: 800;
    background: -webkit-linear-gradient(45deg, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-shadow: 0px 0px 20px rgba(0, 210, 255, 0.3);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.15rem;
    color: #e2e8f0;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: #f8fafc;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #00d2ff;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Glassmorphism Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 24px;
    padding: 40px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin: 30px auto 80px;
    max-width: 900px;
    animation: fadeInUp 1s ease forwards;
    transform: translateY(20px);
    opacity: 0;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 210, 255, 0.15);
    color: #00d2ff;
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

/* Countdown */
.countdown.styled {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.countdown.styled > div {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    min-width: 120px;
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.countdown.styled > div:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.4);
}

.countdown.styled > div span {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
}

/* Products Section */
.products-section {
    padding-bottom: 100px;
    animation: fadeInUp 1.2s ease forwards;
    transform: translateY(20px);
    opacity: 0;
    animation-delay: 0.2s;
}

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

.product-card {
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 210, 255, 0.15);
    border-color: rgba(0, 210, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.product-img {
    max-width: 240px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 8px 10px rgba(0,0,0,0.4));
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

/* All products now have native logos. No fallbacks needed */

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

.product-card p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.6;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .glow-text {
        font-size: 3rem;
    }
    .countdown.styled {
        gap: 15px;
    }
    .countdown.styled > div {
        min-width: 100px;
        font-size: 2.8rem;
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .glow-text {
        font-size: 2.2rem;
    }
    .subtitle {
        font-size: 1.1rem;
    }
    .countdown.styled {
        flex-wrap: wrap;
    }
    .countdown.styled > div {
        flex: 1 1 40%;
        min-width: 120px;
    }
    .hero-section {
        padding: 30px 20px;
    }
}

/* Contact Section */
.contact-section {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
    animation: fadeInUp 1.4s ease forwards;
    transform: translateY(20px);
    opacity: 0;
    animation-delay: 0.4s;
    padding: 50px 30px;
}

.contact-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 35px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 550px;
    margin: 0 auto;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: #64748b;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: #00d2ff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: #ffffff;
    border: none;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.35);
}

#form-messages {
    margin-top: 15px;
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    display: none;
}

#form-messages.success {
    display: block;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

#form-messages.error {
    display: block;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}
