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

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 640px) {
    .nav-container {
        padding: 0 1rem;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #374151;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
}

.nav-logo img.logo-mark {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 400px) {
    .nav-logo .logo-text {
        display: none;
    }

    .nav-logo img.logo-mark {
        width: 36px;
        height: 36px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 3vw, 2rem);
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #CC2F2F;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #CC2F2F;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    z-index: -1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0C1A29 0%, #102336 50%, #0B2537 100%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    padding: 0 1.5rem;
    margin: 0 auto;
    z-index: 1;
}

@media (max-width: 640px) {
    .hero-content {
        padding: 0 1rem;
    }
}

.hero-brand {
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(2.25rem, 8vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.25rem;
    line-height: 1.1;
}

.hero-tagline {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
    margin: 0;
}

.hero-headline {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: clamp(0.75rem, 2vw, 1rem);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.25rem, 3vw, 2rem);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-family: 'Roboto', sans-serif;
}

.btn-primary {
    background: #CC2F2F;
    color: white;
    border-color: #CC2F2F;
}

.btn-primary:hover {
    background: #b02828;
    border-color: #b02828;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(204, 47, 47, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #374151;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: clamp(1rem, 2vw, 1.25rem) clamp(1.5rem, 4vw, 2.5rem);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.scroll-indicator {
    position: absolute;
    bottom: clamp(1rem, 4vw, 2rem);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 6vw, 4rem);
}

.section-header h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Spacer */
.hero-spacer {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
}

/* About Section */
.about {
    width: 100%;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: #f8fafc;
    position: relative;
    z-index: 1;
}

.about-main-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-main-content h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #374151;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.about-main-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

.about-main-content p:last-child {
    margin-bottom: 0;
}

/* Features Section */
.features-section {
    width: 100%;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: white;
    position: relative;
    z-index: 1;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 600px) {
    .about-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.about-card {
    background: white;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: clamp(48px, 8vw, 60px);
    height: clamp(48px, 8vw, 60px);
    background: linear-gradient(135deg, #CC2F2F, #ef4444);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin: 0 auto 1.5rem;
}

.about-card h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.about-card p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #6b7280;
    line-height: 1.6;
}

/* About Philosophy Section */
.about-philosophy {
    width: 100%;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: #f8fafc;
    position: relative;
    z-index: 1;
}

.about-intro {
    padding: clamp(1.5rem, 3vw, 2rem) 0;
}

.about-intro-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-intro-content h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #374151;
    margin-bottom: 1.5rem;
}

.about-intro-content p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-intro-content p:last-child {
    margin-bottom: 0;
}

.about-intro-content a {
    color: #CC2F2F;
    text-decoration: none;
    font-weight: 500;
}

.about-intro-content a:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta {
    width: 100%;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #CC2F2F 0%, #b02828 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.signup-form input {
    padding: clamp(0.875rem, 2vw, 1rem) clamp(1rem, 2vw, 1.25rem);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: clamp(0.95rem, 2vw, 1rem);
    font-family: inherit;
}

.signup-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.signup-form input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.signup-form button {
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 2px solid white;
    background: white;
    color: #CC2F2F;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-form button:hover {
    background: transparent;
    color: white;
}

.form-privacy {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.75rem;
}

.form-privacy a {
    color: white;
    text-decoration: underline;
}

.ecosystem-note {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: clamp(0.875rem, 2vw, 0.95rem);
    opacity: 0.9;
}

.ecosystem-note a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

.ecosystem-note a:hover {
    opacity: 0.9;
}

/* Contact Section */
.contact {
    width: 100%;
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: #f8fafc;
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.5rem);
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 2vw, 1.5rem);
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    min-height: 80px;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: clamp(48px, 8vw, 60px);
    height: clamp(48px, 8vw, 60px);
    background: linear-gradient(135deg, #CC2F2F, #ef4444);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-details h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #6b7280;
}

.contact-link {
    color: #6b7280;
    text-decoration: none;
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #CC2F2F;
}

/* Footer */
.footer {
    width: 100%;
    background: #374151;
    color: white;
    padding: clamp(2rem, 5vw, 3rem) 0 1rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: clamp(1rem, 3vw, 2rem);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.footer-logo img {
    height: clamp(28px, 4vw, 32px);
    width: auto;
    object-fit: contain;
}

.footer-tagline p {
    font-style: italic;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

.footer-privacy {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 0.5rem;
}

.footer-privacy:hover {
    text-decoration: underline;
}

/* Privacy overlay */
.privacy-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.privacy-content {
    background: white;
    max-width: 480px;
    padding: 2rem;
    border-radius: 12px;
    color: #333;
}

.privacy-content h3 {
    margin-bottom: 1rem;
    color: #374151;
}

.privacy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #6b7280;
}

.privacy-content button {
    padding: 0.5rem 1.25rem;
    background: #CC2F2F;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-right .badge {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .about-card {
        padding: 1.25rem;
    }
}
