/* HostRenew Landing Page Styles */
/* Clean, minimal, lots of white space */

:root {
    --primary-red: #FF3B4E;
    --primary-blue: #3568DD;
    --dark-blue: #2551b8;
    --border-color: #d1d5db;
    --text-primary: #14171a;
    --text-secondary: #6b7280;
    --error-color: #e0245e;
    --success-color: #17bf63;
}

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #ffffff;
}

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

/* Header */
.header {
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.logo-image {
    height: 50px;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    padding-bottom: 4px;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.logo {
    font-size: 32px;
    font-weight: 700;
}

.logo-host {
    color: var(--primary-blue);
}

.logo-renew {
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3568DD 0%, #2551b8 100%);
    padding: 80px 0;
    color: white;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-image {
    width: 420px;
    height: auto;
    margin: 0 auto 30px;
    display: block;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    object-fit: cover;
    object-position: left top;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

/* Form Styles */
.hero-form {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.hostrenew-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.input-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-blue);
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #ffffff;
    color: var(--text-primary);
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(53, 104, 221, 0.1);
}

.form-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
    cursor: pointer;
}

.form-input.error {
    border-color: var(--error-color);
}

.error-message {
    font-size: 12px;
    color: var(--error-color);
    display: none;
}

.error-message.show {
    display: block;
}

.reminder-info {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: #eff6ff;
    border-left: 3px solid var(--primary-blue);
    border-radius: 6px;
    font-size: 13px;
    color: var(--dark-blue);
    margin-top: 4px;
}

.info-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.submit-button {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--primary-red);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.submit-button:hover:not(:disabled) {
    background-color: #e6344a;
    transform: translateY(-1px);
}

.submit-button:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.button-loader {
    display: inline-block;
}

.spinner {
    animation: rotate 1s linear infinite;
    width: 18px;
    height: 18px;
}

.spinner-path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

.form-feedback {
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
}

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

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

/* Feature Sections */
.no-spam,
.best-in-class,
.how-it-works {
    padding: 100px 0;
}

.no-spam {
    background-color: #f9fafb;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

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

.feature-image {
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

.column-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.column-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.cta-button {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--primary-red);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #e6344a;
    transform: translateY(-1px);
}

/* Steps */
.steps {
    margin-top: 30px;
}

.step {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-number {
    color: var(--primary-blue);
    margin-right: 8px;
}

/* Footer */
.footer {
    background-color: #1a1a2e;
    color: #ffffff;
    padding: 60px 0 30px;
}

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

.footer-logo-image {
    height: 45px;
    width: auto;
    margin-bottom: 15px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 24px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        align-items: flex-start;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 18px;
    }

    .hero-grid,
    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding: 40px 0;
    }

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

    .hero-description {
        font-size: 20px;
        color: rgba(255, 255, 255, 0.95);
    }

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

    .hero-image {
        width: 420px;
        max-width: 90%;
        display: block;
        margin: 0 auto 30px;
    }

    .column-content h2 {
        font-size: 32px;
    }

    .column-content p {
        font-size: 20px;
        color: #374151; /* Darker gray for better contrast */
    }

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

    .step {
        font-size: 23px;
    }

    .steps {
        text-align: center;
    }

    .no-spam,
    .best-in-class,
    .how-it-works {
        padding: 60px 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
