/* ========================================
   InfinityRe Coming Soon Page
   Pure HTML & CSS
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9fafb;
    color: #0a0e27;
    line-height: 1.6;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('../assets/insurance-hero.png');
    background-size: cover;
    background-position: center right;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, white, rgba(255, 255, 255, 0.85), transparent);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 0;
    }
}

/* Hero Left */
.hero-left {
    animation: fadeInUp 0.7s ease-out;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.badge-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #06b6d4;
}

.badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0a0e27;
}

.main-heading {
    font-size: 3rem;
    font-weight: 800;
    color: #0a0e27;
    margin-bottom: 1rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .main-heading {
        font-size: 3.75rem;
    }
}

@media (min-width: 768px) {
    .main-heading {
        font-size: 4.5rem;
    }
}

.subheading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #3b4a6b;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .subheading {
        font-size: 1.5rem;
    }
}

.description {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 28rem;
}

@media (min-width: 768px) {
    .description {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
    }
}

/* Newsletter Section */
.newsletter-section {
    margin-bottom: 2.5rem;
}

.newsletter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0a0e27;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 28rem;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.email-input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    ring: 2px;
    ring-color: #06b6d4;
    border-color: transparent;
    background-color: white;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(to right, #2563eb, #06b6d4);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
}

.btn-icon {
    width: 1rem;
    height: 1rem;
}

.success-message {
    font-size: 0.875rem;
    color: #06b6d4;
    margin-top: 1rem;
    font-weight: 500;
    animation: fadeInUp 0.7s ease-out;
}

/* Benefits */
.benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-icon svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

.benefit-item span {
    font-size: 1rem;
    color: #4b5563;
    font-weight: 500;
}

/* Hero Right */
.hero-right {
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 0.7s ease-out;
}

@media (min-width: 768px) {
    .hero-right {
        display: flex;
    }
}

.logo-container {
    animation: floatUp 3s ease-in-out infinite;
}

.logo-image {
    width: 100%;
    height: auto;
    max-width: 20rem;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.1));
}

@media (min-width: 1024px) {
    .logo-image {
        max-width: 24rem;
    }
}

/* Mobile Logo */
.mobile-logo {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    animation: floatUp 3s ease-in-out infinite;
}

@media (min-width: 768px) {
    .mobile-logo {
        display: none;
    }
}

.logo-image-mobile {
    width: 8rem;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

@media (min-width: 640px) {
    .logo-image-mobile {
        width: 10rem;
    }
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: #0a0e27;
    color: white;
    padding: 3rem 0;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .contact-item {
        text-align: left;
    }
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.contact-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item a,
.contact-item p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #06b6d4;
}

.footer-divider {
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    padding-top: 2rem;
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

.coming-soon-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ========================================
   Animations
   ======================================== */

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatUp {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ========================================
   Responsive Adjustments
   ======================================== */

@media (max-width: 640px) {
    .main-heading {
        font-size: 2.5rem;
    }

    .subheading {
        font-size: 1.125rem;
    }

    .description {
        font-size: 0.95rem;
    }

    .badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .badge-icon {
        width: 1rem;
        height: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .btn-primary {
        width: 100%;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto;
    }
}
