/* Global Styles */
:root {
    --primary-color: #4CAF50;
    --primary-dark: #45a049;
    --secondary-color: #2196F3;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --error-color: #f44336;
    --success-color: #4CAF50;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: var(--light-gray);
}

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

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-grow: 1;
    margin: 0 2rem;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #333;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.auth-buttons .btn {
    min-width: 120px;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-buttons .btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.auth-buttons .btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.auth-buttons .btn-primary {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.auth-buttons .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.5rem;
}

/* Add padding to main content to account for fixed header */
main {
    padding-top: 80px;
}

/* Form Styles */
.claim-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group small {
    display: block;
    color: #666;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* Social Media Inputs */
.social-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Site Cards */
.sites-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.site-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-card h3 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
}

.site-card h4 {
    margin: 1.5rem 0 0.5rem 0;
    color: var(--text-color);
}

/* Contact Info */
.contact-info p {
    margin: 0.5rem 0;
}

/* Social Profiles */
.social-profiles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-profiles li {
    margin: 0.5rem 0;
}

.social-profiles a {
    color: var(--secondary-color);
    text-decoration: none;
}

.social-profiles a:hover {
    text-decoration: underline;
}

/* Tracking Code */
.tracking-code {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.tracking-code pre {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 0.5rem 0;
}

.tracking-code code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert ul {
    margin: 0;
    padding-left: 1.5rem;
}

/* Verification Status */
.verification-status {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Auth Forms */
.auth-form {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.auth-form h1 {
    margin: 0 0 1.5rem 0;
    text-align: center;
    color: var(--text-color);
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

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

.auth-form .form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.5;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.auth-form button[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    margin-top: 1rem;
    font-size: 1rem;
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-links p {
    margin: 0.5rem 0;
}

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

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

/* Footer Styles */
.main-footer {
    background: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
}

.footer-section h4 {
    color: var(--text-color);
    margin: 0 0 1rem 0;
}

.footer-section p {
    color: #666;
    margin: 0;
}

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

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: #666;
    margin: 0;
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 1rem;
        margin: 0;
    }

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

    .auth-buttons {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 1rem;
    }

    .auth-buttons.active {
        display: flex;
        top: calc(100% + 200px); /* Position below nav-links */
    }

    .auth-buttons .btn {
        width: 100%;
        min-width: unset;
    }

    .container {
        margin: 1rem auto;
    }
    
    .claim-form {
        padding: 1rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-inputs {
        grid-template-columns: 1fr;
    }
    
    .sites-list {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section ul {
        display: inline-block;
        text-align: left;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: white;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.hero p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.hero input[type="text"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.hero .btn-primary {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

/* Top Sites Section */
.top-sites {
    padding: 2rem 0;
}

.top-sites h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero form {
        flex-direction: column;
    }

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

.info-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.info-box h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.benefits-list li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
}

.benefits-list li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-buttons .btn {
    margin-bottom: 1rem;
}

.cta-buttons p {
    margin: 0;
    color: #666;
}

.cta-buttons p a {
    color: var(--primary-color);
    text-decoration: none;
}

.cta-buttons p a:hover {
    text-decoration: underline;
}

.free-banner {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 4px;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.free-banner .highlight {
    font-weight: bold;
    font-size: 1.4rem;
}

.points-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0 2.5rem;
}

.points-feature {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.points-feature h3 {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.points-feature p {
    margin: 0;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .points-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Captcha Styles */
.captcha-container {
    margin: 15px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.captcha-box {
    position: relative;
    height: 45px;
    margin-bottom: 15px;
}

.captcha-box input {
    width: 100%;
    height: 100%;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 24px;
    font-family: 'Courier New', monospace;
    letter-spacing: 5px;
    text-align: center;
    color: #333;
    background: #fff;
    font-weight: bold;
}

.refresh-button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: #4CAF50;
    height: 35px;
    width: 35px;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-button i {
    font-size: 16px;
}

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

.refresh-button:active {
    transform: translateY(-50%) scale(0.98);
}

.captcha-input {
    margin-bottom: 15px;
}

.captcha-input input {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.captcha-message {
    font-size: 14px;
    margin: 10px 0;
    display: none;
    text-align: center;
}

.captcha-message.active {
    display: block;
}

.captcha-message.success {
    color: #4CAF50;
}

.captcha-message.error {
    color: #f44336;
}

/* Auth Forms */
.auth-form {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.auth-form .captcha-container {
    margin: 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
}

.auth-form .captcha-box {
    position: relative;
    height: 45px;
    margin-bottom: 15px;
    width: 100%;
}

.auth-form .captcha-box input {
    width: 100%;
    height: 100%;
    padding: 0 50px 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 24px;
    font-family: 'Courier New', monospace;
    letter-spacing: 5px;
    text-align: center;
    color: #333;
    background: #fff;
    font-weight: bold;
    box-sizing: border-box;
}

.auth-form .captcha-input {
    margin-bottom: 0;
    width: 100%;
}

.auth-form .captcha-input input {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; } 