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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #A8E6CF 0%, #2A40B0 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: #333;
}

/* Header Styles */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.nav-container {
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 32px;
}

.nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

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

.contact-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    text-decoration: none;
    display: inline-block;
}

.contact-btn:hover {
    background: white;
    color: #2A40B0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Main Content */
.main-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px; /* Adjust for fixed header */
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Content */
.content-left {
    color: white;
}

.tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-weight: 400;
    background: transparent;
    display: inline-block;
    padding: 0;
    border-radius: 0;
}

.main-headline {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    color: black;
}

.main-headline .highlight {
    color: #2A40B0;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-button {
    background: black;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.cta-button:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Right Visual Section */
.content-right {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotate-scene 30s infinite linear;
}

/* Glass Morphism Objects */
.glass-object {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    transform-style: preserve-3d;
}

.main-glass {
    width: 350px;
    height: 250px;
    top: 100px;
    left: 50px;
    transform: translateZ(50px) rotateY(20deg);
    overflow: hidden;
    border-radius: 20px;
}

.main-glass-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.glass-reflection {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    border-radius: 15px;
    pointer-events: none;
}

.phone-glass {
    width: 100px;
    height: 160px;
    top: 50px;
    right: 50px;
    transform: translateZ(100px) rotateY(-25deg);
    overflow: hidden;
    border-radius: 20px;
}

.phone-glass-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.sphere {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    bottom: 100px;
    left: 80px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateZ(-30px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere-icon {
    width: 50px;
    height: 50px;
    filter: brightness(0) saturate(100%) invert(1);
}

/* App Preview */
.app-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(80px) rotateY(10deg);
    z-index: 10;
}

.app-preview-img {
    width: 400px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .content-left {
        order: 2;
    }
    .content-right {
        order: 1;
        height: 400px;
        margin-bottom: 2rem;
    }
    .main-headline {
        font-size: 2.8rem;
    }
    .tagline {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .main-headline {
        font-size: 2.8rem;
    }
    .header {
        width: 95%;
        top: 10px;
    }
    .nav-container {
        padding: 0.5rem 1.5rem;
        justify-content: space-between;
    }
    .logo {
        position: static;
        transform: none;
    }
    .contact-btn {
        position: static;
        transform: none;
    }
    .logo-text-img {
        display: none; /* Hide text logo on small screens */
    }
}

/* Animations */
@keyframes rotate-scene {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.glass-object {
    animation: float 8s ease-in-out infinite;
}

.glass-object.phone-glass {
    animation-delay: -2s;
    animation-duration: 7s;
}

.glass-object.sphere {
    animation-delay: -4s;
    animation-duration: 9s;
}

/* Scroll Animation */
.content-left > *, .content-right {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-left > *.show, .content-right.show {
    opacity: 1;
    transform: translateY(0);
}
