:root {
    --primary-color: #B20063;
    --text-dark: #1F1F1F;
    --text-body: #4A4A4A;
    --bg-warm: #F4F3EF;
    --border-color: #EAEAEA;
    --font-main: 'Inter', sans-serif;
}

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

html, body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    background-color: #1a1a1f; /* Matches the footer background color */
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none;
}

body {
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-dark);
}

.main-card {
    margin: 0;
    min-height: 100vh;
    display: flex;
    width: 100%;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    overflow: hidden;
}

.left-panel {
    flex: 1.2;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.right-panel {
    flex: 1;
    background: var(--bg-warm);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* HEADERS */
.global-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 60px 0 200px;
    z-index: 100;
}

.logo img {
    height: 120px;
    max-width: 100%;
    width: auto;
    margin-top: -35px;
    margin-bottom: -45px;
    display: block;
}

.nav {
    display: flex;
    gap: 32px;
}

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

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

/* CONTENT AREAS */
.content-left {
    flex: 1;
    padding: 140px 60px 40px 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 10;
    padding-top: 90px;
}

/* TYPOGRAPHY & LEFT COMPONENTS */
.content-left h1 {
    font-size: 3.5vw; /* Responsive font size */
    max-font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.content-left p {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.features {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #F8F8F8;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
}

.actions {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: #900050;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(178, 0, 99, 0.3);
}

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

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

/* RIGHT COMPONENTS */
.badge {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.badge-top {
    margin-bottom: 40px;
    border: 1px solid rgba(255,255,255,0.9);
}

.mockup-container {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-3d-wrap {
    perspective: 2000px;
    width: 380px;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floating-3d 8s ease-in-out infinite;
}

.phone-3d-frame {
    width: 290px;
    height: 590px;
    background: #000;
    border-radius: 42px;
    position: relative;
    transform: rotateY(-15deg) rotateX(5deg);
    transform-style: preserve-3d;
    border: 8px solid #151517; /* Titanium black inner border */
    outline: 2px solid #3c3c3e; /* Titanium grey outer metallic ring */
    box-shadow: 
        1px 1px 0 #2c2c2e,
        2px 2px 0 #2c2c2e,
        3px 3px 0 #1c1c1e,
        30px 40px 100px rgba(0,0,0,0.5);
}

/* HIDE PHYSICAL SIDE BUTTONS & DYNAMIC ISLAND FOR BEZEL-LESS DISPLAY */
.phone-3d-btn {
    display: none;
}

.p-island {
    display: none;
}

.phone-3d-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    border-radius: 34px;
    overflow: hidden;
    transform: translateZ(5px);
}

.beauty-content {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
    border-radius: 34px;
    overflow: hidden;
}

.beauty-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0;
}



@keyframes floating-3d {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-15px) rotate(0.2deg); }
}

.badge-bottom {
    position: relative;
    z-index: 50;
    margin-top: -15px;
    transform: translateZ(60px);
}

@keyframes shadow-pulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
    33% { opacity: 0.2; transform: translateX(-50%) scale(1.2); }
    66% { opacity: 0.3; transform: translateX(-50%) scale(1.1); }
}

.badge-bottom {
    margin-top: 40px;
    background-color: #E6E4DD;
    border: none;
    box-shadow: none;
}

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

/* THE CORNER CUTOUT EFFECT */
/* This div uses the same fixed background as the body, placed in the bottom right, with a rounded top-left corner to simulate the right-panel being cut out. */
.corner-cutout {
    display: none;
}

/* PROJECT PAGE STYLES */
.subtitle {
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 40px;
    margin-top: -10px;
}

.project-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.p-feature-card {
    background-color: #F4F3EF;
    padding: 20px 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease;
}

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

.p-feature-card:hover .p-feature-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary-color);
}

