/* PartnerBook Landing Pages - Static CSS */
/* No JavaScript required - Pure HTML/CSS */

:root {
    --primary-color: #1976d2;
    --secondary-color: #424242;
    --text-color: #333;
    --background: #fff;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --spacing: 16px;
}

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

body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
}

/* Header & Navigation */
header {
    background: var(--background);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: calc(var(--spacing) * 1.5);
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: var(--light-gray);
}

.cta-button {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 4px;
    font-weight: 500;
}

.cta-button:hover {
    background: #1565c0;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--spacing) * 3) var(--spacing);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: calc(var(--spacing) * 4) var(--spacing);
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: calc(var(--spacing) * 3);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing);
    font-weight: 300;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: calc(var(--spacing) * 2);
    opacity: 0.95;
}

.hero .cta-button {
    font-size: 1.1rem;
    padding: 14px 32px !important;
    display: inline-block;
    margin-top: var(--spacing);
}

/* Sections */
section {
    margin-bottom: calc(var(--spacing) * 4);
}

h1, h2, h3 {
    margin-bottom: var(--spacing);
    color: var(--secondary-color);
}

h1 { font-size: 2.5rem; font-weight: 300; }
h2 { font-size: 2rem; font-weight: 400; }
h3 { font-size: 1.5rem; font-weight: 500; }

p {
    margin-bottom: var(--spacing);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing) * 2);
    margin: calc(var(--spacing) * 2) 0;
}

.card {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: calc(var(--spacing) * 2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: var(--spacing);
}

/* Feature Icons */
.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing);
}

/* Lists */
ul, ol {
    margin-left: calc(var(--spacing) * 2);
    margin-bottom: var(--spacing);
}

li {
    margin-bottom: calc(var(--spacing) / 2);
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    font-weight: 500;
}

.button:hover {
    background: #1565c0;
}

.button-secondary {
    background: var(--secondary-color);
}

.button-secondary:hover {
    background: #303030;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--success-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    margin: calc(var(--spacing) * 2) 0;
}

.download-button:hover {
    background: #45a049;
}

/* Demo Steps */
.demo-step {
    margin-bottom: calc(var(--spacing) * 4);
    padding: calc(var(--spacing) * 2);
    background: var(--light-gray);
    border-radius: 8px;
}

.demo-step img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin: var(--spacing) 0;
}

/* Stats */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: calc(var(--spacing) * 2);
    margin: calc(var(--spacing) * 3) 0;
    padding: calc(var(--spacing) * 2);
    background: var(--light-gray);
    border-radius: 8px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: calc(var(--spacing) * 3) var(--spacing);
    margin-top: calc(var(--spacing) * 4);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing) * 2);
}

.footer-section h3 {
    color: white;
    margin-bottom: var(--spacing);
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: calc(var(--spacing) / 2);
}

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

.footer-bottom {
    text-align: center;
    margin-top: calc(var(--spacing) * 2);
    padding-top: calc(var(--spacing) * 2);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 8px;
}

.badge-success {
    background: var(--success-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    nav {
        flex-direction: column;
        gap: var(--spacing);
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

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

/* Print styles */
@media print {
    header, footer {
        display: none;
    }

    main {
        max-width: 100%;
    }

    .cta-button {
        display: none;
    }
}

/* Accessibility */
a:focus, button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* No JavaScript fallback notice (shown only if JS is enabled) */
.js-notice {
    display: none;
}

/* Hero Section with Parallax Background */
.hero-parallax {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(251.94deg, rgba(224, 64, 251, 0.38) 16.26%, rgba(224, 64, 251, 0) 64.92%),
                url('/img/home-page/bg_1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

.hero-parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-parallax .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: calc(var(--spacing) * 3);
    text-align: center;
}

.hero-parallax h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: var(--spacing);
    font-weight: 400;
    color: white;
}

.hero-parallax p {
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing) * 2);
    opacity: 0.95;
    color: white;
}

/* Section with alternating layout */
.section-alt {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: calc(var(--spacing) * 5) var(--spacing);
}

.section-alt:nth-child(even) {
    background: #f5f5f5;
}

.section-alt:nth-child(odd) {
    background: white;
}

.section-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing) * 4);
    align-items: center;
}

.section-content-wrapper.reverse {
    direction: rtl;
}

.section-content-wrapper.reverse > * {
    direction: ltr;
}

.section-text h2 {
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing) * 2);
    color: var(--secondary-color);
    font-weight: 400;
}

.section-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: var(--spacing);
}

.section-text ul {
    margin-left: calc(var(--spacing) * 2);
    margin-top: var(--spacing);
}

.section-text ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: calc(var(--spacing) / 2);
}

.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Four columns grid for features */
.four-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--spacing) * 2);
    margin: calc(var(--spacing) * 3) 0;
}

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

.feature-column img {
    max-width: 120px;
    height: auto;
    margin-bottom: var(--spacing);
}

.feature-column h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing);
    color: var(--secondary-color);
}

.feature-column p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-parallax h1 {
        font-size: 2.5rem;
    }

    .hero-parallax p {
        font-size: 1.2rem;
    }

    .section-content-wrapper {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing) * 2);
    }

    .section-content-wrapper.reverse {
        direction: ltr;
    }

    .section-text h2 {
        font-size: 2rem;
    }

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

