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

/* Specific reset for brand link */
.brand-link {
    text-decoration: none !important;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

/* CSS Variables for Colors */
:root {
    --primary-blue: #008AFC;
    --accent-red: #FD6262;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --border-light: #e0e0e0;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: 23px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}



.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-center {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: rgba(0, 138, 252, 0.08);
    text-decoration: none !important;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-slogan {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--primary-blue);
    margin-top: 2px;
    text-align: left;
    line-height: 1.2;
}

.logo-icon {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

/* Beta Badge Container */
.beta-container {
    position: relative;
}

/* Beta Badge - Horizontal Single Line */
.beta-badge {
    background: linear-gradient(135deg, #008AFC 0%, #0066CC 100%);
    border-radius: 25px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 138, 252, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.beta-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 138, 252, 0.4);
}

.beta-text-bold {
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1;
}

.beta-text {
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1;
}

.beta-separator {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    font-weight: 400;
    margin: 0 4px;
}

/* Beta Form Dropdown */
.beta-form-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

.beta-form-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.beta-form-arrow {
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
}

.beta-form-content {
    padding: 24px;
}

.form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.form-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.beta-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-input, .form-textarea {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-input:focus, .form-textarea:focus {
    border-color: #008AFC;
    box-shadow: 0 0 0 2px rgba(0, 138, 252, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 60px;
}

.form-submit {
    background: linear-gradient(135deg, #008AFC 0%, #0066CC 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 138, 252, 0.3);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    margin-bottom: 8px;
    text-align: center;
}

.form-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-item {
    position: relative;
}

/* Main Content */
.main-content {
    margin-top: 80px; /* Account for fixed header */
    padding: 0;
    background: transparent;
}

/* Remove default margins from sections */
section {
    margin: 0;
    padding: 0;
}

/* Ensure no gaps between sections */
.hero-section + .features-section {
    margin-top: -1px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}



.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
    z-index: 2;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(36px, 7.5vw, 76px);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-line-1,
.hero-line-2,
.hero-line-3 {
    display: block;
    width: 100%;
}

.hero-line-3 {
    color: rgba(255, 255, 255, 0.95);
}

.hero-subtitle {
    margin-bottom: 40px;
}

.intro-text {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.brand-highlight {
    color: var(--primary-blue);
    font-weight: 700;
}

.brand-link {
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 700 !important;
    border: none;
    background: none;
}

.brand-link:hover {
    color: #0066cc;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.brand-link:active {
    transform: translateY(0);
    text-decoration: none !important;
}

.brand-link:focus {
    text-decoration: none !important;
    outline: none;
}

.brand-link:visited {
    color: var(--primary-blue);
    text-decoration: none !important;
}

/* High specificity rule to ensure no underline */
a.brand-highlight.brand-link,
a.brand-highlight.brand-link:hover,
a.brand-highlight.brand-link:active,
a.brand-highlight.brand-link:focus,
a.brand-highlight.brand-link:visited {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
    border-bottom: none !important;
    border-bottom-width: 0 !important;
    text-underline-offset: unset !important;
    -webkit-text-decoration: none !important;
    -moz-text-decoration: none !important;
}

.description-text {
    font-family: 'Barlow', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.no-wrap {
    white-space: nowrap;
}

.cta-button {
    display: none; /* Hidden for now */
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 138, 252, 0.3);
}

.cta-button:hover {
    background: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 138, 252, 0.4);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #4a90b8 0%, #7bb3d9 50%, #e8f4f8 100%);
    margin: -5px 0 0 0;
    position: relative;
    z-index: 1;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.features-left {
    position: relative;
    min-height: 600px;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a1a !important;
    box-sizing: border-box;
}

.features-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.features-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 600px;
}

.features-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.features-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

/* Triggered when section comes into view */
.features-content.animate-in .features-title {
    opacity: 1;
    transform: translateY(0);
}

.features-content.animate-in .features-description {
    opacity: 1;
    transform: translateY(0);
}

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

/* Parallax effect for features background */
.features-background {
    transform: translateZ(0);
    will-change: transform;
}

.features-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 15px;
}

.feature-icon svg {
    width: 50px;
    height: 50px;
}

.feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 15px;
}

.feature-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red) 0%, transparent 100%);
    border-radius: 1px;
}

/* AWS Integration Section */
.aws-integration-section {
    background: #1a1a1a;
    color: white;
    padding: 80px 0;
    position: relative;
}

.aws-integration-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.aws-integration-left {
    position: sticky;
    top: 120px;
}

.aws-integration-content {
    max-width: 500px;
}

.aws-integration-title {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
}

.aws-integration-description {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 30px;
}

.aws-integration-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.aws-feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.aws-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.aws-feature-icon {
    margin-bottom: 20px;
}

.aws-feature-icon svg {
    width: 60px;
    height: 60px;
}

.aws-feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.aws-feature-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.aws-feature-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red) 0%, transparent 100%);
    border-radius: 1px;
}