.p-feature-icon {
    margin-bottom: 5px;
    color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.p-feature-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.badge-coming-soon {
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    background-color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.p-feature-card p {
    font-size: 0.85rem;
    color: var(--text-body);
    margin: 0;
    line-height: 1.4;
}

.waitlist-section {
    margin-top: 20px;
}

.waitlist-section h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.waitlist-form {
    display: flex;
    align-items: center;
    border: 1px solid #A87D92;
    border-radius: 50px;
    padding: 4px;
    max-width: 500px;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.waitlist-form:focus-within {
    box-shadow: 0 0 0 3px rgba(178, 0, 99, 0.15);
    border-color: var(--primary-color);
}

.waitlist-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 20px;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
}

.waitlist-form .btn-primary {
    border-radius: 50px;
    padding: 12px 24px;
    margin: 0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.waitlist-form .btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(178, 0, 99, 0.3);
}

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

.animate-up {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Staggered delays for project page items */
h1.animate-up { animation-delay: 0.1s; }
.subtitle.animate-up { animation-delay: 0.2s; }
.project-features .p-feature-card:nth-child(1).animate-up { animation-delay: 0.3s; }
.project-features .p-feature-card:nth-child(2).animate-up { animation-delay: 0.4s; }
.project-features .p-feature-card:nth-child(3).animate-up { animation-delay: 0.5s; }
.project-features .p-feature-card:nth-child(4).animate-up { animation-delay: 0.6s; }
.waitlist-section.animate-up { animation-delay: 0.7s; }


/* CONTACT PAGE STYLES */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: #F8F8F8;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(178, 0, 99, 0.1);
}

textarea.form-control {
    resize: none;
    min-height: 120px;
}

.contact-info {
    margin-top: 40px;
    display: flex;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-item .icon {
    color: var(--primary-color);
}

.info-item span,
.info-item a {
    font-size: 0.9rem;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-item a:hover {
    color: var(--primary-color);
}

/* Responsiveness (Fully responsive layout across mobile, tablet and desktop) */
@media (max-width: 1024px) {
    .global-header {
        position: relative;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 40px 20px 20px 20px;
        background-color: #ffffff;
    }
    .main-card {
        flex-direction: column;
        margin: 0;
        border-radius: 0;
        min-height: auto;
    }
    .left-panel {
        flex: none;
        width: 100%;
    }
    .right-panel {
        flex: none;
        width: 100%;
        background: var(--bg-warm);
    }
    .content-left {
        padding: 40px 20px;
    }
    .content-right {
        padding: 40px 20px 60px 20px;
    }
    .content-left h1 {
        font-size: 2.2rem;
        text-align: center;
        line-height: 1.2;
    }
    .content-left p {
        font-size: 1rem;
        text-align: center;
        max-width: 100%;
        margin-bottom: 30px;
    }
    .features {
        justify-content: center;
        margin-bottom: 35px;
    }
    .actions {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }
    .actions .btn {
        flex: 1;
        min-width: 200px;
    }
    .phone-3d-wrap {
        width: 100%;
        max-width: 320px;
        height: auto;
        aspect-ratio: 290 / 590;
        margin: 0 auto;
        transform: scale(0.9);
    }
    .phone-3d-frame {
        transform: none; /* Disable 3D tilt on mobile for better visibility */
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
        margin: 0 auto;
        left: auto;
        right: auto;
    }
    .project-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-info {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .site-footer {
        margin-left: 0;
        padding: 50px 20px;
    }
    .footer-middle {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    .footer-nav {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .project-features {
        grid-template-columns: 1fr;
    }
    .content-left h1 {
        font-size: 1.8rem;
    }
    .phone-3d-wrap {
        transform: scale(0.8);
        margin: -40px auto;
    }
    .waitlist-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 10px;
        gap: 10px;
    }
    .waitlist-form input {
        width: 100%;
        text-align: center;
    }
    .waitlist-form .btn-primary {
        width: 100%;
        border-radius: 50px;
    }
}

/* FOOTER STYLES */
.site-footer {
    position: relative;
    margin-left: 0;
    background-color: #1a1a1f;
    background-image: url('assets/new_footer_bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    z-index: 50;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
    
    /* Initial invisible state - ultra-smooth transition */
    transform: translate3d(0, 40px, 0);
    opacity: 0;
    visibility: hidden;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 1.4s;
}

.site-footer.show-footer {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.footer-brand, .footer-middle, .footer-divider, .footer-bottom {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-footer.show-footer .footer-brand {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.2s;
}

.site-footer.show-footer .footer-middle {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.3s;
}

.site-footer.show-footer .footer-divider {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.4s;
}

.site-footer.show-footer .footer-bottom {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.5s;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(20,20,25,0.95) 0%, rgba(20,20,25,0.6) 50%, rgba(20,20,25,0.95) 100%);
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    gap: 25px;
}

.footer-brand {
    margin-bottom: 5px;
}

.footer-brand h2 {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin: 0;
    text-transform: lowercase;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-nav {
    display: flex;
    gap: 30px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    margin: 10px 0;
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-copy p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

