/* Base Styles */
:root {
    --primary: #12b08e;
    --primary-dark: #0d8a6f;
    --light-accent: #dbfdf9;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --bg-gray: #f8fafc;
    --border: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.text-teal {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

h1, h2, h3, h4 {
    color: var(--text-dark);
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--text-dark);
    color: var(--white);
}

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

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 4rem 0 2rem;
    background: radial-gradient(circle at 10% 20%, rgba(219, 253, 249, 0.4) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(18, 176, 142, 0.1) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

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

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

.eyebrow {
    display: block;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.play-store-btn img {
    height: 60px;
    border-radius: 8px;
    transition: transform 0.2s;
}
.play-store-btn:hover img {
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

/* Grids */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* What is PingDo */
.what-is-pingdo {
    padding: 5rem 0;
}

.feature-icon-box {
    text-align: center;
    padding: 1rem;
}

.icon-circle {
    width: 64px;
    height: 64px;
    background-color: var(--light-accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s;
}
.feature-icon-box:hover .icon-circle {
    transform: scale(1.1);
}

.feature-icon-box h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-icon-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Key Features */
.key-features {
    padding: 5rem 0;
    background-color: var(--bg-gray);
}

.key-features h2 {
    margin-bottom: 3rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(18, 176, 142, 0.15);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card ul {
    list-style: none;
}

.card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 4px var(--light-accent);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    transition: all 0.3s;
}
.step:hover .step-icon {
    border-color: var(--primary);
    color: var(--primary);
}

.step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0 1rem;
}

.step-connector {
    flex: 0.5;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border), var(--border) 6px, transparent 6px, transparent 12px);
    margin-top: 64px;
}

/* For Whom */
.for-whom {
    padding: 5rem 0;
    background-color: var(--white);
}

.audience-card {
    background: var(--light-accent);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.audience-card:hover {
    transform: translateY(-5px);
}

.audience-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.audience-card h3 {
    margin-bottom: 0.5rem;
}

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

/* CTA Section */
.cta-section {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 0;
    overflow: hidden;
    position: relative;
    margin-top: -1px;
}

.custom-shape-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.custom-shape-divider-top .shape-fill {
    fill: var(--white);
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding-top: 5rem;
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    bottom: -40px;
}

.cta-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.cta-content {
    flex: 1;
    padding: 4rem 0;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--bg-gray);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 1rem;
}

.footer-contact, .footer-email {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}
.contact-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-email a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .step-connector {
        display: none;
    }
    .cta-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }
    .cta-image {
        bottom: 0;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    h2 {
        font-size: 2rem;
    }
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
}
