/* Common CSS classes for logo and layout - shared across all pages */

/* CSS Variables */
:root {
    --primary-color: #D4C3A3;
    --secondary-color: #B8860B;
    --accent-color: #FFFFFF;
    --text-color: #362419;
}

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

body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    background-image: radial-gradient(var(--secondary-color) 1px, transparent 1px),
    radial-gradient(var(--secondary-color) 1px, var(--primary-color) 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    animation: move-pattern 20s linear infinite;
    min-height: 100vh;
}

body::after {
    content: '';
    position: fixed;
    bottom: 0;
    right: 0;
    width: 40%;
    height: 40%;
    background-image: url('../img/odward-stilizzato.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    pointer-events: none;
    z-index: 1;
}

/* Background animation */
@keyframes move-pattern {
    0% {
        background-position: 0 0, 20px 20px;
    }
    100% {
        background-position: 40px 40px, 60px 60px;
    }
}

/* Container styles */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Logo SVG styles */
.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.gap-3 {
    gap: 0.75rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.size-16 {
    width: 4rem;
    height: 4rem;
}

.text-3xl {
    font-size: 2.5rem;
}

.font-bold {
    font-weight: 700;
}

.leading-tight {
    line-height: 1.25;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

/* Logo text color */
.logo-text {
    color: var(--secondary-color);
}

/* Button styles */
.secondary-button {
    background: transparent;
    color: var(--text-color);
    padding: 12px 24px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.secondary-button:hover {
    border-color: var(--text-color);
    color: var(--text-color);
    background: rgba(54, 36, 25, 0.05);
}

.back-button {
    display: inline-block;
    background: transparent;
    color: var(--text-color);
    padding: 12px 24px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 3rem;
}

.back-button:hover {
    border-color: var(--text-color);
    color: var(--text-color);
    background: rgba(54, 36, 25, 0.05);
}

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

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px 10px;
    }
}


/* START: Pre-Registration Page Specific Styles */
body {
    font-family: "Work Sans", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.layout-content-container {
    display: flex;
    flex-direction: column;
    max-width: 960px;
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

main {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 0;
}

.form-input {
    background-color: var(--accent-color);
    border: 2px solid var(--secondary-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--text-color);
    box-shadow: 0 0 0 3px rgba(54, 36, 25, 0.1);
}

/* END: Pre-Registration Page Specific Styles */

/* START: Thank You Page Specific Styles */

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-card {
    text-align: center;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--accent-color);
    font-size: 2rem;
    animation: checkmark 0.8s ease-out 0.3s both;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-card h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.thank-you-card .subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0.8;
}

.confirmation-box {
    background: var(--accent-color);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.confirmation-box h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.confirmation-box p {
    color: var(--text-color);
    font-size: 0.95rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.primary-button {
    background: var(--secondary-color);
    color: var(--accent-color);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.primary-button:hover {
    background: #a67a00;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.4);
}

.secondary-button {
    background: transparent;
    color: var(--text-color);
    padding: 12px 24px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.secondary-button:hover {
    border-color: var(--text-color);
    color: var(--text-color);
    background: rgba(54, 36, 25, 0.05);
}

.social-share {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(184, 134, 11, 0.3);
}

.social-share h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-linkedin {
    background: #0077b5;
    color: white;
}

.share-linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
}

.share-twitter {
    background: #1da1f2;
    color: white;
}

.share-twitter:hover {
    background: #0d8bd9;
    transform: translateY(-2px);
}

.next-steps {
    background: var(--accent-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.next-steps h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.next-steps li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.footer-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(184, 134, 11, 0.3);
    color: var(--text-color);
    font-size: 0.9rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Stili per la sezione double opt-in */

/* Stili per la sezione double opt-in */
.double-optin {
    background: rgba(184, 134, 11, 0.1) !important;
    border: 2px solid var(--secondary-color) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .thank-you-card {
        padding: 2rem 1.5rem;
        margin: 20px;
    }

    .thank-you-card h1 {
        font-size: 2rem;
    }

    .action-buttons {
        gap: 0.75rem;
    }

    .share-buttons {
        flex-direction: column;
        align-items: center;
    }

    .share-button {
        width: 100%;
        justify-content: center;
        max-width: 200px;
    }
}

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

/* END: Thank You Page Specific Styles */

/* START: Privacy Policy Page Specific Styles */
body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-card {
    text-align: center;
    padding-top: 2rem;
}

.privacy-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    background: var(--accent-color);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-info {
    background: var(--accent-color);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2.5rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-card h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.privacy-card h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem 0;
    color: var(--secondary-color);
    font-weight: 700;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.privacy-card h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
    color: var(--text-color);
    font-weight: 700;
}

.privacy-card p {
    margin-bottom: 1.2rem;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
}

.privacy-card ul {
    margin: 1.2rem 0 1.2rem 2rem;
    color: var(--text-color);
}

.privacy-card li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.privacy-card strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.back-button {
    display: inline-block;
    background: transparent;
    color: var(--text-color);
    padding: 12px 24px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 3rem;
}

.back-button:hover {
    border-color: var(--text-color);
    color: var(--text-color);
    background: rgba(54, 36, 25, 0.05);
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-info p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-card {
        padding: 2rem 1.5rem;
        margin: 20px;
    }

    .privacy-card h1 {
        font-size: 2rem;
    }

    .container {
        padding: 20px 10px;
    }
}

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

/* End of Privacy Policy Page Specific Styles */

/* START: Double-Optin Styles */
body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-card {
    text-align: center;
    animation: slideUp 0.6s ease-out;
    padding-top: 3rem;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--accent-color);
    font-size: 2rem;
    animation: checkmark 0.8s ease-out 0.3s both;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-card h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.thank-you-card .subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0.8;
}

.confirmation-box {
    background: var(--accent-color);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.confirmation-box h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.confirmation-box p {
    color: var(--text-color);
    font-size: 0.95rem;
}

.next-steps {
    background: var(--accent-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.next-steps h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.next-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.marketing-section {
    background: var(--accent-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.marketing-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
}

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

.marketing-card {
    background: var(--accent-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--secondary-color);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.marketing-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.marketing-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.secondary-button {
    background: transparent;
    color: var(--text-color);
    padding: 12px 24px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.secondary-button:hover {
    border-color: var(--text-color);
    color: var(--text-color);
    background: rgba(54, 36, 25, 0.05);
}

.social-share {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(184, 134, 11, 0.3);
}

.social-share h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-linkedin {
    background: #0077b5;
    color: white;
}

.share-linkedin:hover {
    background: #005885;
    transform: translateY(-2px);
}

.share-twitter {
    background: #1da1f2;
    color: white;
}

.share-twitter:hover {
    background: #0d8bd9;
    transform: translateY(-2px);
}

.footer-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(184, 134, 11, 0.3);
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Responsive */

/* Responsive */
@media (max-width: 768px) {
    .thank-you-card {
        padding: 2rem 1.5rem;
        margin: 20px;
    }

    .thank-you-card h1 {
        font-size: 2rem;
    }

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

    .share-buttons {
        flex-direction: column;
        align-items: center;
    }

    .share-button {
        width: 100%;
        justify-content: center;
        max-width: 200px;
    }
}

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

/* END: Double-Optin Styles */