* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #89CFF0;
    --primary-dark: #6bb8dc;
    --primary-light: #a8dcf5;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --white: #ffffff;
    --light-bg: #f8fbfd;
    --border: #e1e8ed;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.logo-wrapper {
    position: relative;
    display: inline-block;
}

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

.trademark {
    position: absolute;
    top: -2px;
    right: -4px;
    font-size: 0.924rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    padding: 5rem 0;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

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

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(137, 207, 240, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.demo-image {
    width: auto;
    height: 100%;
    max-height: 600px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(137, 207, 240, 0.3);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

/* Shuffle Carousel with Stacked Effect */
.carousel-3d {
    width: 100%;
    max-width: 400px;
    height: 600px;
    position: relative;
    margin: 0 auto;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    width: 280px;
    height: 600px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(137, 207, 240, 0.3);
    opacity: 0;
    z-index: 1;
    transition: all 0.8s ease-in-out;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.carousel-item:nth-child(1) {
    animation: stackedSlide1 25s infinite;
}

.carousel-item:nth-child(2) {
    animation: stackedSlide2 25s infinite;
}

.carousel-item:nth-child(3) {
    animation: stackedSlide3 25s infinite;
}

.carousel-item:nth-child(4) {
    animation: stackedSlide4 25s infinite;
}

.carousel-item:nth-child(5) {
    animation: stackedSlide5 25s infinite;
}

/* Slide 1 Animation - Center at 0-20%, Right at 80-100% */
@keyframes stackedSlide1 {
    0%, 18% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        z-index: 10;
    }
    20%, 38% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.75) translateX(-120px);
        z-index: 5;
    }
    40%, 78% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.65);
        z-index: 1;
    }
    80%, 98% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.75) translateX(120px);
        z-index: 5;
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        z-index: 10;
    }
}

/* Slide 2 Animation - Right at 0-20%, Center at 20-40% */
@keyframes stackedSlide2 {
    0%, 18% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.75) translateX(120px);
        z-index: 5;
    }
    20%, 38% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        z-index: 10;
    }
    40%, 58% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.75) translateX(-120px);
        z-index: 5;
    }
    60%, 98% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.65);
        z-index: 1;
    }
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.75) translateX(120px);
        z-index: 5;
    }
}

/* Slide 3 Animation - Left at 0-20%, Right at 20-40%, Center at 40-60% */
@keyframes stackedSlide3 {
    0%, 18% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.65);
        z-index: 1;
    }
    20%, 38% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.75) translateX(120px);
        z-index: 5;
    }
    40%, 58% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        z-index: 10;
    }
    60%, 78% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.75) translateX(-120px);
        z-index: 5;
    }
    80%, 98% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.65);
        z-index: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.65);
        z-index: 1;
    }
}

/* Slide 4 Animation - Right at 40-60%, Center at 60-80% */
@keyframes stackedSlide4 {
    0%, 38% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.65);
        z-index: 1;
    }
    40%, 58% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.75) translateX(120px);
        z-index: 5;
    }
    60%, 78% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        z-index: 10;
    }
    80%, 98% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.75) translateX(-120px);
        z-index: 5;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.65);
        z-index: 1;
    }
}

/* Slide 5 Animation - Right at 60-80%, Center at 80-100%, Left at 0-20% */
@keyframes stackedSlide5 {
    0%, 18% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.75) translateX(-120px);
        z-index: 5;
    }
    20%, 58% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.65);
        z-index: 1;
    }
    60%, 78% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.75) translateX(120px);
        z-index: 5;
    }
    80%, 98% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        z-index: 10;
    }
    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.75) translateX(-120px);
        z-index: 5;
    }
}

.placeholder-image {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: 0 10px 40px rgba(137, 207, 240, 0.3);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.feature-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(137, 207, 240, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--light-bg);
}

.benefits-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

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

.benefit-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--light-bg);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border);
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(137, 207, 240, 0.2);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-heading {
    margin-bottom: 1rem;
}

.cta-heading h2 {
    font-size: 2.5rem;
    margin: 0;
}

.cta-text {
    margin: 0 auto 2rem auto;
}

.cta-text h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 1000px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

.contact-form .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 700;
}

.contact-form .btn-primary:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.contact-form button {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 700;
}

.contact-form button:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s;
}

.social-icon:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-menu {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 0.5rem 1rem;
    }

    .logo {
        height: 40px;
    }

    /* Hero Section */
    .hero {
        padding: 3rem 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .demo-image {
        max-height: 400px;
    }

    /* Simplify carousel on mobile */
    .carousel-3d {
        height: 450px;
        max-width: 250px;
    }

    .carousel-item {
        width: 200px;
        height: 433px;
    }

    /* Sections */
    .features, .benefits, .pricing, .cta {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Benefits */
    .benefits-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    /* CTA Section */
    .cta-heading h2 {
        font-size: 1.75rem;
    }

    .cta-text h3 {
        font-size: 1.1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .social-links {
        justify-content: center;
        align-items: center;
    }

    .placeholder-image {
        height: 300px;
        font-size: 5rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .nav-menu {
        gap: 0.4rem;
        font-size: 0.8rem;
    }

    .cta-button {
        padding: 0.4rem 0.8rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .demo-image {
        max-height: 350px;
    }
}

/* Formspree Button Customization */
.formbutton-button {
    background-color: var(--primary-color) !important;
}

.formbutton-button:hover {
    background-color: var(--primary-dark) !important;
}

/* Pulse attention animation for contact button */
.formbutton-button.pulse-attention {
    animation: pulseAttention 1s ease-in-out 3;
}

@keyframes pulseAttention {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(137, 207, 240, 0.5);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 8px 40px rgba(137, 207, 240, 1);
    }
}

/* Click Here indicator */
.click-here-indicator {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(137, 207, 240, 0.8);
    animation: pulseIndicator 0.8s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes pulseIndicator {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 20px rgba(137, 207, 240, 0.8);
    }
    50% {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 8px 30px rgba(137, 207, 240, 1);
    }
}

/* Form Button Indicator */
.form-button-indicator {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(137, 207, 240, 0.6);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulseIndicator 2s ease-in-out infinite;
}

.indicator-text {
    display: inline-block;
}

.indicator-arrow {
    display: inline-block;
    font-size: 1.5rem;
    animation: arrowBounce 1s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Hide indicator on mobile */
@media (max-width: 768px) {
    .form-button-indicator {
        display: none;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.hero-content,
.hero-image {
    animation: fadeInUp 0.8s ease-out;
}
