:root {
    --primary-color: #0d9488;
    --secondary-color: #2dd4bf;
    --text-color: #134e4a;
    --text-light: #64748b;
    --background-light: #f0fdfa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    --shadow: 0 10px 30px rgba(13, 148, 136, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    border-radius: 8px;
}

.btn-download-nav {
    background: var(--gradient);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-download-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 0, 224, 0.3);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at top right, rgba(13, 148, 136, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(45, 212, 191, 0.05), transparent 40%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 480px;
}

.app-store-badge img {
    height: 50px;
    transition: var(--transition);
}

.app-store-badge:hover img {
    transform: scale(1.05);
}

/* Hero Image from Live Site */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.iphonePreview {
    width: 457.5px;
    height: 808px;
    background-image: url("images/device-frame.png");
    background-size: 400px;
    background-repeat: no-repeat;
    background-position: 0 0;
    /* Scale down for smaller screens if needed, but keeping exact for now */
    transform-origin: top left;
}

.iphoneScreen {
    margin: 23px 0 0 26px;
    width: 349px;
    height: 758px;
    border-radius: 40px;
    /* Approximation of the SVG mask */
    /* Ensure it doesn't overflow if the approximation is slightly off */
    object-fit: cover;
}

/* Float animation attached to the container */
.iphonePreview {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--background-light);
}

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

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

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

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
}

.made-with {
    font-size: 1.125rem;
    color: var(--text-color);
    font-weight: 500;
}

.heart {
    display: inline-block;
    color: #ef4444;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.2);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }

    60% {
        transform: scale(1);
    }
}

.email-btn {
    width: 50px;
    height: 50px;
    background: #2dd4bf;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
}

.email-btn:hover {
    transform: translateY(-2px) scale(1.05);
    background: #14b8a6;
    box-shadow: 0 6px 20px rgba(45, 212, 191, 0.4);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    margin-top: 10px;
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero p {
        margin: 0 auto 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links a {
        margin: 0 10px;
    }
}