/* --- Custom CSS --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0D1B1A;
    color: #FFFFFF;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

#hive-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #0D1B1A;
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 27, 26, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(57, 134, 128, 0.2);
    transition: background-color 0.3s ease-in-out;
}

.hero-text-gradient {
    background: linear-gradient(to right, #FFFFFF 20%, #E9463B 50%, #FFFFFF 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: gradient-wave 8s linear infinite;
}

@keyframes gradient-wave {
    0% { background-position: 200% center; }
    100% { background-position: 0% center; }
}

.btn-custom {
    background-color: #E9463B;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 70, 59, 0.3);
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 70, 59, 0.5);
}

/* Phone mockup styles - INCREASED SIZE AND ADDED SHADOW */
.phone-mockup {
    position: relative;
    width: 360px; /* Increased size */
    height: 720px; /* Increased size */
    background: #1a1a1a;
    border: 16px solid #111;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 25px rgba(255, 255, 255, 0.08); /* Added subtle white glow */
    transform: rotate(5deg);
}
.phone-mockup-screen {
    background-color: #0D1B1A;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}
.phone-mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Screenshot Card Style - INCREASED SIZE AND ADDED SHADOW */
.screenshot-card {
    position: relative;
    background: #1a1a1a;
    border: 16px solid #111;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 25px rgba(255, 255, 255, 0.08); /* Added subtle white glow */
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 9/16;
    max-width: 340px; /* Increased size */
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    transform: rotate(-3deg);
    transition: transform 0.3s ease-in-out;
}
.screenshot-screen {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}
.screenshot-card.tilt-right {
    transform: rotate(3deg);
}
.screenshot-card:hover {
    transform: rotate(0deg) scale(1.02);
}
.screenshot-screen img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
}
.screenshot-screen .hover-image {
    opacity: 0;
}
.screenshot-card:hover .screenshot-screen .hover-image {
    opacity: 1;
}

h2, h3 { text-shadow: 2px 2px 8px rgba(0,0,0,0.6); }
p { text-shadow: 1px 1px 4px rgba(0,0,0,0.4); }

.reveal-fade, .reveal-from-left, .reveal-from-right {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-fade { transform: translateY(50px); }
.reveal-from-left { transform: translateX(-100px); }
.reveal-from-right { transform: translateX(100px); }

.reveal-fade.visible, .reveal-from-left.visible, .reveal-from-right.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Angular Middleground Blocks - FIXED CLIPPING AND INCREASED VERTICAL SIZE */
.feature-text-block {
    background: rgba(5, 150, 136, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(57, 134, 128, 0.3);
    border-bottom: 1px solid rgba(57, 134, 128, 0.3);
    position: relative;
    padding: 6rem 5rem; /* Increased vertical padding */
    overflow: hidden; /* Ensure content doesn't break out */
}
.feature-block-left {
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    border-left: 1px solid rgba(57, 134, 128, 0.3);
    margin-left: calc(-100vw + 50%); /* Adjusted for full bleed on left */
    padding-left: calc(100vw - 50% + 5rem); /* Adjusted for full bleed on left + internal padding */
    margin-right: -5rem; /* Counteract padding-left for content alignment */
    text-align: left; /* Ensure text alignment for left block */
}
.feature-block-right {
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    border-right: 1px solid rgba(57, 134, 128, 0.3);
    margin-right: calc(-100vw + 50%); /* Adjusted for full bleed on right */
    padding-right: calc(100vw - 50% + 5rem); /* Adjusted for full bleed on right + internal padding */
    margin-left: -5rem; /* Counteract padding-right for content alignment */
    text-align: right; /* Ensure text alignment for right block */
}

/* For inner content of the feature blocks */
.feature-block-left > h3, .feature-block-left > p {
    text-align: left;
}
.feature-block-right > h3, .feature-block-right > p {
    text-align: right;
}

.social-icon {
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
    color: #9ca3af;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #E9463B;
}

/* --- Contact page --- */
.contact-phone-banner {
    background: rgba(5, 150, 136, 0.12);
    border: 1px solid rgba(57, 134, 128, 0.35);
    border-radius: 1.5rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.contact-phone-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 700;
    color: #398680;
    margin-bottom: 0.75rem;
}
.contact-phone-number {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.05;
    color: #FFFFFF;
    transition: color 0.2s ease, transform 0.2s ease;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.contact-phone-number:hover {
    color: #E9463B;
    transform: translateY(-2px);
}
.contact-phone-icon {
    width: 1em;
    height: 1em;
    color: #E9463B;
    flex-shrink: 0;
}
.contact-phone-email {
    display: block;
    margin-top: 1rem;
    font-size: 1.125rem;
    color: #9ca3af;
    transition: color 0.2s ease;
}
.contact-phone-email:hover { color: #E9463B; }

.contact-card {
    display: block;
    background: rgba(5, 150, 136, 0.08);
    border: 1px solid rgba(57, 134, 128, 0.25);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(233, 70, 59, 0.6);
    background: rgba(5, 150, 136, 0.14);
}
.contact-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #FFFFFF;
}
.contact-card-text {
    margin-top: 0.5rem;
    color: #d1d5db;
}
.contact-card-cta {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
    color: #E9463B;
}

.contact-form-wrap {
    background: rgba(5, 150, 136, 0.08);
    border: 1px solid rgba(57, 134, 128, 0.25);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
.contact-field { margin-bottom: 1.25rem; }
.contact-field label {
    display: block;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 0.4rem;
}
.contact-field input,
.contact-field textarea {
    width: 100%;
    background: rgba(13, 27, 26, 0.7);
    border: 1px solid rgba(57, 134, 128, 0.35);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #6b7d7a; }
.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #398680;
    box-shadow: 0 0 0 3px rgba(57, 134, 128, 0.25);
}
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
    min-height: 1.25rem;
    color: #398680;
}

@media (max-width: 767px) {
    .feature-text-block {
        padding: 2rem;
    }
    .feature-block-left, .feature-block-right {
        clip-path: none;
        margin: 0;
        padding: 2rem;
        border-radius: 1.5rem;
        border: 1px solid rgba(57, 134, 128, 0.2);
        text-align: center !important; /* Ensure center alignment on small screens */
    }
    .feature-block-left > h3, .feature-block-left > p,
    .feature-block-right > h3, .feature-block-right > p {
        text-align: center !important;
    }
}

