:root {
    --primary: #00a4ef;
    --dark: #1f1f1f;
    --grey: #5f6368;
    --light: #ffffff;
    --accent: #f0f7ff;
}
body { font-family: 'Roboto', 'Segoe UI', sans-serif; margin: 0; background: var(--light); color: var(--dark); line-height: 1.6; }

/* Navigation */
header { background: var(--light); padding: 20px 8%; display: flex; align-items: center; border-bottom: 1px solid #eee; }
.logo-img { height: 50px; margin-right: 15px; border-radius: 12px; }
.brand-name { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.5px; }
nav { margin-left: auto; }
nav a { margin-left: 15px; text-decoration: none; color: var(--dark); font-weight: 500; transition: color 0.3s; }
nav a:hover { color: var(--primary); }

/* Hero Section */
.main-content { max-width: 1200px; margin: 60px auto; padding: 0 20px; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 15px; }
.hero p { font-size: 1.25rem; color: var(--grey); margin-bottom: 40px; }

/* App Cards Grid */
.app-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; text-align: left; margin-top: 40px; }
.card { background: var(--accent); padding: 30px; border-radius: 20px; border: 1px solid #e9ecef; box-shadow: 0 6px 18px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.card h3 { color: var(--primary); margin-top: 0; font-size: 1.5rem; }
.card p { color: var(--grey); margin-bottom: 20px; }
.cta-btn { display: inline-block; background: var(--primary); color: white; font-weight: 600; padding: 12px 24px; border-radius: 50px; text-decoration: none; transition: background 0.3s, transform 0.2s; }
.cta-btn:hover { background: #0086cc; transform: translateY(-2px); }

/* Contact / Footer */
.contact-box {
    margin-top: 60px; 
    padding: 40px; 
    border-radius: 24px; 
    background: linear-gradient(145deg, #ffffff, #f0f4f8); 
    border: 1px solid #d1d9e6; 
    text-align: center; /* Important: center content */
    width: 100%;
    box-sizing: border-box;
}

.contact-box h2 { margin-top: 0; font-size: 2rem; }
.contact-email { 
    display: inline-flex;
    align-items: center; 
    justify-content: center; /* Center horizontally */
    background: white; 
    padding: 12px 28px; 
    border-radius: 50px; 
    text-decoration: none; 
    color: var(--primary); 
    font-weight: 600; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    margin: 20px auto 0 auto; /* Center and add top spacing */
    border: 1px solid #eee;
    transition: background 0.3s; 
}

.contact-email:hover { background: #e6f2ff; }

footer { margin-top: 80px; padding: 40px; font-size: 0.85rem; color: #999; border-top: 1px solid #eee; text-align: center; }
footer a { color: #999; text-decoration: none; margin: 0 10px; }

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    padding: 15px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    transition: transform 0.2s, background 0.3s;
    z-index: 9999;
}
.floating-contact:hover {
    background: #007ac1; /* Darker blue on hover */
    transform: scale(1.05);
}

/* Desktop menu */
.nav-desktop { display: flex; }
.nav-desktop a { margin-left: 15px; text-decoration:none; color:var(--dark); font-weight:500; }
.nav-desktop a:hover { color: var(--primary); }

/* Mobile menu */
.nav-mobile { display: none; position: relative; }
.hamburger { font-size: 1.8rem; cursor: pointer; user-select: none; }
.mobile-links { display: none; flex-direction: column; background: var(--light); position: absolute; top: 35px; right: 0; width: 200px; border: 1px solid #eee; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,0.1); }
.mobile-links a { padding: 10px 15px; border-bottom: 1px solid #eee; text-decoration:none; color:var(--dark); font-weight:500; }
.mobile-links a:hover { background: var(--accent); color: var(--primary); }

/* Last item no border */
.mobile-links a:last-child { border-bottom: none; }

/* Responsive breakpoints */
@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .nav-mobile { display: block; }
}

@media (max-width: 480px) {
    .contact-box { padding: 30px 15px; }
    .contact-email { padding: 10px 20px; font-size: 0.95rem; }
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-tagline {
    font-size: 0.85rem;
    color: #5f6368;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

.site-header {
    background: #ffffff;
    padding: 16px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

/* Left side (logo + brand) */
.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 52px;
    border-radius: 12px;
}

/* Brand text stacked */
.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.85rem;
    color: #5f6368;
    margin-top: 2px;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

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

/* Mobile responsive */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
}

.menu-toggle {
    display: none;
    font-size: 1.6rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile layout */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #ffffff;
        padding: 10px 0;
        border-top: 1px solid #eee;
    }

    .main-nav a {
        padding: 12px 0;
        border-bottom: 1px solid #f1f1f1;
    }

    .main-nav.active {
        display: flex;
    }
}

.main-nav a.active {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    padding: 16px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Brand */
.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 52px;
    border-radius: 12px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.85rem;
    color: #5f6368;
    margin-top: 2px;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 22px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.2s;
}

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

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animate icon */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #ffffff;
        padding: 10px 0;
        border-top: 1px solid #eee;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 12px 0;
        border-bottom: 1px solid #f1f1f1;
    }
}


.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 60px; text-align: left; }
.card { background: #f8f9fa; padding: 30px; border-radius: 20px; border: 1px solid #e9ecef; }
.card h3 { color: var(--primary); margin-top: 0; font-size: 1.3rem; }
.card p { color: var(--grey); margin-bottom: 0; }

.section { background: var(--accent); padding:40px 30px; border-radius:20px; margin-bottom:40px; box-shadow:0 6px 18px rgba(0,0,0,0.05); text-align: left; }
.section h2 { color:var(--primary); margin-top:0; font-size:2rem; }
.section p { color:var(--dark); font-size:1.1rem; line-height:1.8; }


.contact-box {
    margin-top: 60px; 
    padding: 40px; 
    border-radius: 24px; 
    background: linear-gradient(145deg, #ffffff, #f0f4f8); 
    border: 1px solid #d1d9e6; 
    text-align: center; /* Important: center content */
    width: 100%;
    box-sizing: border-box;
}

.contact-box h2 { color:var(--primary); font-size:2rem; margin-top:0; margin-bottom:20px; }
.contact-box a { display:inline-flex; align-items:center; justify-content:center; background:white; padding:12px 28px; border-radius:50px; text-decoration:none; color:var(--primary); font-weight:600; box-shadow:0 4px 15px rgba(0,0,0,0.05); border:1px solid #eee; transition:background 0.3s; }
.contact-box a:hover { background:#e6f2ff; }