/* ===========================
   VARIABLES & GLOBAL STYLES
   =========================== */

:root {
    --primary-green: #10b981;
    --primary-orange: #f97316;
    --dark-bg: #0f172a;
    --dark-green: #064e3b;
    --light-green: #d1fae5;
    --light-orange: #fed7aa;
    --text-light: #e0e7ff;
    --text-muted: #a5b4fc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #064e3b 50%, #0f172a 100%);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ===========================
   NAVIGATION BAR
   =========================== */

.navbar-custom {
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ea580c 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.coming-soon-badge {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    min-height: calc(100vh - 200px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-green) 0%, #10b981 50%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ===========================
   INDUSTRY CARDS
   =========================== */

.industry-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.solar-card {
    border-color: rgba(249, 115, 22, 0.3);
}

.solar-card:hover {
    border-color: rgba(249, 115, 22, 0.6);
    background: rgba(249, 115, 22, 0.05);
}

.medical-card {
    border-color: rgba(16, 185, 129, 0.3);
}

.medical-card:hover {
    border-color: rgba(16, 185, 129, 0.6);
    background: rgba(16, 185, 129, 0.05);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: white;
}

.solar-icon {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ea580c 100%);
}

.medical-icon {
    background: linear-gradient(135deg, var(--primary-green) 0%, #059669 100%);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.card-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.learn-more-link {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.solar-link {
    color: var(--primary-orange);
}

.solar-link:hover {
    color: #ea580c;
    gap: 0.5rem;
}

.medical-link {
    color: var(--primary-green);
}

.medical-link:hover {
    color: #059669;
    gap: 0.5rem;
}

/* ===========================
   SUBSCRIPTION BOX
   =========================== */

.subscription-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    margin: 2rem auto 0;
    backdrop-filter: blur(10px);
}

.subscription-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.subscription-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.3);
    background: rgba(15, 23, 42, 0.5);
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: rgba(16, 185, 129, 0.6);
    background: rgba(15, 23, 42, 0.7);
}

.input-icon {
    background: transparent;
    border: none;
    color: var(--primary-green);
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.email-input {
    background: transparent;
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.email-input::placeholder {
    color: rgba(224, 231, 255, 0.5);
}

.email-input:focus {
    background: transparent;
    border: none;
    color: white;
    box-shadow: none;
}

.btn-notify {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ea580c 100%);
    border: none;
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-notify:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
    color: white;
}

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

.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #d1fae5;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #fecaca;
}

/* ===========================
   FOOTER
   =========================== */

.footer-section {
    background: rgba(15, 23, 42, 0.7);
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
    padding: 3rem 1rem 1.5rem;
    margin-top: auto;
}

.footer-column {
    margin-bottom: 2rem;
}

.footer-title {
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-orange);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-divider {
    height: 1px;
    background: rgba(16, 185, 129, 0.2);
    margin: 1.5rem 0;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .subscription-box {
        padding: 1.5rem;
    }

    .industry-card {
        padding: 1.5rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .footer-section {
        padding: 2rem 1rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .subscription-box {
        padding: 1.25rem;
    }

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

    .input-group {
        flex-direction: column;
    }

    .input-icon {
        border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    }
}

/* ===========================
   ANIMATIONS
   =========================== */

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

.hero-title,
.hero-subtitle,
.industry-card,
.subscription-box {
    animation: fadeInUp 0.6s ease-out forwards;
}

.industry-card:nth-child(2) {
    animation-delay: 0.1s;
}

.industry-card:nth-child(3) {
    animation-delay: 0.2s;
}

.subscription-box {
    animation-delay: 0.3s;
}
