/* --- RESET & CORE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: #555;
    margin-bottom: 15px;
    font-size: 15px;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* --- BACKGROUND ANIMATION (App Themed) --- */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    opacity: 0.05;
    animation: floatFullPage linear infinite;
    color: #673AB7;
    font-size: 30px;
}

.bg-shape:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-duration: 25s;
    content: '📱';
    font-size: 20px;
}

.bg-shape:nth-child(2) {
    top: 25%;
    right: 12%;
    font-size: 60px;
    animation-duration: 35s;
    animation-delay: -5s;
    color: #333;
    opacity: 0.03;
}

.bg-shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-duration: 28s;
    animation-delay: -10s;
    color: #00BCD4;
}

.bg-shape:nth-child(4) {
    bottom: 35%;
    right: 8%;
    animation-duration: 32s;
    color: #FF6A00;
    opacity: 0.04;
}

@keyframes floatFullPage {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(10deg);
    }

    66% {
        transform: translate(-20px, 40px) rotate(-10deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* --- HEADER STYLES --- */
.header {
    background: #F8EBD6;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 72px;
    animation: slideDown 0.8s ease forwards;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    display: block;
}



.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-buttons .btn-login {
    padding: 8px 24px;
    border: 1px solid #ccc;
    background: transparent;
    border-radius: 30px;
    color: #333;
    font-weight: 500;
}

.auth-buttons .btn-login:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #bbb;
}

.auth-buttons .btn-signup {
    background: #FF6A00;
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(255, 106, 0, 0.2);
}

.auth-buttons .btn-signup:hover {
    background: #e05c00;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 106, 0, 0.3);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
    margin-left: 10px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* --- APP HERO SECTION --- */
.app-hero {
    position: relative;
    padding: 120px 0;
    background-color: #1A237E;
    /* Indigo */
    color: white;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.app-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A237E 0%, #311B92 100%);
    z-index: 0;
}

/* Hexagon Pattern Overlay */
.app-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 16%), radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 16%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    opacity: 0.1;
}

.app-hero-content {
    position: relative;
    z-index: 5;
    max-width: 600px;
}

.app-hero h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.app-hero h1 span {
    background: linear-gradient(90deg, #00BCD4, #B2EBF2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-hero p {
    font-size: 18px;
    color: #C5CAE9;
    max-width: 550px;
    margin-bottom: 35px;
}

.btn-app {
    background: #00BCD4;
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.4);
}

.btn-app:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.6);
    background: #00ACC1;
}

/* Phone Visual Animation */
.phone-mockup {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 600px;
    border: 12px solid #111;
    border-radius: 40px;
    background: #000;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    z-index: 5;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-header {
    height: 60px;
    background: #f5f5f5;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-notch {
    width: 100px;
    height: 20px;
    background: #111;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.app-ui-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ui-block {
    width: 100%;
    height: 100px;
    background: #e0f7fa;
    border-radius: 12px;
    animation: slideUpUI 3s infinite ease-in-out;
}

.ui-block:nth-child(2) {
    height: 60px;
    background: #fff9c4;
    animation-delay: 0.5s;
}

.ui-block:nth-child(3) {
    height: 120px;
    background: #fce4ec;
    animation-delay: 1s;
}

@keyframes slideUpUI {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* --- TECH STACK GRID --- */
.tech-grid-section {
    padding: 80px 0;
    background: #fff;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    text-align: center;
    opacity: 0.7;
}

.tech-item {
    font-size: 40px;
    color: #555;
    transition: 0.3s;
}

.tech-item:hover {
    color: #673AB7;
    transform: scale(1.1);
    opacity: 1;
}

.tech-item p {
    font-size: 12px;
    margin-top: 5px;
    font-weight: 600;
}

/* --- SERVICES SECTION --- */
.app-services {
    padding: 100px 0;
    background: #f5f5f5;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #1A237E;
}

.as-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.as-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid transparent;
}

.as-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-top-color: #673AB7;
}

.as-icon {
    font-size: 40px;
    color: #673AB7;
    margin-bottom: 20px;
}

.as-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.as-card ul {
    list-style: none;
    margin-top: 15px;
}

.as-card li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.as-card li i {
    color: #00BCD4;
    font-size: 12px;
}

/* --- LIFECYCLE PROCESS --- */
.lifecycle {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #f0f0f0;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.tl-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.tl-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid #673AB7;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.tl-left {
    left: 0;
}

.tl-right {
    left: 50%;
}

.tl-left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #f9f9f9;
}

.tl-right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f9f9f9 transparent transparent;
}

.tl-right::after {
    left: -10px;
}

.tl-content {
    padding: 20px 30px;
    background: #f9f9f9;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tl-content h3 {
    font-size: 20px;
    color: #1A237E;
    margin-bottom: 10px;
}

/* --- CTA SECTION --- */
.app-cta {
    padding: 80px 0;
    background: linear-gradient(90deg, #311B92, #673AB7);
    text-align: center;
    color: white;
}

.app-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.app-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-white-outline {
    border: 2px solid white;
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-white-outline:hover {
    background: white;
    color: #673AB7;
}

/* --- FOOTER STYLES (Identical) --- */
.footer {
    background: #f9f9f9;
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid #eee;
    position: relative;
    z-index: 2;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.footer-logo h3 span {
    display: block;
    font-size: 14px;
    color: #FF6A00;
    font-weight: 500;
}

.footer-logo p {
    color: #777;
    margin: 10px 0;
}

.tagline {
    font-weight: 600;
    color: #FF6A00 !important;
    font-size: 18px;
    margin: 15px 0 30px;
}

.footer-links a {
    margin: 0 15px;
    color: #666;
    font-size: 14px;
}

.footer-links a:hover {
    color: #FF6A00;
}

.footer-copyright {
    margin-top: 30px;
    color: #999;
    font-size: 13px;
}

/* --- ANIMATIONS --- */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-hidden {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.animate-hidden {
    transform: translateY(40px);
}

.fade-right.animate-hidden {
    transform: translateX(-40px);
}

.fade-left.animate-hidden {
    transform: translateX(40px);
}

.animate-active {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

.stagger-children.animate-active>* {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.animate-active>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children.animate-active>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children.animate-active>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children.animate-active>*:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-children.animate-active>*:nth-child(5) {
    transition-delay: 0.5s;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
    }



    .app-hero {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-top: 100px;
    }

    .phone-mockup {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin-top: 50px;
    }

    .as-grid,
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::after {
        left: 31px;
    }

    .tl-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .tl-container::after {
        left: 21px;
    }

    .tl-right {
        left: 0;
    }

    .tl-left::before,
    .tl-right::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent #f9f9f9 transparent transparent;
    }
}

@media (max-width: 600px) {

    .as-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
}