/* CSS Variables */
:root {
    --ember-orange: #FF6B35;
    --slate: #64748B;
    --navy: #1E293B;
    --cedar-green: #22C55E;
    --light-gray: #F8FAFC;
    --medium-gray: #E2E8F0;
    --dark-gray: #334155;
    --white: #FFFFFF;
    
    --container-width: 1200px;
    --section-padding: 80px 0;
    --card-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    font-size: 16px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Header */
.header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
}

.contact-btn {
    background: var(--ember-orange);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.contact-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--slate);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    background: var(--ember-orange);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--slate);
    border: 2px solid var(--slate);
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--slate);
    color: white;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.placeholder-image {
    background: var(--medium-gray);
    border: 2px dashed var(--slate);
    border-radius: var(--card-radius);
    padding: 60px 40px;
    text-align: center;
    color: var(--slate);
    font-weight: 500;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Intro Section */
.intro {
    padding: var(--section-padding);
    background: var(--white);
}

.centered-content {
    text-align: center;
}

.intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--card-radius);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ember-orange);
}

.stat-label {
    color: var(--slate);
    font-weight: 500;
}

/* Products Section */
.products {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.section-title {
    margin-bottom: 3rem;
}

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

.product-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.product-image {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 8px;
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ember-orange);
    margin: 1rem 0;
}

.product-features {
    list-style: none;
    margin: 1.5rem 0;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--slate);
    position: relative;
    padding-left: 1.5rem;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cedar-green);
    font-weight: bold;
}

.product-btn {
    width: 100%;
    background: var(--navy);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.product-btn:hover {
    background: var(--slate);
}

.workplace-btn {
    background: var(--cedar-green);
}

.workplace-btn:hover {
    background: #16a34a;
}

.personal-btn {
    background: var(--ember-orange);
}

.personal-btn:hover {
    background: #e55a2b;
}

.subscription-btn {
    background: var(--slate);
}

.subscription-btn:hover {
    background: var(--dark-gray);
}
/* How It Works */
.how-it-works {
    padding: var(--section-padding);
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Disaster Info */
.disaster-info {
    padding: var(--section-padding);
    background: var(--navy);
    color: var(--white);
}

.disaster-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.disaster-info h2 {
    color: var(--white);
}

.disaster-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.disaster-list {
    list-style: none;
    margin-top: 1.5rem;
}

.disaster-list li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.disaster-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--ember-orange);
    font-weight: bold;
}

/* Features */
.features {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--card-radius);
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.feature-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

/* Trust Section */
.trust {
    padding: var(--section-padding);
    background: var(--cedar-green);
    color: var(--white);
}

.trust-content {
    text-align: center;
}

.trust-content h3 {
    color: var(--white);
    margin-bottom: 2rem;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contacts */
.contacts {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-link {
    background: none;
    border: none;
    color: var(--ember-orange);
    cursor: pointer;
    text-decoration: underline;
    font-size: inherit;
}

.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--card-radius);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--ember-orange);
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 1;
    max-width: 300px;
}

.footer-navigation {
    display: flex;
    gap: 3rem;
    flex: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-brand p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-contact {
    min-width: 200px;
}

.footer-contact h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-contact p {
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--ember-orange);
}

.footer-bottom {
    border-top: 1px solid var(--slate);
    padding-top: 1rem;
    text-align: center;
    color: var(--medium-gray);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--card-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--slate);
    z-index: 1;
}

.close:hover {
    color: var(--ember-orange);
}

.modal-form {
    padding: 2rem;
}

.modal-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-actions {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .disaster-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-navigation {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-navigation {
        gap: 1.5rem;
    }
}