/* ===== PayLoc Website Styles ===== */

/* Import Inter Font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* Variables */
:root {
    --primary: #2e9397;
    --primary-dark: #24777a;
    --primary-light: #4fa9ac;
    --text: #1F2937;
    --text-light: #6B7280;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --background: #F9FAFB;
    --white: #FFFFFF;
    --border: #E5E7EB;
    
    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    font-feature-settings: 'ss01', 'ss02', 'cv01', 'cv02';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 60px;
    height: 60px;
}

.brand-name {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 40px 0 40px 0;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/family-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 28px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(46, 147, 151, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.phone-mockup {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    margin: 0 auto;
}

.app-screenshot {
    border-radius: 16px;
    width: 120%;
    display: block;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text);
    letter-spacing: -0.015em;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 48px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Problem Section */
.problem-section {
    background: var(--background);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.problem-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.problem-icon {
    margin-bottom: 16px;
}

.problem-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
    stroke-width: 1.5;
}

.problem-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.01em;
}

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

/* Solution Section */
.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 48px;
}

.solution-text h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.015em;
}

.lead {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.solution-list {
    list-style: none;
}

.solution-list li {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text);
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.solution-list li svg {
    width: 20px;
    height: 20px;
    stroke: var(--success);
    stroke-width: 2;
    flex-shrink: 0;
}

.cycle-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
    background: var(--background);
    border-radius: 16px;
}

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

.cycle-number {
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 12px;
}

.cycle-arrow {
    font-size: 32px;
    color: var(--primary);
}

/* How It Works */
.how-it-works-section {
    background: var(--background);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.step-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-number {
    position: absolute;
    top: -16px;
    right: 24px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
}

.step-icon {
    margin-bottom: 16px;
}

.step-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
    stroke-width: 1.5;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.01em;
}

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

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background: var(--background);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
}

.feature-icon {
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
    stroke-width: 1.5;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.feature-image {
    border-radius: 8px;
    margin-top: 16px;
    border: 2px solid var(--border);
}

/* Pricing */
.pricing-section {
    background: var(--background);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.pricing-card {
    background: white;
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.price-label {
    color: var(--text-light);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-top: 24px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
    stroke-width: 2;
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-top: 32px;
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 48px;
}

.about-text h3 {
    font-size: 28px;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--primary);
}

.about-text h3:first-of-type {
    margin-top: 0;
}

.about-text p {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.8;
}

.values-list {
    list-style: none;
}

.values-list li {
    font-size: 16px;
    padding: 12px 0;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.values-list li svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-stats {
    display: grid;
    gap: 24px;
}

.stat-box {
    background: var(--background);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
}

.stat-box h4 {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.big-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

/* FAQ */
.faq-section {
    background: var(--background);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.faq-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Download */
.download-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.download-section .section-title,
.download-section .section-subtitle {
    color: white;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.download-btn img {
    height: 60px;
}

.download-note {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.8);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.contact-card {
    background: var(--background);
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
}

.contact-icon {
    margin-bottom: 16px;
}

.contact-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary);
    stroke-width: 1.5;
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text);
}

.contact-card a {
    color: var(--primary);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container,
    .solution-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 36px;
    }

    .steps-grid,
    .features-grid,
    .pricing-grid,
    .problem-grid,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none; /* Mobile menu would need JS */
    }

    .footer-content,
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
