/* Global Styles & Variables */
:root {
    --primary-color: #00A3E0;
    /* Electric Blue/Cyan - Trust & Tech */
    --primary-dark: #0077A3;
    --accent-color: #FF8c00;
    /* Energetic Orange for CTAs */
    --accent-hover: #E07B00;
    --dark-bg: #0b0d17;
    /* Deep Night Noir */
    --card-bg: #141726;
    --text-light: #ffffff;
    --text-dim: #a0a0a0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --gradient-hero: linear-gradient(135deg, rgba(11, 13, 23, 0.9) 0%, rgba(11, 13, 23, 0.4) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.small-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.full-width {
    width: 100%;
}

/* Navbar */
.navbar {
    background: rgba(11, 13, 23, 0.95);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(0, 163, 224, 0.5);
}

.nav-cta {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    background-image: url('nyc_hero_skyline.png');
    /* Will be generated */
    background-position: center;
    background-size: cover;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding-top: 60px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sub-headline {
    font-size: 1.25rem;
    color: #dedede;
    margin-bottom: 40px;
}

.hero-microcopy {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #aaa;
}

.hero-microcopy i {
    color: #25D366;
    /* WhatsApp Green */
    margin-right: 5px;
}

/* Pulse Animation for Button */
.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 140, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
    }
}

/* Pillars Section */
.pillars {
    background: var(--dark-bg);
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 50px;
    border-radius: 2px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 163, 224, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 25px;
}

.pillar-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.pillar-card p {
    color: var(--text-dim);
}

/* Event Details Section */
.event-details {
    background: linear-gradient(to bottom, var(--dark-bg), #0f111a);
}

.details-box {
    background: white;
    color: #333;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 250px;
    justify-content: center;
    margin: 15px 0;
}

.detail-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.detail-item h4 {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.detail-item p {
    font-weight: 700;
    font-size: 1.1rem;
    color: #111;
}

.detail-item .small {
    font-weight: 400;
    font-size: 0.85rem;
    color: #666;
}

.detail-item .free {
    color: #28a745;
    font-size: 1.2rem;
}

.detail-line {
    width: 1px;
    height: 60px;
    background: #eee;
    display: none;
}

@media(min-width: 900px) {
    .detail-line {
        display: block;
    }
}

/* Host Section */
.host {
    background: #10121b;
}

.host-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.host-image-container {
    position: relative;
}

.host-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    filter: brightness(0.9);
}

.host-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: white;
    color: var(--dark-bg);
    padding: 10px 25px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: skew(-10deg);
}

.host-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.host-content p {
    color: var(--text-dim);
    margin-bottom: 15px;
}

/* FAQ */
.accordion {
    margin-top: 40px;
}

.accordion-item {
    background: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: white;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-body);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-header.active {
    color: var(--primary-color);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.accordion-body p {
    padding-bottom: 20px;
    color: var(--text-dim);
}

/* CTA Section */
.cta-section {
    position: relative;
    background-image: url('essential_services_collage.png');
    /* Will be generated */
    background-position: center;
    background-size: cover;
    padding: 100px 0;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 13, 23, 0.85);
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.form-wrapper {
    max-width: 500px;
    margin: 40px auto 0;
    background: white;
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.privacy-text {
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px;
    display: block;
}

/* Footer */
footer {
    background: #05060a;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.2rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    margin: 0 10px;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    color: #111;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.modal-content h2 {
    color: #111;
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Responsive adjustments */
/* Responsive adjustments */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .details-box {
        flex-direction: column;
        text-align: center;
    }

    .detail-item {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .detail-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .detail-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    /* Less vertical space */

    .navbar {
        padding: 15px 0;
        background: rgba(11, 13, 23, 1);
    }

    /* Solid bg for better readability */
    .nav-cta {
        display: none;
    }

    /* Hide CTA in nav on small screens to save space */
    .logo {
        font-size: 1rem;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
        height: auto;
    }

    /* Allow content to dictate height */
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .sub-headline {
        font-size: 1.1rem;
    }

    .host-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .host-img {
        height: 300px;
        object-fit: cover;
        object-position: top;
    }

    .host-badge {
        right: 50%;
        transform: translateX(50%) skew(-10deg);
        bottom: -15px;
        width: max-content;
    }

    .accordion-header {
        font-size: 1rem;
        padding: 15px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .form-wrapper {
        padding: 25px;
        margin-top: 20px;
    }

    .form-wrapper h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .btn {
        width: 100%;
        display: block;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .details-box {
        padding: 25px;
    }

    .detail-item i {
        font-size: 2rem;
    }

    .detail-item h4 {
        font-size: 0.8rem;
    }

    .detail-item p {
        font-size: 1rem;
    }

    .host-content h2 {
        font-size: 1.8rem;
    }

    /* Input font size 16px to prevent iOS zoom */
    input {
        font-size: 16px;
        padding: 12px;
    }

    .modal-content {
        padding: 25px;
        width: 95%;
    }

    .success-icon {
        font-size: 3rem;
    }
}