/* Footer */
.site-footer {
    background: #4a5568;
    color: white;
    padding: 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-logo .logo-icon {
    height: 45px;
    width: auto;
    max-width: 135px;
}

.footer-logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff !important;
}

.footer-contact {
    text-align: right;
}

.footer-email {
    color: white;
    text-decoration: none;
    font-size: 12px;
    margin-bottom: 5px;
    display: block;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: var(--primary-blue);
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-address {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Menu Toggle Button (hidden on desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 138, 252, 0.08);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 80px 20px 20px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.mobile-nav .nav-link {
    font-size: 18px;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 200px;
}

.mobile-nav .nav-link:hover {
    background: rgba(0, 138, 252, 0.1);
    transform: translateY(-2px);
}

/* Mobile beta badge in menu */
.mobile-menu .beta-container {
    display: block;
    margin-top: 20px;
}

.mobile-menu .beta-badge {
    background: var(--primary-blue);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu .beta-badge:hover {
    background: #0066cc;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-container {
        gap: 40px;
    }

    .features-left {
        min-height: 400px;
    }

    .aws-integration-container {
        gap: 40px;
    }

    .aws-integration-left {
        position: static;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 0;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 0 15px;
    }

    .header-left {
        flex: 1;
        min-width: 0; /* Allow shrinking */
    }

    .logo-icon {
        height: 40px;
        max-width: 120px;
    }

    .logo-slogan {
        font-size: 10px;
        margin-top: 1px;
    }

    .header-center {
        display: none; /* Hide desktop navigation */
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    /* Hide beta badge on mobile to save space */
    .beta-container {
        display: none;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }

    /* Show mobile menu overlay */
    .mobile-menu {
        display: block;
    }

    .main-nav {
        gap: 20px;
    }

    .nav-link {
        font-size: 13px;
        padding: 6px 12px;
    }

    .hero-title {
        font-size: 36px;
        text-align: center;
        align-items: center;
        line-height: 1.2;
        margin-bottom: 25px;
    }

    .intro-text {
        font-size: 24px;
        text-align: center;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .description-text {
        font-size: 18px;
        text-align: center;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .hero-content {
        text-align: center;
        padding: 0 20px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Better mobile button spacing */
    .cta-button {
        margin-top: 30px;
        padding: 16px 32px;
        font-size: 16px;
        min-height: 48px; /* Touch-friendly height */
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-left {
        min-height: 300px;
        order: 2;
    }

    .features-right {
        order: 1;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .aws-integration-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .aws-integration-left {
        order: 1;
    }

    .aws-integration-right {
        order: 2;
    }

    .aws-integration-title {
        font-size: 32px;
    }

    .aws-integration-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }

    .main-content {
        margin-top: 70px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .header-container {
        padding: 0 15px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .logo-icon {
        height: 36px;
        max-width: 100px;
    }

    .logo-slogan {
        font-size: 9px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.1;
        align-items: center;
    }

    .intro-text {
        font-size: 20px;
    }

    .description-text {
        font-size: 16px;
    }

    .hero-content,
    .features-container,
    .footer-container {
        padding: 0 15px;
    }

    .feature-card {
        padding: 20px;
    }

    .features-content {
        padding: 20px;
    }

    .features-title {
        font-size: 24px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Additional animations and effects */
.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Loading states */
.hero-bg-image,
.features-bg-image {
    transition: opacity 0.3s ease;
}

.hero-bg-image.loading,
.features-bg-image.loading {
    opacity: 0.7;
}

/* Focus states for accessibility */
.cta-button:focus,
.nav-link:focus,
.footer-email:focus,
.social-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .site-header {
        display: none;
    }

    .main-content {
        margin-top: 0;
    }

    .hero-section {
        min-height: auto;
        page-break-inside: avoid;
    }
}
