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

:root {
    --primary-color: #2ea9e1;
    --primary-dark: #2089b8;
    --primary-light: #4fc3f7;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Top Bar */
.topbar {
    background: var(--white);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.topbar-logo img {
    height: 70px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.topbar-logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-demo-btn {
    display: none;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 5px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 400px;
    padding: 20px 0;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 15px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--bg-light);
    transition: background 0.3s ease;
}

.mobile-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-menu .mobile-cta {
    background: var(--primary-color);
    color: var(--white);
    margin: 15px 20px 0;
    border-radius: 30px;
    border: none;
    width: auto;
    padding: 15px 40px;
}

.mobile-menu .mobile-cta:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 0 80px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 600px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #a8e0f0;
}

.hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 500px;
}

.btn-primary {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 18px 45px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.2rem;
}

.hero-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
}

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

.hero-caption {
    margin-top: 25px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    max-width: 280px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-caption .caption-icon {
    font-size: 1.5rem;
    display: inline;
    margin-right: 8px;
    vertical-align: middle;
}

.hero-caption p {
    color: var(--text-dark);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    display: inline;
}

.hero-caption strong {
    color: var(--primary-color);
    font-size: 0.9rem;
}

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

.features h2,
.how-it-works h2,
.cta-section h2,
.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
}

.steps {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.step {
    text-align: center;
    max-width: 280px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

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

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--bg-light);
}

.portfolio-header {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-app-icon {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.portfolio-app-info {
    flex: 1;
}

.portfolio-app-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.portfolio-app-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.store-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.store-badge {
    height: 45px;
    transition: transform 0.3s ease;
}

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

.portfolio-playstore {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.portfolio-playstore img {
    max-width: 100%;
    border-radius: 10px;
}

.playstore-mobile {
    display: none;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.portfolio-gallery img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.portfolio-gallery img:hover {
    transform: scale(1.03);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 169, 225, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 30px 0;
    text-align: center;
}

.footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

.cookie-content a {
    color: var(--primary-light);
}

.cookie-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.cookie-btn:hover {
    background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .topbar-container {
        justify-content: space-between;
    }

    .topbar-logo img {
        height: 70px;
    }

    .nav-left, .nav-right {
        display: none;
    }

    .mobile-demo-btn {
        display: block;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        flex-direction: column;
        min-height: auto;
        padding: 40px 20px 50px;
        text-align: center;
    }

    .hero-image {
        margin-top: 30px;
    }

    .phone-mockup {
        width: 280px;
        height: 570px;
        margin: 0 auto;
    }

    .hero-caption {
        margin: 40px auto 0;
        max-width: 90%;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .portfolio-header {
        flex-direction: column;
        text-align: center;
    }

    .store-badges {
        justify-content: center;
    }

    .portfolio-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .topbar {
        padding: 10px 0;
    }

    .topbar-container {
        padding: 0 15px;
    }

    .topbar-logo img {
        height: 45px;
    }

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

    .hero-content {
        padding: 40px 20px;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .features h2,
    .how-it-works h2,
    .cta-section h2,
    .contact h2 {
        font-size: 2rem;
    }

    .portfolio h2 {
        font-size: 1.6rem;
    }

    .portfolio-header {
        padding: 25px;
    }

    .portfolio-app-icon {
        width: 80px;
        height: 80px;
    }

    .portfolio-app-info h3 {
        font-size: 1.5rem;
    }

    .store-badge {
        height: 40px;
    }

    .portfolio-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .portfolio-playstore {
        padding: 10px;
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }

    .portfolio-playstore img {
        border-radius: 5px;
    }

    .playstore-desktop {
        display: none;
    }

    .playstore-mobile {
        display: block;
    }
}
