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

:root {
    --primary-color: #0066cc;
    --secondary-color: #00a8e8;
    --accent-color: #ff6b35;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333;
    --border-color: #ddd;
    --success-color: #28a745;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo a {
    display: flex;
    align-items: center;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

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

.auth-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.btn-login,
.btn-register {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

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

.btn-login:hover,
.btn-login.active {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-register {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-register:hover,
.btn-register.active {
    background-color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #0088b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,168,232,0.3);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-secondary {
    padding: 60px 20px;
}

.hero-secondary h1 {
    font-size: 36px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Value Proposition */
.value-prop {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.value-prop h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

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

.value-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.value-card ul {
    list-style: none;
}

.value-card li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.value-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Trust Section */
.trust-section {
    padding: 80px 20px;
    background-color: #fff;
}

.trust-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat p {
    color: #666;
    font-size: 16px;
}

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

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Publisher Benefits */
.publisher-benefits {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.publisher-benefits h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

/* Niches */
.niches {
    padding: 80px 20px;
    background-color: #fff;
}

.niches h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.niches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.niche-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.niche-card:hover {
    transform: scale(1.05);
}

.niche-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* How It Works */
.how-it-works {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.how-it-works h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

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

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.work-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

/* Pro Tips */
.pro-tips {
    padding: 80px 20px;
    background-color: #fff;
}

.pro-tips h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.tips-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tip {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.tip h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Pro Tip Box */
.pro-tip-section {
    padding: 40px 20px;
    background-color: #fff3cd;
}

.pro-tip-box {
    background-color: #fff;
    border-left: 4px solid var(--accent-color);
    padding: 25px;
    border-radius: 4px;
}

.pro-tip-box h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.pro-tip-box a {
    color: var(--primary-color);
    text-decoration: none;
}

.pro-tip-box a:hover {
    text-decoration: underline;
}

/* Offers Section */
.offers-section {
    padding: 80px 20px;
    background-color: var(--light-color);
}

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

.offer-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.offer-card:hover {
    transform: translateY(-5px);
}

.offer-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.offer-header h3 {
    flex: 1;
    font-size: 18px;
}

.commission {
    background-color: rgba(255,255,255,0.2);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    white-space: nowrap;
    margin-left: 10px;
}

.offer-body {
    padding: 20px;
}

.offer-body p {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.offer-footer {
    padding: 0 20px 20px;
}

/* FAQ */
.faq {
    padding: 80px 20px;
    background-color: #fff;
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.faq-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.faq-item {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

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

/* Solutions */
.solutions {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.solutions h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.solution-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.solution-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

/* Advantages */
.advantages {
    padding: 80px 20px;
    background-color: #fff;
}

.advantages h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-item {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
}

.advantage-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Onboarding */
.onboarding {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.onboarding h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Blog */
.blog-section {
    padding: 80px 20px;
    background-color: var(--light-color);
}

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

.blog-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-header h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.blog-date {
    color: #999;
    font-size: 14px;
}

.blog-excerpt {
    margin: 15px 0;
    color: #666;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Resources */
.resources-section {
    padding: 80px 20px;
    background-color: #fff;
}

.resources-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.resource-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* About */
.about-content {
    padding: 80px 20px;
}

.about-section {
    margin-bottom: 60px;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
}

.about-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.why-card {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.why-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-item {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 8px;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Auth Section */
.auth-section {
    padding: 60px 20px;
    background-color: var(--light-color);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 900px;
}

.auth-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.auth-form h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
}

.form-group.checkbox label {
    margin: 0;
}

.form-group.checkbox a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-group.checkbox a:hover {
    text-decoration: underline;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links span {
    margin: 0 8px;
}

/* Account Type Selector */
.account-type-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.type-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.type-option input {
    cursor: pointer;
}

/* Register Form Styles */
.form-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    text-align: center;
}

.form-section {
    border: none;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section legend {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding: 0;
}

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

.form-group small {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 5px;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    min-height: 16px;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background-color: #ff4444;
    border-radius: 2px;
    width: 0%;
    transition: all 0.3s;
    margin-bottom: 5px;
}

#strengthText {
    display: block;
    color: #666;
    font-size: 12px;
}

.type-label {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.type-label small {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

.success-box {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    color: #155724;
}

.success-box h2 {
    color: #155724;
    margin-bottom: 15px;
}

.success-box p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.success-box a {
    color: #155724;
    text-decoration: underline;
}

.small-text {
    font-size: 12px;
    color: #666;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background-color: var(--light-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-info h2 {
    color: var(--dark-color);
    font-size: 28px;
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item h3 {
    color: var(--dark-color);
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #e3f2fd;
    color: #000;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
    border: 1px solid #bbdefb;
}

.social-link:hover {
    background-color: #bbdefb;
}

/* Contact FAQ */
.contact-faq {
    padding: 80px 20px;
    background-color: #fff;
}

.contact-faq h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.contact-faq .faq-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-faq .faq-item {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.contact-faq .faq-item h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.contact-faq .faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 50px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .nav-menu {
        gap: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .value-grid,
    .benefits-grid,
    .niches-grid,
    .solutions-grid,
    .advantages-grid,
    .process-steps,
    .tips-content,
    .offers-grid,
    .blog-grid,
    .resources-grid,
    .why-choose-grid,
    .values-list {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .auth-form {
        padding: 25px;
    }

    .account-type-selector {
        flex-direction: column;
    }

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

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .auth-buttons {
        width: 100%;
        flex-direction: column;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    h2 {
        font-size: 24px !important;
    }

    .offer-header {
        flex-direction: column;
    }

    .commission {
        margin-left: 0;
        margin-top: 10px;
    }
}
