:root {
    --primary-color: rgb(3, 128, 182);  /* App's main color */
    --secondary-color: rgb(1, 77, 110); /* Darker variant */
    --text-color: #263238;              /* Dark blue-gray for text */
    --light-color: #fff;
    --background-color: #e6f4f9;        /* Very light blue background */
    --accent-color: rgb(41, 171, 226);  /* Lighter variant */
    --font-main: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
main {
    flex: 1;
}

.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 2rem 0;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    max-width: 300px;
    position: relative;
}

.phone-mockup img {
    width: 100%;
    display: block;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(3, 128, 182, 0.3);
    z-index: -1;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #555;
}

.coming-soon {
    margin-bottom: 2rem;
}

.coming-soon p {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.app-stores {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.store-badge {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.store-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.notify-me {
    display: flex;
    max-width: 450px;
}

.notify-me input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px 0 0 8px;
    font-family: var(--font-main);
    font-size: 1rem;
}

.notify-me input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.notify-me button {
    background-color: var(--primary-color);
    color: var(--light-color);
    font-weight: 600;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.notify-me button:hover {
    background-color: rgb(1, 77, 110);
}

/* App Showcase Styles */
.app-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 500px;
}

.app-screenshot {
    width: 140px;
    transform: perspective(800px) rotateY(25deg);
    transition: all 0.5s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
    margin: -10px;
    z-index: 1;
}

.app-screenshot.featured {
    width: 170px;
    transform: perspective(800px) rotateY(0);
    z-index: 3;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.app-screenshot:first-child {
    transform: perspective(800px) rotateY(25deg) translateX(30px);
    z-index: 2;
}

.app-screenshot:last-child {
    transform: perspective(800px) rotateY(-25deg) translateX(-30px);
    z-index: 2;
}

.app-screenshot:hover {
    transform: perspective(800px) rotateY(0) scale(1.05);
    z-index: 4;
}

.phone-screenshot {
    width: 100%;
    display: block;
    border-radius: 20px;
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid #eee;
}

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

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f1f1;
    color: var(--secondary-color);
    transition: background-color 0.3s, color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .notify-me {
        margin: 0 auto;
    }
    
    .app-showcase {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .app-screenshot {
        width: 120px;
    }
    
    .app-screenshot.featured {
        width: 140px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0 0.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .app-showcase {
        flex-direction: column;
        max-width: 200px;
    }
    
    .app-screenshot {
        width: 160px;
        transform: none;
        margin: 10px 0;
        z-index: 1;
    }
    
    .app-screenshot.featured {
        width: 180px;
        z-index: 2;
    }
    
    .app-screenshot:first-child,
    .app-screenshot:last-child {
        transform: none;
    }
}

@media (max-width: 576px) {
    .notify-me {
        flex-direction: column;
    }
    
    .notify-me input {
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .notify-me button {
        border-radius: 8px;
        padding: 0.75rem;
    }
    
    .app-stores {
        flex-direction: column;
    }
}
